aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-09-10 17:38:06 +0200
committerIngo Molnar <mingo@elte.hu>2010-09-10 17:41:55 +0200
commite5f4d3394a52ac351f1a479fe136d92fa5228eff (patch)
tree57adeb66c5e98bf86613c15295e07cbb07952be3 /kernel/trace/trace_functions_graph.c
parentperf: Ensure we call add_event_to_ctx() with the right locks held (diff)
downloadlinux-dev-e5f4d3394a52ac351f1a479fe136d92fa5228eff.tar.xz
linux-dev-e5f4d3394a52ac351f1a479fe136d92fa5228eff.zip
perf: Fix perf_init_event()
We ought to return -ENOENT when non of the registered PMUs recognise the requested event. This fixes a boot crash that occurs if no PMU is available but the NMI watchdog tries to register an event. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions