Home
last modified time | relevance | path

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

/linux/arch/x86/events/
H A Dperf_event.h275 struct cpu_hw_events { struct
279 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
280 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
281 unsigned long dirty[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
282 int enabled;
284 int n_events; /* the # of events in the below arrays */
285 int n_added; /* the # last events in the below arrays;
287 int n_txn; /* the # last events in the below arrays;
289 int n_txn_pair;
290 int n_txn_metric;
[all …]
/linux/arch/powerpc/perf/
H A 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
/linux/arch/sh/kernel/
H A Dperf_event.c28 struct cpu_hw_events { struct
34 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/linux/arch/sparc/kernel/
H A 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/arch/loongarch/kernel/
H A Dperf_event.c89 struct cpu_hw_events { struct
104 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument