diff options
| author | Peter Zijlstra <[email protected]> | 2010-09-10 17:38:06 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-09-10 17:41:55 +0200 |
| commit | e5f4d3394a52ac351f1a479fe136d92fa5228eff (patch) | |
| tree | 57adeb66c5e98bf86613c15295e07cbb07952be3 /tools/perf/scripts/python | |
| parent | cee010ec5211b96f33c5c2208f5c14ebb04b634a (diff) | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions