diff options
| author | Kan Liang <kan.liang@linux.intel.com> | 2026-08-24 16:27:16 +0800 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-09-02 13:10:42 +0200 |
| commit | 05fe8825796e6b5557656c6c984486f0e66154fe (patch) | |
| tree | e78849780ce3ebc611ca036feac20b62713ac32a /tools/perf/scripts/python | |
| parent | 450d73dc5f9188ade87fe2d2d967cf18e63b280f (diff) | |
perf: Move and enhance has_extended_regs() for arch-specific use
Move has_extended_regs() to include/linux/perf_event.h so it can be used
by arch-specific code.
While moving it, enhance the check logic and rename it to
event_has_extended_regs() to match existing perf event helper naming.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260824082731.1013973-9-dapeng1.mi@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
