diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2018-10-29 09:11:33 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-11-08 07:58:16 +0100 |
commit | 0bb2ae1b26e1fb7543ec7474cdd374ac4b88c4da (patch) | |
tree | f855d6a8d8d347a2337a718f837638810b5bbca1 /arch/microblaze | |
parent | s390: update defconfigs (diff) | |
download | linux-0bb2ae1b26e1fb7543ec7474cdd374ac4b88c4da.tar.xz linux-0bb2ae1b26e1fb7543ec7474cdd374ac4b88c4da.zip |
s390/perf: Change CPUM_CF return code in event init function
The function perf_init_event() creates a new event and
assignes it to a PMU. This a done in a loop over all existing
PMUs. For each listed PMU the event init function is called
and if this function does return any other error than -ENOENT,
the loop is terminated the creation of the event fails.
If the event is invalid, return -ENOENT to try other PMUs.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions