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
126 evsel__sb_cb_t *cb; argument
130 * For reporting purposes, an evsel sample can have a callchain argument
136 __u64 synth_sample_type;
148 int br_cntr_idx;
149 int br_cntr_nr;
150 char abbr_name[3];
157 struct bpf_counter_ops *bpf_counter_ops;
159 struct list_head bpf_counter_list; /* for perf-stat -b */
160 struct list_head bpf_filters; /* for perf-record --filter */
163 int bperf_leader_prog_fd;
164 int bperf_leader_link_fd;
165 union {
170 unsigned long open_flags;
171 int precise_ip_original;
174 struct perf_pmu *pmu;
178 union {
188 bool pid_stat;
221 static inline struct perf_cpu_map *evsel__cpus(struct evsel *evsel) in evsel__cpus()
226 static inline int evsel__nr_cpus(struct evsel *evsel) in evsel__nr_cpus()
283 static inline bool evsel__is_bpf(struct evsel *evsel) in evsel__is_bpf()
288 static inline bool evsel__is_bperf(struct evsel *evsel) in evsel__is_bperf()
309 static inline bool evsel__is_retire_lat(const struct evsel *evsel) in evsel__is_retire_lat()
320 #define evsel__set_sample_bit(evsel, bit) \ argument
323 #define evsel__reset_sample_bit(evsel, bit) \ argument
358 static inline char *evsel__strval(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__strval()
373 #define evsel__match(evsel, t, c) __evsel__match(evsel, PERF_TYPE_##t, PERF_COUNT_##c) argument
386 static inline int evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_on_cpu()
398 static inline int evsel__read_on_cpu_scaled(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_on_cpu_scaled()
411 static inline struct evsel *evsel__next(struct evsel *evsel) in evsel__next()
416 static inline struct evsel *evsel__prev(struct evsel *evsel) in evsel__prev()
428 static inline bool evsel__is_group_leader(const struct evsel *evsel) in evsel__is_group_leader()
441 static inline bool evsel__is_group_event(struct evsel *evsel) in evsel__is_group_event()
451 static inline bool evsel__is_bpf_output(struct evsel *evsel) in evsel__is_bpf_output()
456 static inline bool evsel__is_clock(const struct evsel *evsel) in evsel__is_clock()
467 static inline int evsel__group_idx(struct evsel *evsel) in evsel__group_idx()
492 static inline bool evsel__has_branch_callstack(const struct evsel *evsel) in evsel__has_branch_callstack()
497 static inline bool evsel__has_branch_hw_idx(const struct evsel *evsel) in evsel__has_branch_hw_idx()
502 static inline bool evsel__has_callchain(const struct evsel *evsel) in evsel__has_callchain()
512 static inline bool evsel__has_br_stack(const struct evsel *evsel) in evsel__has_br_stack()
522 static inline bool evsel__is_dummy_event(struct evsel *evsel) in evsel__is_dummy_event()