Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/events/
Dperf_event.h226 struct cpu_hw_events { struct
230 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
231 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
232 unsigned long dirty[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
233 int enabled;
235 int n_events; /* the # of events in the below arrays */
236 int n_added; /* the # last events in the below arrays;
238 int n_txn; /* the # last events in the below arrays;
240 int n_txn_pair;
241 int n_txn_metric;
[all …]
/Linux-v5.15/arch/powerpc/perf/
Dcore-book3s.c31 struct cpu_hw_events { struct
32 int n_events;
33 int n_percpu;
34 int disabled;
35 int n_added;
36 int n_limited;
37 u8 pmcs_enabled;
38 struct perf_event *event[MAX_HWEVENTS];
39 u64 events[MAX_HWEVENTS];
63 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-v5.15/arch/riscv/include/asm/
Dperf_event.h45 struct cpu_hw_events { struct
47 int n_events;
49 struct perf_event *events[RISCV_MAX_COUNTERS];
51 void *platform;
/Linux-v5.15/arch/alpha/kernel/
Dperf_event.c34 struct cpu_hw_events { struct
53 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/Linux-v5.15/arch/sh/kernel/
Dperf_event.c28 struct cpu_hw_events { struct
34 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/Linux-v5.15/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-v5.15/arch/mips/kernel/
Dperf_event_mipsxx.c31 struct cpu_hw_events { struct
48 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument