From: Andrew Gabbasov Date: Sun, 25 Nov 2012 21:12:18 +0000 (-0500) Subject: sched instrumentation: rename "pid" fields in sched_process_exec X-Git-Tag: v2.2.0-rc1~33 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e7b0901e522e1f5654dad4a775e2bb233b15b420;p=lttng-modules.git 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 --- 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