Messages in this thread | | | Date | Thu, 21 Nov 2013 08:18:59 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH 09/22] tools lib traceevent: Add sched_switch plugin |
| |
On Thu, 21 Nov 2013 12:01:07 +0100 Jiri Olsa <jolsa@redhat.com> wrote:
> Backporting sched_switch plugin. > > Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git > > This plugin adds fields resolving for > sched:sched_switch tracepoint event. > > The diff of 'perf script' output generated by old and new code: > (data was generated by 'perf record -e sched:sched_switch -a') > > --- script.sched_switch.old > +++ script.sched_switch.new > - perf 577 [002] 30965.311852: sched:sched_switch: prev_comm=perf prev_pid=577 prev_prio=120 prev_state=S ==> next_comm=swapper/2 next_pid=0 next_prio=120 > + perf 577 [002] 30965.311852: sched:sched_switch: perf:577 [120] S ==> swapper/2:0 [120] > > Signed-off-by: Jiri Olsa <jolsa@redhat.com> > Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> > Cc: Frederic Weisbecker <fweisbec@gmail.com> > Cc: Ingo Molnar <mingo@elte.hu> > Cc: Namhyung Kim <namhyung@kernel.org> > Cc: Paul Mackerras <paulus@samba.org> > Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> > Cc: Arnaldo Carvalho de Melo <acme@redhat.com> > Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-- Steve
> Cc: David Ahern <dsahern@gmail.com> > --- > tools/lib/traceevent/Makefile | 1 + > tools/lib/traceevent/plugin_sched_switch.c | 148 +++++++++++++++++++++++++++++ > 2 files changed, 149 insertions(+) > create mode 100644 tools/lib/traceevent/plugin_sched_switch.c >
| |