diff options
author | Peter Zijlstra <[email protected]> | 2020-10-29 16:32:22 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-11-09 18:12:36 +0100 |
commit | 1908dc911792067287458fdb0800f036f4f4e0f6 (patch) | |
tree | f4254cbb19fbae73b1d55d98cda0eab75c83ae56 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 2714c3962f304d031d5016c963c4b459337b0749 (diff) |
perf: Tweak perf_event_attr::exclusive semantics
Currently perf_event_attr::exclusive can be used to ensure an
event(group) is the sole group scheduled on the PMU. One consequence
is that when you have a pinned event (say the watchdog) you can no
longer have regular exclusive event(group)s.
Inspired by the fact that !pinned events are considered less strict,
allow !pinned,exclusive events to share the PMU with pinned,!exclusive
events.
Pinned,exclusive is still fully exclusive.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions