tracing/sysprof: add missing tracing_{start,stop}_record_cmdline()
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 10 Feb 2009 14:49:11 +0000 (15:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 11:55:19 +0000 (12:55 +0100)
commitb22f4858126a6aa852ad745b94f6b25dbdea708e
tree6dc35af9c91144e45938a1fb6c0f28bcd685d50d
parentd524e03207591a6de7e6b5069aabc778e3f0f5f8
tracing/sysprof: add missing tracing_{start,stop}_record_cmdline()

Add the missing pair tracing_{start,stop}_record_cmdline() to record well
the cmdline associated with pid.

Changes in v2:

- fix a build error, the sched_switch tracer is needed to record the
  cmdline.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/Kconfig
kernel/trace/trace_sysprof.c