/linux-master/tools/perf/util/ |
H A D | s390-cpumsf.c | 155 #include "evsel.h" 921 struct evsel *ev_bc000; 1053 struct evsel *evsel) 1055 return evsel->core.attr.type == PERF_TYPE_RAW && 1056 evsel->core.attr.config == PERF_EVENT_CPUM_SF_DIAG; 1052 s390_cpumsf_evsel_is_auxtrace(struct perf_session *session __maybe_unused, struct evsel *evsel) argument
|
H A D | iostat.h | 31 typedef void (*iostat_print_counter_t)(struct perf_stat_config *, struct evsel *, void *); 41 void iostat_print_metric(struct perf_stat_config *config, struct evsel *evsel,
|
H A D | iostat.c | 35 struct evsel *evsel __maybe_unused,
|
H A D | counts.c | 5 #include "evsel.h" 53 void evsel__reset_counts(struct evsel *evsel) argument 55 perf_counts__reset(evsel->counts); 58 int evsel__alloc_counts(struct evsel *evsel) argument 60 struct perf_cpu_map *cpus = evsel__cpus(evsel); 61 int nthreads = perf_thread_map__nr(evsel->core.threads); 63 evsel->counts = perf_counts__new(perf_cpu_map__nr(cpus), nthreads); 64 return evsel 67 evsel__free_counts(struct evsel *evsel) argument [all...] |
H A D | counts.h | 7 #include <perf/evsel.h> 10 struct evsel; 41 void evsel__reset_counts(struct evsel *evsel); 42 int evsel__alloc_counts(struct evsel *evsel); 43 void evsel__free_counts(struct evsel *evsel);
|
H A D | synthetic-events.h | 14 struct evsel; 50 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 51 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 52 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 53 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
|
H A D | tool.h | 12 struct evsel; 20 struct evsel *evsel, struct machine *machine);
|
H A D | build-id.h | 39 struct perf_sample *sample, struct evsel *evsel, 45 struct perf_sample *sample, struct evsel *evsel,
|
H A D | sideband_evlist.c | 5 #include "util/evsel.h" 18 struct evsel *evsel; local 25 evsel = evsel__new_idx(attr, evlist->core.nr_entries); 26 if (!evsel) 29 evsel->side_band.cb = cb; 30 evsel->side_band.data = data; 31 evlist__add(evlist, evsel); 65 struct evsel *evsel local 86 struct evsel *evsel; local [all...] |
H A D | dlfilter.h | 13 struct evsel; 33 struct evsel *evsel; member in struct:dlfilter 61 struct evsel *evsel, 72 struct evsel *evsel, 79 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, false); 85 struct evsel *evsel, 69 dlfilter__filter_event(struct dlfilter *d, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine, struct addr_location *al, struct addr_location *addr_al) argument 82 dlfilter__filter_event_early(struct dlfilter *d, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine, struct addr_location *al, struct addr_location *addr_al) argument [all...] |
H A D | stream.c | 132 struct evsel *pos;
|
/linux-master/tools/perf/tests/ |
H A D | perf-record.c | 10 #include "evsel.h" 57 struct evsel *evsel; local 108 evsel = evlist__first(evlist); 109 evsel__set_sample_bit(evsel, CPU); 110 evsel__set_sample_bit(evsel, TID); 111 evsel__set_sample_bit(evsel, TIME);
|
H A D | openat-syscall-tp-fields.c | 9 #include "evsel.h" 42 struct evsel *evsel; local 51 evsel = evsel__newtp("syscalls", "sys_enter_openat"); 52 if (IS_ERR(evsel)) { 57 evlist__add(evlist, evsel); 65 evsel__config(evsel, &opts, NULL); 113 err = evsel__parse_sample(evsel, event, &sample); 119 tp_flags = evsel__intval(evsel, &sample, "flags");
|
H A D | openat-syscall.c | 12 #include "evsel.h" 21 struct evsel *evsel; local 32 evsel = evsel__newtp("syscalls", "sys_enter_openat"); 33 if (IS_ERR(evsel)) { 40 if (evsel__open_per_thread(evsel, threads) < 0) { 53 if (evsel__read_on_cpu(evsel, 0, 0) < 0) { 58 if (perf_counts(evsel->counts, 0, 0)->val != nr_openat_calls) { 60 nr_openat_calls, perf_counts(evsel->counts, 0, 0)->val); 66 perf_evsel__close_fd(&evsel [all...] |
H A D | event_update.c | 7 #include "evsel.h" 82 struct evsel *evsel; local 88 evsel = evlist__first(evlist); 91 !perf_evsel__alloc_id(&evsel->core, 1, 1)); 93 perf_evlist__id_add(&evlist->core, &evsel->core, 0, 0, 123); 95 free((char *)evsel->unit); 96 evsel->unit = strdup("KRAVA"); 99 !perf_event__synthesize_event_update_unit(NULL, evsel, process_event_unit)); 101 evsel [all...] |
H A D | event-times.c | 11 #include "evsel.h" 19 struct evsel *evsel = evlist__last(evlist); local 41 evsel->core.attr.enable_on_exec = 1; 61 struct evsel *evsel = evlist__last(evlist); local 73 evsel->core.attr.disabled = 1; 75 err = evsel__open_per_thread(evsel, threads); 82 return evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; 87 struct evsel *evse local 107 struct evsel *evsel = evlist__last(evlist); local 114 struct evsel *evsel = evlist__last(evlist); local 143 struct evsel *evsel = evlist__last(evlist); local 168 struct evsel *evsel; local [all...] |
H A D | evsel-tp-sched.c | 4 #include "evsel.h" 8 static int evsel__test_field(struct evsel *evsel, const char *name, int size, bool should_be_signed) argument 10 struct tep_format_field *field = evsel__field(evsel, name); 15 pr_debug("%s: \"%s\" field not found!\n", evsel->name, name); 22 evsel->name, name, is_signed, should_be_signed); 28 evsel->name, name, field->size, size); 38 struct evsel *evsel = evsel__newtp("sched", "sched_switch"); local 41 if (IS_ERR(evsel)) { [all...] |
H A D | backward-ring-buffer.c | 90 struct evsel *evsel __maybe_unused;
|
/linux-master/tools/perf/arch/arm64/util/ |
H A D | hisi-ptt.c | 20 #include "../../../util/evsel.h" 103 struct evsel *evsel, *hisi_ptt_evsel = NULL; local 104 struct evsel *tracking_evsel; 108 evlist__for_each_entry(evlist, evsel) { 109 if (evsel->core.attr.type == hisi_ptt_pmu->type) { 114 evsel->core.attr.freq = 0; 115 evsel->core.attr.sample_period = 1; 116 evsel->needs_auxtrace_mmap = true; 117 hisi_ptt_evsel = evsel; [all...] |
/linux-master/tools/lib/perf/include/perf/ |
H A D | evsel.h | 29 LIBPERF_API void perf_evsel__delete(struct perf_evsel *evsel); 30 LIBPERF_API int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, 32 LIBPERF_API void perf_evsel__close(struct perf_evsel *evsel); 33 LIBPERF_API void perf_evsel__close_cpu(struct perf_evsel *evsel, int cpu_map_idx); 34 LIBPERF_API int perf_evsel__mmap(struct perf_evsel *evsel, int pages); 35 LIBPERF_API void perf_evsel__munmap(struct perf_evsel *evsel); 36 LIBPERF_API void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu_map_idx, int thread); 37 LIBPERF_API int perf_evsel__read(struct perf_evsel *evsel, int cpu_map_idx, int thread, 39 LIBPERF_API int perf_evsel__enable(struct perf_evsel *evsel); 40 LIBPERF_API int perf_evsel__enable_cpu(struct perf_evsel *evsel, in [all...] |
/linux-master/tools/perf/arch/x86/tests/ |
H A D | intel-cqm.c | 6 #include "evsel.h" 43 struct evsel *evsel = NULL; local 66 evsel = evlist__first(evlist); 67 if (!evsel) { 93 pe.type = evsel->attr.type; 94 pe.config = evsel->attr.config;
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | evsel.h | 5 bool evsel__sys_has_perf_metrics(const struct evsel *evsel);
|
/linux-master/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 11 #include "../../util/evsel.h" 91 struct evsel *pos;
|
/linux-master/tools/perf/python/ |
H A D | tracepoint.py | 8 class tracepoint(perf.evsel): 11 perf.evsel.__init__(self,
|
/linux-master/tools/perf/bench/ |
H A D | evlist-open-close.c | 10 #include "../util/evsel.h" 70 struct evsel *evsel; local 73 evlist__for_each_entry(evlist, evsel) 74 cnt += evsel->core.threads->nr * perf_cpu_map__nr(evsel->core.cpus);
|