summaryrefslogtreecommitdiff
path: root/arch/s390/pci/pci_clp.c
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2013-01-30 16:51:56 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-02-14 14:55:15 (GMT)
commit151a0eb6c8e4398f76453c791d8fd8f8167a7517 (patch)
treeffa9855aaab15c18a8f3e606b817c0341ed35283 /arch/s390/pci/pci_clp.c
parentbddb7ae217cea0ef722468fce823f9e19a69c561 (diff)
downloadlinux-fsl-qoriq-151a0eb6c8e4398f76453c791d8fd8f8167a7517.tar.xz
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>
Diffstat (limited to 'arch/s390/pci/pci_clp.c')
0 files changed, 0 insertions, 0 deletions