diff options
author | Thomas Richter <[email protected]> | 2021-09-27 15:01:56 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2021-10-26 15:21:29 +0200 |
commit | 453380318edd523bc08bf4892d354b49cb85bb0b (patch) | |
tree | a2f7c064c8168f4bc69491fb364103d170435c12 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | ff7a1eefdff5867db4a4f678deed0d04f32cad15 (diff) |
s390/cpumf: Allow multiple processes to access /dev/hwc
Commit a029a4eab39e ("s390/cpumf: Allow concurrent access for CPU Measurement Counter Facility")
added CPU Measurement counter facility access to multiple consumers.
It allows concurrent access to the CPU Measurement counter facility
via several perf_event_open() system call invocations and via ioctl()
system call of device /dev/hwc. However the access via device /dev/hwc
was exclusive, only one process was able to open this device.
The patch removes this restriction. Now multiple invocations of lshwc
can execute in parallel. They can access different CPUs and counter
sets or CPUs and counter set can overlap.
Signed-off-by: Thomas Richter <[email protected]>
Suggested-by: Heiko Carstens <[email protected]>
Reviewed-by: Sumanth Korikkar <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions