Lines Matching defs:evsel
59 struct evsel { struct
60 struct perf_evsel core; argument
69 * Please check evsel__clone() to copy them properly so that argument
72 struct {
110 struct evsel **metric_events; argument
111 struct evsel *metric_leader; argument
117 struct perf_stat_evsel *stats; argument
138 evsel__sb_cb_t *cb; argument
142 * For reporting purposes, an evsel sample can have a callchain argument
148 __u64 synth_sample_type;
155 struct bpf_counter_ops *bpf_counter_ops;
157 struct list_head bpf_counter_list; /* for perf-stat -b */
158 struct list_head bpf_filters; /* for perf-record --filter */
161 int bperf_leader_prog_fd;
162 int bperf_leader_link_fd;
163 union {
168 unsigned long open_flags;
169 int precise_ip_original;
172 struct perf_pmu *pmu;
202 static inline struct perf_cpu_map *evsel__cpus(struct evsel *evsel) in evsel__cpus()
207 static inline int evsel__nr_cpus(struct evsel *evsel) in evsel__nr_cpus()
267 static inline bool evsel__is_bpf(struct evsel *evsel) in evsel__is_bpf()
272 static inline bool evsel__is_bperf(struct evsel *evsel) in evsel__is_bperf()
293 static inline bool evsel__is_tool(const struct evsel *evsel) in evsel__is_tool()
304 #define evsel__set_sample_bit(evsel, bit) \ argument
307 #define evsel__reset_sample_bit(evsel, bit) \ argument
344 static inline char *evsel__strval(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__strval()
356 static inline bool __evsel__match(const struct evsel *evsel, u32 type, u64 config) in __evsel__match()
368 #define evsel__match(evsel, t, c) __evsel__match(evsel, PERF_TYPE_##t, PERF_COUNT_##c) argument
387 static inline int evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_on_cpu()
399 static inline int evsel__read_on_cpu_scaled(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_on_cpu_scaled()
412 static inline struct evsel *evsel__next(struct evsel *evsel) in evsel__next()
417 static inline struct evsel *evsel__prev(struct evsel *evsel) in evsel__prev()
429 static inline bool evsel__is_group_leader(const struct evsel *evsel) in evsel__is_group_leader()
442 static inline bool evsel__is_group_event(struct evsel *evsel) in evsel__is_group_event()
452 static inline bool evsel__is_bpf_output(struct evsel *evsel) in evsel__is_bpf_output()
457 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()