Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/
Dperf_event.h177 struct cpu_hw_events { struct
181 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
182 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
183 unsigned long running[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
184 int enabled;
186 int n_events; /* the # of events in the below arrays */
187 int n_added; /* the # last events in the below arrays;
189 int n_txn; /* the # last events in the below arrays;
191 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
192 u64 tags[X86_PMC_IDX_MAX];
[all …]
/arch/powerpc/perf/
Dcore-book3s.c29 struct cpu_hw_events { struct
30 int n_events;
31 int n_percpu;
32 int disabled;
33 int n_added;
34 int n_limited;
35 u8 pmcs_enabled;
36 struct perf_event *event[MAX_HWEVENTS];
37 u64 events[MAX_HWEVENTS];
38 unsigned int flags[MAX_HWEVENTS];
[all …]
Dcore-fsl-emb.c23 struct cpu_hw_events { struct
29 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/arch/metag/kernel/perf/
Dperf_event.h50 struct cpu_hw_events { struct
51 struct perf_event *events[MAX_HWEVENTS];
52 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
53 raw_spinlock_t pmu_lock;
/arch/alpha/kernel/
Dperf_event.c33 struct cpu_hw_events { struct
52 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/arch/s390/kernel/
Dperf_cpum_cf.c70 struct cpu_hw_events { struct
77 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument
/arch/tile/kernel/
Dperf_event.c50 struct cpu_hw_events { struct
51 int n_events;
52 struct perf_event *events[TILE_MAX_COUNTERS]; /* counter order */
53 struct perf_event *event_list[TILE_MAX_COUNTERS]; /* enabled
55 int assign[TILE_MAX_COUNTERS];
56 unsigned long active_mask[BITS_TO_LONGS(TILE_MAX_COUNTERS)];
57 unsigned long used_mask;
/arch/sh/kernel/
Dperf_event.c31 struct cpu_hw_events { struct
37 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/arch/blackfin/kernel/
Dperf_event.c230 struct cpu_hw_events { struct
234 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
/arch/sparc/kernel/
Dperf_event.c76 struct cpu_hw_events { struct
81 int n_events;
87 int n_added;
113 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { .enabled = 1, }; argument
/arch/mips/kernel/
Dperf_event_mipsxx.c34 struct cpu_hw_events { struct
51 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument