Lines Matching defs:evsel

218 int evsel__object_config(size_t object_size, int (*init)(struct evsel *evsel),  in evsel__object_config()
219 void (*fini)(struct evsel *evsel)) in evsel__object_config()
240 const char *evsel__pmu_name(const struct evsel *evsel) in evsel__pmu_name()
328 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos()
334 void __evsel__set_sample_bit(struct evsel *evsel, in __evsel__set_sample_bit()
344 void __evsel__reset_sample_bit(struct evsel *evsel, in __evsel__reset_sample_bit()
354 void evsel__set_sample_id(struct evsel *evsel, in evsel__set_sample_id()
374 bool evsel__is_function_event(struct evsel *evsel) in evsel__is_function_event()
384 void evsel__init(struct evsel *evsel, in evsel__init()
413 struct evsel *evsel = zalloc(perf_evsel__object.size); in evsel__new_idx() local
470 struct evsel *evsel; in evsel__clone() local
601 struct evsel *evsel = zalloc(perf_evsel__object.size); in evsel__newtp_idx() local
647 struct tep_event *evsel__tp_format(struct evsel *evsel) in evsel__tp_format()
717 static int evsel__add_modifiers(struct evsel *evsel, char *bf, size_t size) in evsel__add_modifiers()
750 int __weak arch_evsel__hw_name(struct evsel *evsel, char *bf, size_t size) in arch_evsel__hw_name()
755 static int evsel__hw_name(struct evsel *evsel, char *bf, size_t size) in evsel__hw_name()
781 static int evsel__sw_name(struct evsel *evsel, char *bf, size_t size) in evsel__sw_name()
805 static int evsel__bp_name(struct evsel *evsel, char *bf, size_t size) in evsel__bp_name()
901 static int evsel__hw_cache_name(struct evsel *evsel, char *bf, size_t size) in evsel__hw_cache_name()
907 static int evsel__raw_name(struct evsel *evsel, char *bf, size_t size) in evsel__raw_name()
913 const char *evsel__name(struct evsel *evsel) in evsel__name()
966 bool evsel__name_is(struct evsel *evsel, const char *name) in evsel__name_is()
971 const char *evsel__metric_id(const struct evsel *evsel) in evsel__metric_id()
982 const char *evsel__group_name(struct evsel *evsel) in evsel__group_name()
997 int evsel__group_desc(struct evsel *evsel, char *buf, size_t size) in evsel__group_desc()
1023 static void __evsel__config_callchain(struct evsel *evsel, struct record_opts *opts, in __evsel__config_callchain()
1085 void evsel__config_callchain(struct evsel *evsel, struct record_opts *opts, in evsel__config_callchain()
1092 static void evsel__reset_callgraph(struct evsel *evsel, struct callchain_param *param) in evsel__reset_callgraph()
1109 static void evsel__apply_config_terms(struct evsel *evsel, in evsel__apply_config_terms()
1245 struct evsel_config_term *__evsel__get_config_term(struct evsel *evsel, enum evsel_term_type type) in __evsel__get_config_term()
1257 void __weak arch_evsel__set_sample_weight(struct evsel *evsel) in arch_evsel__set_sample_weight()
1278 static bool evsel__is_offcpu_event(struct evsel *evsel) in evsel__is_offcpu_event()
1311 void evsel__config(struct evsel *evsel, struct record_opts *opts, in evsel__config()
1563 int evsel__set_filter(struct evsel *evsel, const char *filter) in evsel__set_filter()
1576 static int evsel__append_filter(struct evsel *evsel, const char *fmt, const char *filter) in evsel__append_filter()
1592 int evsel__append_tp_filter(struct evsel *evsel, const char *filter) in evsel__append_tp_filter()
1597 int evsel__append_addr_filter(struct evsel *evsel, const char *filter) in evsel__append_addr_filter()
1603 int evsel__enable_cpu(struct evsel *evsel, int cpu_map_idx) in evsel__enable_cpu()
1608 int evsel__enable(struct evsel *evsel) in evsel__enable()
1618 int evsel__disable_cpu(struct evsel *evsel, int cpu_map_idx) in evsel__disable_cpu()
1623 int evsel__disable(struct evsel *evsel) in evsel__disable()
1650 static void evsel__free_config_terms(struct evsel *evsel) in evsel__free_config_terms()
1655 void evsel__exit(struct evsel *evsel) in evsel__exit()
1689 void evsel__delete(struct evsel *evsel) in evsel__delete()
1698 void evsel__compute_deltas(struct evsel *evsel, int cpu_map_idx, int thread, in evsel__compute_deltas()
1714 static int evsel__read_one(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_one()
1721 static int evsel__read_retire_lat(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_retire_lat()
1749 struct evsel *evsel; in evsel__group_has_tpebs() local
1761 struct evsel *evsel; in evsel__group_read_nr_members() local
1865 bool __evsel__match(const struct evsel *evsel, u32 type, u64 config) in __evsel__match()
1883 int evsel__read_counter(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_counter()
1900 int __evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread, bool scale) in __evsel__read_on_cpu()
1920 static int evsel__match_other_cpu(struct evsel *evsel, struct evsel *other, in evsel__match_other_cpu()
1929 static int evsel__hybrid_group_cpu_map_idx(struct evsel *evsel, int cpu_map_idx) in evsel__hybrid_group_cpu_map_idx()
1941 static int get_group_fd(struct evsel *evsel, int cpu_map_idx, int thread) in get_group_fd()
1976 static int update_fds(struct evsel *evsel, in update_fds()
2000 static bool evsel__ignore_missing_thread(struct evsel *evsel, in evsel__ignore_missing_thread()
2053 bool evsel__precise_ip_fallback(struct evsel *evsel) in evsel__precise_ip_fallback()
2080 static int __evsel__prepare_open(struct evsel *evsel, struct perf_cpu_map *cpus, in __evsel__prepare_open()
2124 static void evsel__disable_missing_features(struct evsel *evsel) in evsel__disable_missing_features()
2164 int evsel__prepare_open(struct evsel *evsel, struct perf_cpu_map *cpus, in evsel__prepare_open()
2223 static void evsel__detect_missing_pmu_features(struct evsel *evsel) in evsel__detect_missing_pmu_features()
2262 static void evsel__detect_missing_brstack_features(struct evsel *evsel) in evsel__detect_missing_brstack_features()
2311 static bool evsel__probe_aux_action(struct evsel *evsel, struct perf_cpu cpu) in evsel__probe_aux_action()
2334 static void evsel__detect_missing_aux_action_feature(struct evsel *evsel, struct perf_cpu cpu) in evsel__detect_missing_aux_action_feature()
2369 static bool evsel__detect_missing_features(struct evsel *evsel, struct perf_cpu cpu) in evsel__detect_missing_features()
2569 static int evsel__open_cpu(struct evsel *evsel, struct perf_cpu_map *cpus, in evsel__open_cpu()
2731 int evsel__open(struct evsel *evsel, struct perf_cpu_map *cpus, in evsel__open()
2737 void evsel__close(struct evsel *evsel) in evsel__close()
2745 int evsel__open_per_cpu(struct evsel *evsel, struct perf_cpu_map *cpus, int cpu_map_idx) in evsel__open_per_cpu()
2753 int evsel__open_per_thread(struct evsel *evsel, struct perf_thread_map *threads) in evsel__open_per_thread()
2758 static int perf_evsel__parse_id_sample(const struct evsel *evsel, in perf_evsel__parse_id_sample()
2909 static inline bool evsel__has_branch_counters(const struct evsel *evsel) in evsel__has_branch_counters()
2926 int evsel__parse_sample(struct evsel *evsel, union perf_event *event, in evsel__parse_sample()
3283 int evsel__parse_sample_timestamp(struct evsel *evsel, union perf_event *event, in evsel__parse_sample_timestamp()
3326 u16 evsel__id_hdr_size(const struct evsel *evsel) in evsel__id_hdr_size()
3353 struct tep_format_field *evsel__field(struct evsel *evsel, const char *name) in evsel__field()
3360 struct tep_format_field *evsel__common_field(struct evsel *evsel, const char *name) in evsel__common_field()
3367 void *evsel__rawptr(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__rawptr()
3426 u64 evsel__intval(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__intval()
3433 u64 evsel__intval_common(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__intval_common()
3440 char evsel__taskstate(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__taskstate()
3475 bool evsel__fallback(struct evsel *evsel, struct target *target, int err, in evsel__fallback()
3668 int evsel__open_strerror(struct evsel *evsel, struct target *target, in evsel__open_strerror()
3805 struct perf_env *evsel__env(struct evsel *evsel) in evsel__env()
3812 static int store_evsel_ids(struct evsel *evsel, struct evlist *evlist) in store_evsel_ids()
3833 int evsel__store_ids(struct evsel *evsel, struct evlist *evlist) in evsel__store_ids()
3844 void evsel__zero_per_pkg(struct evsel *evsel) in evsel__zero_per_pkg()
3862 bool evsel__is_hybrid(const struct evsel *evsel) in evsel__is_hybrid()
3870 struct evsel *evsel__leader(const struct evsel *evsel) in evsel__leader()
3875 bool evsel__has_leader(struct evsel *evsel, struct evsel *leader) in evsel__has_leader()
3880 bool evsel__is_leader(struct evsel *evsel) in evsel__is_leader()
3885 void evsel__set_leader(struct evsel *evsel, struct evsel *leader) in evsel__set_leader()
3890 int evsel__source_count(const struct evsel *evsel) in evsel__source_count()
3912 void evsel__remove_from_group(struct evsel *evsel, struct evsel *leader) in evsel__remove_from_group()