| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | evlist.h | 51 struct evlist { struct 52 struct perf_evlist core; argument 68 void (*trace_event_sample_raw)(struct evlist *evlist, argument 80 int pos; /* index at evlist core object to check signals */ argument 89 struct evlist *evlist__new(void); argument 102 static inline int evlist__add_default(struct evlist *evlist) in evlist__add_default() 110 #define evlist__add_default_attrs(evlist, array) \ argument 130 #define evlist__set_tracepoints_handlers(evlist, array) \ argument 138 #define perf_evlist__set_sample_bit(evlist, bit) \ argument 141 #define perf_evlist__reset_sample_bit(evlist, bit) \ argument [all …]
|
| D | evlist.c | 59 void evlist__init(struct evlist *evlist, struct perf_cpu_map *cpus, in evlist__init() 73 struct evlist *evlist = zalloc(sizeof(*evlist)); in evlist__new() local 83 struct evlist *evlist = evlist__new(); in perf_evlist__new_default() local 95 struct evlist *evlist = evlist__new(); in perf_evlist__new_dummy() local 112 void perf_evlist__set_id_pos(struct evlist *evlist) in perf_evlist__set_id_pos() 120 static void perf_evlist__update_id_pos(struct evlist *evlist) in perf_evlist__update_id_pos() 130 static void evlist__purge(struct evlist *evlist) in evlist__purge() 143 void evlist__exit(struct evlist *evlist) in evlist__exit() 150 void evlist__delete(struct evlist *evlist) in evlist__delete() 162 void evlist__add(struct evlist *evlist, struct evsel *entry) in evlist__add() [all …]
|
| D | sideband_evlist.c | 15 int perf_evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr, in perf_evlist__add_sb_event() 37 struct evlist *evlist = arg; in perf_evlist__poll_thread() local 84 void evlist__set_cb(struct evlist *evlist, evsel__sb_cb_t cb, void *data) in evlist__set_cb() 97 int perf_evlist__start_sb_thread(struct evlist *evlist, struct target *target) in perf_evlist__start_sb_thread() 141 void perf_evlist__stop_sb_thread(struct evlist *evlist) in perf_evlist__stop_sb_thread()
|
| D | cgroup.c | 38 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) in evlist__find_cgroup() 83 struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name) in evlist__findnew_cgroup() 90 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup() 144 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup() 155 struct evlist *evlist = *(struct evlist **)opt->value; in parse_cgroups() local 204 int evlist__expand_cgroup(struct evlist *evlist, const char *str, in evlist__expand_cgroup()
|
| D | record.c | 24 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler() 50 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling() 92 void perf_evlist__config(struct evlist *evlist, struct record_opts *opts, in perf_evlist__config() 220 bool perf_evlist__can_select_event(struct evlist *evlist, const char *str) in perf_evlist__can_select_event()
|
| D | stat.c | 187 int perf_evlist__alloc_stats(struct evlist *evlist, bool alloc_raw) in perf_evlist__alloc_stats() 203 void perf_evlist__free_stats(struct evlist *evlist) in perf_evlist__free_stats() 214 void perf_evlist__reset_stats(struct evlist *evlist) in perf_evlist__reset_stats() 224 void perf_evlist__reset_prev_raw_counts(struct evlist *evlist) in perf_evlist__reset_prev_raw_counts() 248 void perf_evlist__copy_prev_raw_counts(struct evlist *evlist) in perf_evlist__copy_prev_raw_counts() 256 void perf_evlist__save_aggr_prev_raw_counts(struct evlist *evlist) in perf_evlist__save_aggr_prev_raw_counts()
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | parse-events.c | 47 static int test__checkevent_tracepoint(struct evlist *evlist) in test__checkevent_tracepoint() 60 static int test__checkevent_tracepoint_multi(struct evlist *evlist) in test__checkevent_tracepoint_multi() 78 static int test__checkevent_raw(struct evlist *evlist) in test__checkevent_raw() 88 static int test__checkevent_numeric(struct evlist *evlist) in test__checkevent_numeric() 98 static int test__checkevent_symbolic_name(struct evlist *evlist) in test__checkevent_symbolic_name() 109 static int test__checkevent_symbolic_name_config(struct evlist *evlist) in test__checkevent_symbolic_name_config() 130 static int test__checkevent_symbolic_alias(struct evlist *evlist) in test__checkevent_symbolic_alias() 141 static int test__checkevent_genhw(struct evlist *evlist) in test__checkevent_genhw() 151 static int test__checkevent_breakpoint(struct evlist *evlist) in test__checkevent_breakpoint() 165 static int test__checkevent_breakpoint_x(struct evlist *evlist) in test__checkevent_breakpoint_x() [all …]
|
| D | event-times.c | 17 static int attach__enable_on_exec(struct evlist *evlist) in attach__enable_on_exec() 53 static int detach__enable_on_exec(struct evlist *evlist) in detach__enable_on_exec() 59 static int attach__current_disabled(struct evlist *evlist) in attach__current_disabled() 85 static int attach__current_enabled(struct evlist *evlist) in attach__current_enabled() 105 static int detach__disable(struct evlist *evlist) in detach__disable() 112 static int attach__cpu_disabled(struct evlist *evlist) in attach__cpu_disabled() 141 static int attach__cpu_enabled(struct evlist *evlist) in attach__cpu_enabled() 163 static int test_times(int (attach)(struct evlist *), in test_times() 164 int (detach)(struct evlist *)) in test_times() 167 struct evlist *evlist = NULL; in test_times() local
|
| D | expand-cgroup.c | 16 static int test_expand_events(struct evlist *evlist, in test_expand_events() 103 struct evlist *evlist; in expand_default_events() local 118 struct evlist *evlist; in expand_group_events() local 146 struct evlist *evlist; in expand_libpfm_events() local 179 struct evlist *evlist; in expand_metric_events() local
|
| D | backward-ring-buffer.c | 32 static int count_samples(struct evlist *evlist, int *sample_count, in count_samples() 62 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() 89 struct evlist *evlist; in test__backward_ring_buffer() local
|
| D | pfm.c | 36 static int count_pfm_events(struct perf_evlist *evlist) in count_pfm_events() 49 struct evlist *evlist; in test__pfm_events() local 109 struct evlist *evlist; in test__pfm_group() local
|
| D | switch-tracking.c | 122 static int process_sample_event(struct evlist *evlist, in process_sample_event() 172 static int process_event(struct evlist *evlist, union perf_event *event, in process_event() 212 static int add_event(struct evlist *evlist, struct list_head *events, in add_event() 261 static int process_events(struct evlist *evlist, in process_events() 338 struct evlist *evlist = NULL; in test__switch_tracking() local
|
| /kernel/linux/linux-4.19/tools/perf/tests/ |
| D | parse-events.c | 47 static int test__checkevent_tracepoint(struct perf_evlist *evlist) in test__checkevent_tracepoint() 60 static int test__checkevent_tracepoint_multi(struct perf_evlist *evlist) in test__checkevent_tracepoint_multi() 78 static int test__checkevent_raw(struct perf_evlist *evlist) in test__checkevent_raw() 88 static int test__checkevent_numeric(struct perf_evlist *evlist) in test__checkevent_numeric() 98 static int test__checkevent_symbolic_name(struct perf_evlist *evlist) in test__checkevent_symbolic_name() 109 static int test__checkevent_symbolic_name_config(struct perf_evlist *evlist) in test__checkevent_symbolic_name_config() 130 static int test__checkevent_symbolic_alias(struct perf_evlist *evlist) in test__checkevent_symbolic_alias() 141 static int test__checkevent_genhw(struct perf_evlist *evlist) in test__checkevent_genhw() 151 static int test__checkevent_breakpoint(struct perf_evlist *evlist) in test__checkevent_breakpoint() 165 static int test__checkevent_breakpoint_x(struct perf_evlist *evlist) in test__checkevent_breakpoint_x() [all …]
|
| D | event-times.c | 15 static int attach__enable_on_exec(struct perf_evlist *evlist) in attach__enable_on_exec() 51 static int detach__enable_on_exec(struct perf_evlist *evlist) in detach__enable_on_exec() 57 static int attach__current_disabled(struct perf_evlist *evlist) in attach__current_disabled() 83 static int attach__current_enabled(struct perf_evlist *evlist) in attach__current_enabled() 103 static int detach__disable(struct perf_evlist *evlist) in detach__disable() 110 static int attach__cpu_disabled(struct perf_evlist *evlist) in attach__cpu_disabled() 139 static int attach__cpu_enabled(struct perf_evlist *evlist) in attach__cpu_enabled() 165 struct perf_evlist *evlist = NULL; in test_times() local
|
| D | backward-ring-buffer.c | 28 static int count_samples(struct perf_evlist *evlist, int *sample_count, in count_samples() 58 static int do_test(struct perf_evlist *evlist, int mmap_pages, in do_test() 85 struct perf_evlist *evlist; in test__backward_ring_buffer() local
|
| D | switch-tracking.c | 115 static int process_sample_event(struct perf_evlist *evlist, in process_sample_event() 165 static int process_event(struct perf_evlist *evlist, union perf_event *event, in process_event() 205 static int add_event(struct perf_evlist *evlist, struct list_head *events, in add_event() 254 static int process_events(struct perf_evlist *evlist, in process_events() 331 struct perf_evlist *evlist = NULL; in test__switch_tracking() local
|
| /kernel/linux/linux-4.19/tools/perf/util/ |
| D | evlist.c | 44 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, in perf_evlist__init() 60 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local 70 struct perf_evlist *evlist = perf_evlist__new(); in perf_evlist__new_default() local 82 struct perf_evlist *evlist = perf_evlist__new(); in perf_evlist__new_dummy() local 99 void perf_evlist__set_id_pos(struct perf_evlist *evlist) in perf_evlist__set_id_pos() 107 static void perf_evlist__update_id_pos(struct perf_evlist *evlist) in perf_evlist__update_id_pos() 117 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge() 130 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit() 137 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete() 153 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps() [all …]
|
| D | evlist.h | 74 static inline int perf_evlist__add_default(struct perf_evlist *evlist) in perf_evlist__add_default() 82 #define perf_evlist__add_default_attrs(evlist, array) \ argument 95 #define perf_evlist__set_sample_bit(evlist, bit) \ argument 98 #define perf_evlist__reset_sample_bit(evlist, bit) \ argument 210 static inline bool perf_evlist__empty(struct perf_evlist *evlist) in perf_evlist__empty() 215 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first() 220 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last() 247 #define evlist__for_each_entry(evlist, evsel) \ argument 263 #define evlist__for_each_entry_continue(evlist, evsel) \ argument 279 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument [all …]
|
| D | cgroup.c | 93 static struct cgroup *evlist__find_cgroup(struct perf_evlist *evlist, const char *str) in evlist__find_cgroup() 133 struct cgroup *evlist__findnew_cgroup(struct perf_evlist *evlist, const char *name) in evlist__findnew_cgroup() 140 static int add_cgroup(struct perf_evlist *evlist, const char *str) in add_cgroup() 193 void evlist__set_default_cgroup(struct perf_evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup() 204 struct perf_evlist *evlist = *(struct perf_evlist **)opt->value; in parse_cgroups() local
|
| /kernel/linux/linux-5.10/tools/lib/perf/ |
| D | evlist.c | 27 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init() 38 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps() 61 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps() 69 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add() 77 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove() 86 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local 95 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next() 114 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge() 126 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit() 137 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete() [all …]
|
| /kernel/linux/linux-5.10/tools/lib/perf/include/internal/ |
| D | evlist.h | 70 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 86 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument 104 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument 107 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first() 112 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
|
| /kernel/linux/linux-5.10/tools/lib/perf/tests/ |
| D | test-evlist.c | 31 struct perf_evlist *evlist; in test_stat_cpu() local 86 struct perf_evlist *evlist; in test_stat_thread() local 137 struct perf_evlist *evlist; in test_stat_thread_enable() local 197 struct perf_evlist *evlist; in test_mmap_thread() local 307 struct perf_evlist *evlist; in test_mmap_cpus() local
|
| /kernel/linux/linux-5.10/tools/lib/perf/include/perf/ |
| D | evlist.h | 26 #define perf_evlist__for_each_evsel(evlist, pos) \ argument 44 #define perf_evlist__for_each_mmap(evlist, pos, overwrite) \ argument
|
| /kernel/linux/linux-4.19/tools/perf/arch/x86/util/ |
| D | auxtrace.c | 28 struct auxtrace_record *auxtrace_record__init_intel(struct perf_evlist *evlist, in auxtrace_record__init_intel() 62 struct auxtrace_record *auxtrace_record__init(struct perf_evlist *evlist, in auxtrace_record__init()
|
| /kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
| D | auxtrace.c | 19 struct auxtrace_record *auxtrace_record__init_intel(struct evlist *evlist, in auxtrace_record__init_intel() 57 struct auxtrace_record *auxtrace_record__init(struct evlist *evlist, in auxtrace_record__init()
|