From e7b0901e522e1f5654dad4a775e2bb233b15b420 Mon Sep 17 00:00:00 2001 From: Andrew Gabbasov Date: Sun, 25 Nov 2012 16:12:18 -0500 Subject: [PATCH] sched instrumentation: rename "pid" fields in sched_process_exec Rename "pid" to "tid" fields in new code, similarly to what was done earlier for all sched tracepoints. Signed-off-by: Andrew Gabbasov Signed-off-by: Mathieu Desnoyers --- instrumentation/events/lttng-module/sched.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index ca46ed05..005f3d14 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -326,18 +326,18 @@ TRACE_EVENT(sched_process_exec, TP_STRUCT__entry( __string( filename, bprm->filename ) - __field( pid_t, pid ) - __field( pid_t, old_pid ) + __field( pid_t, tid ) + __field( pid_t, old_tid ) ), TP_fast_assign( tp_strcpy(filename, bprm->filename) - tp_assign(pid, p->pid) - tp_assign(old_pid, old_pid) + tp_assign(tid, p->pid) + tp_assign(old_tid, old_pid) ), - TP_printk("filename=%s pid=%d old_pid=%d", __get_str(filename), - __entry->pid, __entry->old_pid) + TP_printk("filename=%s tid=%d old_tid=%d", __get_str(filename), + __entry->tid, __entry->old_tid) ) #endif -- 2.34.1