perf/ftrace: Optimize perf/tracepoint interaction for single events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 18 May 2010 16:08:32 +0000 (18:08 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 May 2010 16:35:46 +0000 (18:35 +0200)
commit4f41c013f553957765902fb01475972f0af3e8e7
treeddaa54947cc990094a4b270f2f8b3d6da195044f
parentef4f30f54e265c2f6f9ac9eda4db158a4e16050b
perf/ftrace: Optimize perf/tracepoint interaction for single events

When we've got but a single event per tracepoint
there is no reason to try and multiplex it so don't.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace_event.h
include/linux/perf_event.h
include/trace/ftrace.h
kernel/perf_event.c
kernel/trace/trace_event_perf.c
kernel/trace/trace_kprobe.c
kernel/trace/trace_syscalls.c