diff options
| author | Dapeng Mi <dapeng1.mi@linux.intel.com> | 2026-04-30 08:25:55 +0800 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-05-05 12:47:21 +0200 |
| commit | 8ba0b706a485b1e607594cf4210786d517ad1611 (patch) | |
| tree | 0a794553feb6d6f86f2a5bc70def6f9966602d5f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 5ad732a56be46aabf158c16aa0c095291727aaef (diff) | |
perf/x86/intel: Always reprogram ACR events to prevent stale masks
Members of an ACR group are logically linked via a bitmask of their
hardware counter indices. If some members of the group are assigned new
hardware counters during rescheduling, even events that keep their
original counter index must be updated with a new mask.
Without this, an event will continue to use a stale acr_mask that
references the old indices of its group peers. Ensure all ACR events are
reprogrammed during the scheduling path to maintain consistency across
the group.
Fixes: ec980e4facef ("perf/x86/intel: Support auto counter reload")
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260430002558.712334-3-dapeng1.mi@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
