diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2021-04-29 16:04:30 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-06-07 18:06:58 +0300 |
commit | 15e5b53ff4c92c8ea79094871f91d077bfc60526 (patch) | |
tree | 966859fdda5f78bd162a4b8e716975d7bc2bc3f6 /arch/s390/Kconfig | |
parent | d552a58d708020963f6973a8b3b690f19ac81c99 (diff) | |
download | linux-15e5b53ff4c92c8ea79094871f91d077bfc60526.tar.xz |
s390/cpumf: remove WARN_ON_ONCE in counter start handler
Remove some WARN_ON_ONCE() warnings when a counter is started. Each
counter is installed function calls
event_sched_in() --> cpumf_pmu_add(..., PERF_EF_START).
This is done after the event has been created using
perf_pmu_event_init() which verifies the counter is valid.
Member hwc->config must be valid at this point.
Function cpumf_pmu_start(..., PERF_EF_RELOAD) is called from
function cpumf_pmu_add() for counter events. All other invocations of
cpumf_pmu_start(..., PERF_EF_RELOAD) are from the performance subsystem
for sampling events.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
0 files changed, 0 insertions, 0 deletions