0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00

Add next pid to context switch file

This commit is contained in:
Sergey Yagovtsev 2016-12-12 22:01:33 +03:00
parent 3f64b9fb1c
commit 039e0a6efa

View File

@ -14,7 +14,7 @@ probe scheduler.ctxswitch {
next
//printf("Switch from %d(%s) to %d(%s) at %d\n",prev_tid, prev_task_name,next_tid,next_task_name, gettimeofday_ns())
printf("%d %d %d %s\n",gettimeofday_ns(),prev_tid, next_tid, next_task_name )
printf("%d %d %d %s %d\n",gettimeofday_ns(),prev_tid, next_tid, next_task_name,next_pid )
//printf("%d %d %d\n",gettimeofday_ns(),prev_tid, next_tid )
}