commit | 151a0eb6c8e4398f76453c791d8fd8f8167a7517 | [log] [tgz] |
---|---|---|
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | Wed Jan 30 17:51:56 2013 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Feb 14 15:55:15 2013 +0100 |
tree | ffa9855aaab15c18a8f3e606b817c0341ed35283 | |
parent | bddb7ae217cea0ef722468fce823f9e19a69c561 [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 <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>