]> bbs.cooldavid.org Git - net-next-2.6.git/commit
perf, trace: Optimize tracepoints by using per-tracepoint-per-cpu hlist to track...
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 19 May 2010 12:02:22 +0000 (14:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 May 2010 09:37:56 +0000 (11:37 +0200)
commit1c024eca51fdc965290acf342ae16a476c2189d0
tree28dc160cc70a20eeb8b8825d6d52ea88a6188413
parentb7e2ecef92d2e7785e6d76b41e5ba8bcbc45259d
perf, trace: Optimize tracepoints by using per-tracepoint-per-cpu hlist to track events

Avoid the swevent hash-table by using per-tracepoint
hlists.

Also, avoid conditionals on the fast path by ordering
with probe unregister so that we should never get on
the callback path without the data being there.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20100521090710.473188012@chello.nl>
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