/linux/tools/lib/perf/ |
H A D | evlist.c | 28 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init() 36 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps() 95 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps() 105 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add() 116 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove() 125 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local 134 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next() 153 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge() 165 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit() 176 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete() [all …]
|
/linux/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 25 static int test__hybrid_hw_event_with_pmu(struct evlist *evlist) in test__hybrid_hw_event_with_pmu() 36 static int test__hybrid_hw_group_event(struct evlist *evlist) in test__hybrid_hw_group_event() 55 static int test__hybrid_sw_hw_group_event(struct evlist *evlist) in test__hybrid_sw_hw_group_event() 72 static int test__hybrid_hw_sw_group_event(struct evlist *evlist) in test__hybrid_hw_sw_group_event() 89 static int test__hybrid_group_modifier1(struct evlist *evlist) in test__hybrid_group_modifier1() 112 static int test__hybrid_raw1(struct evlist *evlist) in test__hybrid_raw1() 126 static int test__hybrid_raw2(struct evlist *evlist) in test__hybrid_raw2() 136 static int test__hybrid_cache_event(struct evlist *evlist) in test__hybrid_cache_event() 146 static int test__checkevent_pmu(struct evlist *evlist) in test__checkevent_pmu() 166 static int test__hybrid_hw_group_event_2(struct evlist *evlist) in test__hybrid_hw_group_event_2() [all …]
|
/linux/tools/perf/util/ |
H A D | sideband_evlist.c | 15 int evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr, in 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 evlist__start_sb_thread(struct evlist *evlist, struct target *target) in evlist__start_sb_thread() 142 void evlist__stop_sb_thread(struct evlist *evlist) in evlist__stop_sb_thread()
|
H A D | record.c | 26 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler() argument 53 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling() argument 95 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain) in evlist__config() argument 221 evlist__can_select_event(struct evlist * evlist,const char * str) evlist__can_select_event() argument [all...] |
H A D | bpf_counter_cgroup.c | 44 static int bperf_load_program(struct evlist *evlist) in bperf_load_program() 198 static int bperf_cgrp__sync_counters(struct evlist *evlist) in bperf_cgrp__sync_counters() 234 struct evlist *evlist = evsel->evlist; in bperf_cgrp__read() local
|
H A D | sample-raw.c | 14 void evlist__init_trace_event_sample_raw(struct evlist *evlist) in evlist__init_trace_event_sample_raw()
|
H A D | amd-sample-raw.c | 266 void evlist__amd_sample_raw(struct evlist *evlist, union perf_event *event, in evlist__amd_sample_raw() 312 bool evlist__has_amd_ibs(struct evlist *evlist) in evlist__has_amd_ibs()
|
H A D | evswitch.c | 41 int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) in evswitch__init()
|
/linux/tools/perf/tests/ |
H A D | expand-cgroup.c | 16 static int test_expand_events(struct evlist *evlist, in test_expand_events() 104 struct evlist *evlist = evlist__new_default(); in expand_default_events() local 117 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
|
H A 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
|
H A D | pfm.c | 15 static int count_pfm_events(struct perf_evlist *evlist) in count_pfm_events() 29 struct evlist *evlist; in test__pfm_events() local 90 struct evlist *evlist; in test__pfm_group() local
|
H A D | keep-tracking.c | 33 static int find_comm(struct evlist *evlist, const char *comm) in find_comm() 76 struct evlist *evlist = NULL; in test__keep_tracking() local
|
H A D | evsel-roundtrip-name.c | 21 struct evlist *evlist = evlist__new(); in perf_evsel__roundtrip_cache_name_test() local 57 struct evlist *evlis in perf_evsel__name_array_test() local [all...] |
H A D | parse-metric.c | 33 static void load_runtime_stat(struct evlist *evlist, struct value *vals) in load_runtime_stat() 48 static double compute_single(struct rblist *metric_events, struct evlist *evlist, in compute_single() 77 struct evlist *evlist; in __compute_metric() local
|
H A D | hists_filter.c | 49 static int add_hist_entries(struct evlist *evlist, in add_hist_entries() 122 struct evlist *evlist = evlist__new(); in test__hists_filter() local
|
H A D | hists_link.c | 66 static int add_hist_entries(struct evlist *evlist, struct machine *machine) in add_hist_entries() 293 struct evlist *evlist = evlist__new(); in test__hists_link() local
|
H A D | sw-clock.c | 37 struct evlist *evlist; in __test__sw_clock_freq() local
|
/linux/tools/lib/perf/include/internal/ |
H A D | evlist.h | 78 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 94 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument 112 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument 115 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first() 120 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
|
/linux/tools/lib/perf/tests/ |
H A D | test-evlist.c | 37 struct perf_evlist *evlist; in test_stat_cpu() local 96 struct perf_evlist *evlist; in test_stat_thread() local 151 struct perf_evlist *evlist; in test_stat_thread_enable() local 215 struct perf_evlist *evlist; in test_mmap_thread() local 326 struct perf_evlist *evlist; in test_mmap_cpus() local 444 struct perf_evlist *evlist; in test_stat_multiplexing() local
|
/linux/tools/perf/bench/ |
H A D | evlist-open-close.c | 68 static int evlist__count_evsel_fds(struct evlist *evlist) in evlist__count_evsel_fds() 82 struct evlist *evlist = evlist__new(); in bench__create_evlist() local 115 static int bench__do_evlist_open_close(struct evlist *evlist) in bench__do_evlist_open_close() 142 struct evlist *evlist = bench__create_evlist(evstr); in bench_evlist_open_close__run() local
|
/linux/tools/lib/perf/include/perf/ |
H A D | evlist.h | 26 #define perf_evlist__for_each_evsel(evlist, pos) \ argument 44 #define perf_evlist__for_each_mmap(evlist, pos, overwrite) \ argument
|
/linux/tools/perf/arch/powerpc/util/ |
H A D | kvm-stat.c | 110 static int is_tracepoint_available(const char *str, struct evlist *evlist) in is_tracepoint_available() 124 struct evlist *evlist) in ppc__setup_book3s_hv() 151 struct evlist *evlist = evlist__new(); in ppc__setup_kvm_tp() local
|
/linux/tools/perf/arch/arm64/util/ |
H A D | hisi-ptt.c | 33 struct evlist *evlist; member 97 struct evlist *evlist, in hisi_ptt_recording_options()
|
/linux/tools/perf/arch/arm/util/ |
H A D | cs-etm.c | 40 struct evlist *evlist; member 306 struct evlist *evlist, in cs_etm_recording_options() 483 struct evlist *evlist = ptr->evlist; in cs_etm_get_config() local 539 struct evlist *evlist) in cs_etm_info_priv_size()
|
/linux/tools/lib/perf/Documentation/examples/ |
H A D | counting.c | 21 struct perf_evlist *evlist; in main() local
|