Lines Matching defs:evsel
83 int evsel__object_config(size_t object_size, int (*init)(struct evsel *evsel), in evsel__object_config()
84 void (*fini)(struct evsel *evsel)) in evsel__object_config()
183 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos()
189 void __evsel__set_sample_bit(struct evsel *evsel, in __evsel__set_sample_bit()
199 void __evsel__reset_sample_bit(struct evsel *evsel, in __evsel__reset_sample_bit()
209 void evsel__set_sample_id(struct evsel *evsel, in evsel__set_sample_id()
229 bool evsel__is_function_event(struct evsel *evsel) in evsel__is_function_event()
239 void evsel__init(struct evsel *evsel, in evsel__init()
266 struct evsel *evsel = zalloc(perf_evsel__object.size); in evsel__new_idx() local
299 struct evsel *evsel; in evsel__new_cycles() local
365 struct evsel *evsel; in evsel__clone() local
453 struct evsel *evsel = zalloc(perf_evsel__object.size); in evsel__newtp_idx() local
532 static int evsel__add_modifiers(struct evsel *evsel, char *bf, size_t size) in evsel__add_modifiers()
568 static int evsel__hw_name(struct evsel *evsel, char *bf, size_t size) in evsel__hw_name()
594 static int evsel__sw_name(struct evsel *evsel, char *bf, size_t size) in evsel__sw_name()
618 static int evsel__bp_name(struct evsel *evsel, char *bf, size_t size) in evsel__bp_name()
714 static int evsel__hw_cache_name(struct evsel *evsel, char *bf, size_t size) in evsel__hw_cache_name()
720 static int evsel__raw_name(struct evsel *evsel, char *bf, size_t size) in evsel__raw_name()
732 const char *evsel__name(struct evsel *evsel) in evsel__name()
784 const char *evsel__metric_id(const struct evsel *evsel) in evsel__metric_id()
795 const char *evsel__group_name(struct evsel *evsel) in evsel__group_name()
810 int evsel__group_desc(struct evsel *evsel, char *buf, size_t size) in evsel__group_desc()
830 static void __evsel__config_callchain(struct evsel *evsel, struct record_opts *opts, in __evsel__config_callchain()
889 void evsel__config_callchain(struct evsel *evsel, struct record_opts *opts, in evsel__config_callchain()
896 static void evsel__reset_callgraph(struct evsel *evsel, struct callchain_param *param) in evsel__reset_callgraph()
913 static void evsel__apply_config_terms(struct evsel *evsel, in evsel__apply_config_terms()
1046 struct evsel_config_term *__evsel__get_config_term(struct evsel *evsel, enum evsel_term_type type) in __evsel__get_config_term()
1058 void __weak arch_evsel__set_sample_weight(struct evsel *evsel) in arch_evsel__set_sample_weight()
1095 void evsel__config(struct evsel *evsel, struct record_opts *opts, in evsel__config()
1335 int evsel__set_filter(struct evsel *evsel, const char *filter) in evsel__set_filter()
1348 static int evsel__append_filter(struct evsel *evsel, const char *fmt, const char *filter) in evsel__append_filter()
1364 int evsel__append_tp_filter(struct evsel *evsel, const char *filter) in evsel__append_tp_filter()
1369 int evsel__append_addr_filter(struct evsel *evsel, const char *filter) in evsel__append_addr_filter()
1375 int evsel__enable_cpu(struct evsel *evsel, int cpu) in evsel__enable_cpu()
1380 int evsel__enable(struct evsel *evsel) in evsel__enable()
1390 int evsel__disable_cpu(struct evsel *evsel, int cpu) in evsel__disable_cpu()
1395 int evsel__disable(struct evsel *evsel) in evsel__disable()
1422 static void evsel__free_config_terms(struct evsel *evsel) in evsel__free_config_terms()
1427 void evsel__exit(struct evsel *evsel) in evsel__exit()
1452 void evsel__delete(struct evsel *evsel) in evsel__delete()
1458 void evsel__compute_deltas(struct evsel *evsel, int cpu, int thread, in evsel__compute_deltas()
1498 static int evsel__read_one(struct evsel *evsel, int cpu, int thread) in evsel__read_one()
1582 int evsel__read_counter(struct evsel *evsel, int cpu, int thread) in evsel__read_counter()
1592 int __evsel__read_on_cpu(struct evsel *evsel, int cpu, int thread, bool scale) in __evsel__read_on_cpu()
1612 static int evsel__match_other_cpu(struct evsel *evsel, struct evsel *other, in evsel__match_other_cpu()
1621 static int evsel__hybrid_group_cpu(struct evsel *evsel, int cpu) in evsel__hybrid_group_cpu()
1633 static int get_group_fd(struct evsel *evsel, int cpu, int thread) in get_group_fd()
1664 static int update_fds(struct evsel *evsel, in update_fds()
1688 bool evsel__ignore_missing_thread(struct evsel *evsel, in evsel__ignore_missing_thread()
1741 bool evsel__precise_ip_fallback(struct evsel *evsel) in evsel__precise_ip_fallback()
1768 static int __evsel__prepare_open(struct evsel *evsel, struct perf_cpu_map *cpus, in __evsel__prepare_open()
1813 static void evsel__disable_missing_features(struct evsel *evsel) in evsel__disable_missing_features()
1846 int evsel__prepare_open(struct evsel *evsel, struct perf_cpu_map *cpus, in evsel__prepare_open()
1860 bool evsel__detect_missing_features(struct evsel *evsel) in evsel__detect_missing_features()
1994 static int evsel__open_cpu(struct evsel *evsel, struct perf_cpu_map *cpus, in evsel__open_cpu()
2137 int evsel__open(struct evsel *evsel, struct perf_cpu_map *cpus, in evsel__open()
2143 void evsel__close(struct evsel *evsel) in evsel__close()
2149 int evsel__open_per_cpu(struct evsel *evsel, struct perf_cpu_map *cpus, int cpu) in evsel__open_per_cpu()
2158 int evsel__open_per_thread(struct evsel *evsel, struct perf_thread_map *threads) in evsel__open_per_thread()
2163 static int perf_evsel__parse_id_sample(const struct evsel *evsel, in perf_evsel__parse_id_sample()
2308 int evsel__parse_sample(struct evsel *evsel, union perf_event *event, in evsel__parse_sample()
2648 int evsel__parse_sample_timestamp(struct evsel *evsel, union perf_event *event, in evsel__parse_sample_timestamp()
2691 struct tep_format_field *evsel__field(struct evsel *evsel, const char *name) in evsel__field()
2696 void *evsel__rawptr(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__rawptr()
2753 u64 evsel__intval(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__intval()
2763 bool evsel__fallback(struct evsel *evsel, int err, char *msg, size_t msgsize) in evsel__fallback()
2855 int evsel__open_strerror(struct evsel *evsel, struct target *target, in evsel__open_strerror()
2967 struct perf_env *evsel__env(struct evsel *evsel) in evsel__env()
2974 static int store_evsel_ids(struct evsel *evsel, struct evlist *evlist) in store_evsel_ids()
2992 int evsel__store_ids(struct evsel *evsel, struct evlist *evlist) in evsel__store_ids()
3003 void evsel__zero_per_pkg(struct evsel *evsel) in evsel__zero_per_pkg()
3016 bool evsel__is_hybrid(struct evsel *evsel) in evsel__is_hybrid()
3021 struct evsel *evsel__leader(struct evsel *evsel) in evsel__leader()
3026 bool evsel__has_leader(struct evsel *evsel, struct evsel *leader) in evsel__has_leader()
3031 bool evsel__is_leader(struct evsel *evsel) in evsel__is_leader()
3036 void evsel__set_leader(struct evsel *evsel, struct evsel *leader) in evsel__set_leader()
3041 int evsel__source_count(const struct evsel *evsel) in evsel__source_count()