summaryrefslogtreecommitdiffstats
path: root/kernel/slow-work.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-05-20 20:54:31 +0200
committerIngo Molnar <mingo@elte.hu>2010-05-21 11:38:00 +0200
commit580d607cd666dfabfc1c7b0fb08c8ac690c7c87f (patch)
tree6d7c87d60b12adbacd4dbcb8c784975bc1203228 /kernel/slow-work.c
parenta94ffaaf55552769af328eaca9260fe6291c66c7 (diff)
downloadop-kernel-dev-580d607cd666dfabfc1c7b0fb08c8ac690c7c87f.zip
op-kernel-dev-580d607cd666dfabfc1c7b0fb08c8ac690c7c87f.tar.gz
perf: Optimize perf_tp_event_match()
Since we know tracepoints come from kernel context, avoid conditionals that try and establish that very fact. 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.904944001@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/slow-work.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud