sched instrumentation: rename "pid" fields in sched_process_exec
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Sun, 25 Nov 2012 21:12:18 +0000 (16:12 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Nov 2012 21:12:18 +0000 (16:12 -0500)
Rename "pid" to "tid" fields in new code, similarly to what was
done earlier for all sched tracepoints.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/sched.h

index ca46ed05cf7e4d4a52bff67b50fb1156e3e591f4..005f3d141e1f7bca6d6ccfe83dd29d94986c6057 100644 (file)
@@ -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
 
This page took 0.026208 seconds and 4 git commands to generate.