Lines Matching defs:evsel
44 struct evsel { struct
45 struct perf_evsel core; argument
54 * Please check evsel__clone() to copy them properly so that argument
57 struct {
97 struct evsel **metric_events; argument
98 struct evsel *metric_leader; argument
104 struct perf_stat_evsel *stats; argument
127 evsel__sb_cb_t *cb; argument
131 * For reporting purposes, an evsel sample can have a callchain argument
137 __u64 synth_sample_type;
149 int br_cntr_idx;
150 int br_cntr_nr;
151 char abbr_name[3];
158 struct bpf_counter_ops *bpf_counter_ops;
160 struct list_head bpf_counter_list; /* for perf-stat -b */
161 struct list_head bpf_filters; /* for perf-record --filter */
164 int bperf_leader_prog_fd;
165 int bperf_leader_link_fd;
166 union {
171 unsigned long open_flags;
172 int precise_ip_original;
175 struct perf_pmu *pmu;
179 union {
189 bool pid_stat;
222 static inline struct perf_cpu_map *evsel__cpus(struct evsel *evsel) in evsel__cpus()
227 static inline int evsel__nr_cpus(struct evsel *evsel) in evsel__nr_cpus()
285 static inline bool evsel__is_bpf(struct evsel *evsel) in evsel__is_bpf()
290 static inline bool evsel__is_bperf(struct evsel *evsel) in evsel__is_bperf()
311 static inline bool evsel__is_retire_lat(const struct evsel *evsel) in evsel__is_retire_lat()
322 #define evsel__set_sample_bit(evsel, bit) \ argument
325 #define evsel__reset_sample_bit(evsel, bit) \ argument
360 static inline char *evsel__strval(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__strval()
375 #define evsel__match(evsel, t, c) __evsel__match(evsel, PERF_TYPE_##t, PERF_COUNT_##c) argument
388 static inline int evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_on_cpu()
400 static inline int evsel__read_on_cpu_scaled(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_on_cpu_scaled()
413 static inline struct evsel *evsel__next(struct evsel *evsel) in evsel__next()
418 static inline struct evsel *evsel__prev(struct evsel *evsel) in evsel__prev()
430 static inline bool evsel__is_group_leader(const struct evsel *evsel) in evsel__is_group_leader()
443 static inline bool evsel__is_group_event(struct evsel *evsel) in evsel__is_group_event()
453 static inline bool evsel__is_bpf_output(struct evsel *evsel) in evsel__is_bpf_output()
458 static inline bool evsel__is_clock(const struct evsel *evsel) in evsel__is_clock()
469 static inline int evsel__group_idx(struct evsel *evsel) in evsel__group_idx()
494 static inline bool evsel__has_branch_callstack(const struct evsel *evsel) in evsel__has_branch_callstack()
499 static inline bool evsel__has_branch_hw_idx(const struct evsel *evsel) in evsel__has_branch_hw_idx()
504 static inline bool evsel__has_callchain(const struct evsel *evsel) in evsel__has_callchain()
514 static inline bool evsel__has_br_stack(const struct evsel *evsel) in evsel__has_br_stack()
524 static inline bool evsel__is_dummy_event(struct evsel *evsel) in evsel__is_dummy_event()