Home
last modified time | relevance | path

Searched defs:cpu_hw_events (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/include/linux/perf/
Driscv_pmu.h31 struct cpu_hw_events { struct
33 int n_events;
35 int irq;
37 struct perf_event *events[RISCV_MAX_COUNTERS];
43 void *snapshot_addr;
45 phys_addr_t snapshot_addr_phys;
47 bool snapshot_set_done;
71 struct cpu_hw_events __percpu *hw_events; argument
/linux-6.12.1/arch/x86/events/
Dperf_event.h236 struct cpu_hw_events { struct
240 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
241 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
242 unsigned long dirty[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
243 int enabled;
245 int n_events; /* the # of events in the below arrays */
246 int n_added; /* the # last events in the below arrays;
248 int n_txn; /* the # last events in the below arrays;
250 int n_txn_pair;
251 int n_txn_metric;
[all …]
/linux-6.12.1/arch/powerpc/perf/
Dcore-book3s.c32 struct cpu_hw_events { struct
33 int n_events;
34 int n_percpu;
35 int disabled;
36 int n_added;
37 int n_limited;
38 u8 pmcs_enabled;
39 struct perf_event *event[MAX_HWEVENTS];
40 u64 events[MAX_HWEVENTS];
64 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
Dcore-fsl-emb.c19 struct cpu_hw_events { struct
25 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/linux-6.12.1/arch/alpha/kernel/
Dperf_event.c34 struct cpu_hw_events { struct
53 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/linux-6.12.1/arch/sh/kernel/
Dperf_event.c28 struct cpu_hw_events { struct
34 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/linux-6.12.1/arch/sparc/kernel/
Dperf_event.c78 struct cpu_hw_events { struct
83 int n_events;
89 int n_added;
115 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { .enabled = 1, }; argument
/linux-6.12.1/arch/loongarch/kernel/
Dperf_event.c89 struct cpu_hw_events { struct
104 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument
/linux-6.12.1/arch/mips/kernel/
Dperf_event_mipsxx.c31 struct cpu_hw_events { struct
48 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument