From 039e0a6efaff47bc71cdb9d8a556a4eac607eba7 Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Mon, 12 Dec 2016 22:01:33 +0300 Subject: [PATCH] Add next pid to context switch file --- scripts/context_switch_logger.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/context_switch_logger.stp b/scripts/context_switch_logger.stp index 1ced532..fd10537 100644 --- a/scripts/context_switch_logger.stp +++ b/scripts/context_switch_logger.stp @@ -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 ) }