linux/arch
Kan Liang 3e830f657f perf/x86: Optimize the is_x86_event
The current is_x86_event has to go through the hybrid_pmus list to find
the matched pmu, then check if it's a X86 PMU and a X86 event. It's not
necessary.

The X86 PMU has a unique type ID on a non-hybrid machine, and a unique
capability type. They are good enough to do the check.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250424134718.311934-5-kan.liang@linux.intel.com
2025-04-25 14:55:22 +02:00
..
alpha treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
arc irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
arm CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
arm64 bpf-fixes 2025-04-12 12:48:10 -07:00
csky mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
hexagon CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
loongarch - The 2 patch series "mm: fixes for fallouts from mem_init() cleanup" 2025-04-03 11:10:00 -07:00
m68k CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
microblaze microblaze/mm: put mm_cmdline_setup() in .init.text section 2025-04-01 15:17:13 -07:00
mips CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
nios2 A set of updates for the interrupt subsystem: 2025-04-06 08:17:43 -07:00
openrisc mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
parisc lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
powerpc Merge branch 'perf/urgent' into perf/core, to pick up fixes 2025-04-17 14:20:57 +02:00
riscv riscv fixes for 6.15-rc3 2025-04-16 11:10:25 -07:00
s390 s390 updates for 6.15-rc2 2025-04-11 08:17:40 -07:00
sh CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
sparc CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
um treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
x86 perf/x86: Optimize the is_x86_event 2025-04-25 14:55:22 +02:00
xtensa treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
.gitignore
Kconfig Kbuild updates for v6.15 2025-04-05 15:46:50 -07:00