diff options
| author | Thomas Richter <[email protected]> | 2024-02-29 14:00:28 +0000 |
|---|---|---|
| committer | Vasily Gorbik <[email protected]> | 2024-04-03 13:00:20 +0000 |
| commit | e9f3af02f63909f41b43c28330434cc437639c5c (patch) | |
| tree | e5b5b84cfbabd3865fa6b4b8b64bf2476795352b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | s390/preempt: mark all functions __always_inline (diff) | |
| download | kernel-e9f3af02f63909f41b43c28330434cc437639c5c.tar.gz kernel-e9f3af02f63909f41b43c28330434cc437639c5c.zip | |
s390/pai: fix sampling event removal for PMU device driver
In case of a sampling event, the PAI PMU device drivers need a
reference to this event. Currently to PMU device driver reference
is removed when a sampling event is destroyed. This may lead to
situations where the reference of the PMU device driver is removed
while being used by a different sampling event.
Reset the event reference pointer of the PMU device driver when
a sampling event is deleted and before the next one might be added.
Fixes: 39d62336f5c1 ("s390/pai: add support for cryptography counters")
Signed-off-by: Thomas Richter <[email protected]>
Acked-by: Sumanth Korikkar <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
