aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorHendrik Brueckner <[email protected]>2013-01-30 17:51:56 +0100
committerMartin Schwidefsky <[email protected]>2013-02-14 15:55:15 +0100
commit151a0eb6c8e4398f76453c791d8fd8f8167a7517 (patch)
treeffa9855aaab15c18a8f3e606b817c0341ed35283 /tools/perf/util/scripting-engines/trace-event-perl.c
parentbddb7ae217cea0ef722468fce823f9e19a69c561 (diff)
s390/perf: cpum_cf: fallback to software sampling events
The CPU-measurement counter facility does not support sampling events and returns -EINVAL in that case. This return code lets the perf tool fail. To fall back to software sampling events, return -ENOENT instead. Signed-off-by: Hendrik Brueckner <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions