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:
parent
3f64b9fb1c
commit
039e0a6efa
@ -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 )
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user