Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/
Dperf_event.h186 struct cpu_hw_events { struct
190 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
191 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
192 unsigned long running[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
193 int enabled;
195 int n_events; /* the # of events in the below arrays */
196 int n_added; /* the # last events in the below arrays;
198 int n_txn; /* the # last events in the below arrays;
200 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
201 u64 tags[X86_PMC_IDX_MAX];
[all …]
/Linux-v5.4/arch/powerpc/perf/
Dcore-book3s.c30 struct cpu_hw_events { struct
31 int n_events;
32 int n_percpu;
33 int disabled;
34 int n_added;
35 int n_limited;
36 u8 pmcs_enabled;
37 struct perf_event *event[MAX_HWEVENTS];
38 u64 events[MAX_HWEVENTS];
39 unsigned int flags[MAX_HWEVENTS];
[all …]
Dcore-fsl-emb.c19 struct cpu_hw_events { struct
25 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/Linux-v5.4/arch/riscv/include/asm/
Dperf_event.h50 struct cpu_hw_events { struct
52 int n_events;
54 struct perf_event *events[RISCV_MAX_COUNTERS];
56 void *platform;
/Linux-v5.4/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.4/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.4/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.4/arch/mips/kernel/
Dperf_event_mipsxx.c31 struct cpu_hw_events { struct
48 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument