Searched refs:evsel (Results 126 - 150 of 181) sorted by last modified time

12345678

/linux-master/tools/perf/arch/x86/util/
H A Dtopdown.c3 #include "util/evsel.h"
8 #include "evsel.h"
42 bool arch_topdown_sample_read(struct evsel *leader)
H A Dauxtrace.c25 struct evsel *evsel; local
32 evlist__for_each_entry(evlist, evsel) {
33 if (intel_pt_pmu && evsel->core.attr.type == intel_pt_pmu->type)
35 if (intel_bts_pmu && evsel->core.attr.type == intel_bts_pmu->type)
H A Diostat.c309 struct evsel *evsel = NULL; local
325 evlist__for_each_entry(evl, evsel) {
326 evsel->priv = list->rps[evsel->core.idx / metrics_count];
375 struct evsel *evsel; local
378 evlist__for_each_entry(evlist, evsel) {
379 if (rp != evsel->priv) {
380 rp = evsel
388 struct evsel *evsel; local
427 iostat_print_metric(struct perf_stat_config *config, struct evsel *evsel, struct perf_stat_output_ctx *out) argument
[all...]
H A Dkvm-stat.c5 #include "../../../util/evsel.h"
30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, argument
33 key->key = evsel__intval(evsel, sample, "gpa");
34 key->info = evsel__intval(evsel, sample, "type");
41 static bool mmio_event_begin(struct evsel *evsel, argument
45 if (kvm_exit_event(evsel))
49 if (evsel__name_is(evsel, "kvm:kvm_mmio") &&
50 evsel__intval(evsel, sampl
58 mmio_event_end(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument
92 ioport_event_get_key(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument
100 ioport_event_begin(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument
112 ioport_event_end(struct evsel *evsel, struct perf_sample *sample __maybe_unused, struct event_key *key __maybe_unused) argument
136 msr_event_get_key(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument
144 msr_event_begin(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument
156 msr_event_end(struct evsel *evsel, struct perf_sample *sample __maybe_unused, struct event_key *key __maybe_unused) argument
[all...]
/linux-master/tools/perf/arch/arm/util/
H A Dauxtrace.c103 int pmu_nr, struct evsel *evsel)
111 if (evsel->core.attr.type == pmus[i]->type)
124 struct evsel *evsel; local
139 evlist__for_each_entry(evlist, evsel) {
141 found_etm = find_pmu_for_event(&cs_etm_pmu, 1, evsel);
144 found_spe = find_pmu_for_event(arm_spe_pmus, nr_spes, evsel);
147 found_ptt = find_pmu_for_event(hisi_ptt_pmus, nr_ptts, evsel);
102 find_pmu_for_event(struct perf_pmu **pmus, int pmu_nr, struct evsel *evsel) argument
/linux-master/tools/lib/perf/include/internal/
H A Devsel.h15 * Per fd, to map back from PERF_SAMPLE_ID to evsel, only used when there are
21 struct perf_evsel *evsel; member in struct:perf_sample_id
80 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr,
82 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads);
83 void perf_evsel__close_fd(struct perf_evsel *evsel);
84 void perf_evsel__free_fd(struct perf_evsel *evsel);
85 int perf_evsel__read_size(struct perf_evsel *evsel);
86 int perf_evsel__apply_filter(struct perf_evsel *evsel, const char *filter);
88 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads);
89 void perf_evsel__free_id(struct perf_evsel *evsel);
[all...]
/linux-master/tools/perf/util/
H A Dtrace-event-scripting.c18 #include "evsel.h"
27 struct evsel *evsel,
34 if (evsel->tp_format)
35 c->pevent = evsel->tp_format->tep;
39 c->evsel = evsel;
56 struct evsel *evsel __maybe_unused,
24 scripting_context__update(struct scripting_context *c, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument
H A Dtopdown.c5 __weak bool arch_topdown_sample_read(struct evsel *leader __maybe_unused)
H A Dtopdown.h7 struct evsel;
9 bool arch_topdown_sample_read(struct evsel *leader);
H A Dkvm-stat.h18 struct evsel;
57 void (*get_key)(struct evsel *evsel,
64 bool (*is_begin_event)(struct evsel *evsel,
67 bool (*is_end_event)(struct evsel *evsel,
118 void exit_event_get_key(struct evsel *evsel,
121 bool exit_event_begin(struct evsel *evse
[all...]
H A Dbpf-filter.h18 struct evsel;
25 int perf_bpf_filter__prepare(struct evsel *evsel);
26 int perf_bpf_filter__destroy(struct evsel *evsel);
27 u64 perf_bpf_filter__lost_count(struct evsel *evsel);
36 static inline int perf_bpf_filter__prepare(struct evsel *evsel __maybe_unused)
40 static inline int perf_bpf_filter__destroy(struct evsel *evse
[all...]
H A Devswitch.h9 struct evsel;
13 struct evsel *on, *off;
21 bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel);
H A Ddata-convert-bt.c28 #include "evsel.h"
426 struct evsel *evsel,
429 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields;
430 struct tep_format_field *fields = evsel->tp_format->format.fields;
597 struct evsel *evsel,
600 u64 type = evsel->core.attr.sample_type;
766 struct evsel *evsel)
423 add_tracepoint_values(struct ctf_writer *cw, struct bt_ctf_event_class *event_class, struct bt_ctf_event *event, struct evsel *evsel, struct perf_sample *sample) argument
595 add_generic_values(struct ctf_writer *cw, struct bt_ctf_event *event, struct evsel *evsel, struct perf_sample *sample) argument
765 get_sample_cpu(struct ctf_writer *cw, struct perf_sample *sample, struct evsel *evsel) argument
795 process_sample_event(struct perf_tool *tool, union perf_event *_event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine __maybe_unused) argument
1063 add_tracepoint_types(struct ctf_writer *cw, struct evsel *evsel, struct bt_ctf_event_class *class) argument
1097 add_generic_types(struct ctf_writer *cw, struct evsel *evsel, struct bt_ctf_event_class *event_class) argument
1163 add_event(struct ctf_writer *cw, struct evsel *evsel) argument
1215 struct evsel *evsel; local
1322 struct evsel *evsel; local
[all...]
H A Dbpf_counter.h14 struct evsel;
18 typedef int (*bpf_counter_evsel_op)(struct evsel *evsel);
19 typedef int (*bpf_counter_evsel_target_op)(struct evsel *evsel,
21 typedef int (*bpf_counter_evsel_install_pe_op)(struct evsel *evsel,
41 int bpf_counter__load(struct evsel *evsel, struct target *target);
42 int bpf_counter__enable(struct evsel *evse
[all...]
H A Dbpf_counter_cgroup.c23 #include "evsel.h"
39 static struct evsel *cgrp_switch;
47 struct evsel *evsel; local
112 evlist__for_each_entry(evlist, evsel) {
113 if (cgrp == NULL || evsel->cgrp == leader_cgrp) {
114 leader_cgrp = evsel->cgrp;
115 evsel->cgrp = NULL;
118 err = evsel__open_per_cpu(evsel, evsel
170 bperf_cgrp__load(struct evsel *evsel, struct target *target __maybe_unused) argument
211 bperf_cgrp__enable(struct evsel *evsel) argument
222 bperf_cgrp__disable(struct evsel *evsel) argument
233 bperf_cgrp__read(struct evsel *evsel) argument
277 bperf_cgrp__destroy(struct evsel *evsel) argument
[all...]
/linux-master/tools/perf/ui/gtk/
H A Dhists.c5 #include "../evsel.h"
596 struct evsel *pos;
/linux-master/tools/perf/tests/
H A Dpfm.c17 struct perf_evsel *evsel; local
20 perf_evlist__for_each_entry(evlist, evsel) {
H A Dsample-parsing.c13 #include "evsel.h"
198 struct evsel evsel = { local
277 evsel.core.attr.sample_regs_user = sample_regs;
280 evsel.core.attr.sample_regs_intr = sample_regs;
283 evsel.core.attr.branch_sample_type |= PERF_SAMPLE_BRANCH_HW_INDEX;
329 evsel.sample_size = __evsel__sample_size(sample_type);
331 err = evsel__parse_sample(&evsel, event, &sample_out);
338 if (!samples_same(&sample, &sample_out, sample_type, read_format, evsel.needs_swap)) {
345 evsel
[all...]
/linux-master/tools/perf/
H A Dbuiltin-kvm.c6 #include "util/evsel.h"
618 void exit_event_get_key(struct evsel *evsel, argument
623 key->key = evsel__intval(evsel, sample, kvm_exit_reason);
626 bool kvm_exit_event(struct evsel *evsel) argument
628 return evsel__name_is(evsel, kvm_exit_trace);
631 bool exit_event_begin(struct evsel *evsel, argument
634 if (kvm_exit_event(evsel)) {
642 kvm_entry_event(struct evsel *evsel) argument
647 exit_event_end(struct evsel *evsel, struct perf_sample *sample __maybe_unused, struct event_key *key __maybe_unused) argument
868 is_child_event(struct perf_kvm_stat *kvm, struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument
978 per_vcpu_record(struct thread *thread, struct evsel *evsel, struct perf_sample *sample) argument
999 handle_kvm_event(struct perf_kvm_stat *kvm, struct thread *thread, struct evsel *evsel, struct perf_sample *sample) argument
1190 process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument
[all...]
H A Dbuiltin-evlist.c11 #include "util/evsel.h"
32 struct evsel *pos;
/linux-master/tools/perf/arch/s390/util/
H A Dkvm-stat.c12 #include "../../util/evsel.h"
26 static void event_icpt_insn_get_key(struct evsel *evsel, argument
32 insn = evsel__intval(evsel, sample, "instruction");
37 static void event_sigp_get_key(struct evsel *evsel, argument
41 key->key = evsel__intval(evsel, sample, "order_code");
45 static void event_diag_get_key(struct evsel *evsel, argument
49 key->key = evsel__intval(evsel, sampl
53 event_icpt_prog_get_key(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument
[all...]
/linux-master/tools/perf/arch/arm64/util/
H A Dkvm-stat.c4 #include "../../../util/evsel.h"
24 static void event_get_key(struct evsel *evsel, argument
29 key->key = evsel__intval(evsel, sample, kvm_exit_reason);
38 key->key = evsel__intval(evsel, sample, kvm_trap_exit_reason);
43 static bool event_begin(struct evsel *evsel, argument
47 return evsel__name_is(evsel, kvm_entry_trace);
50 static bool event_end(struct evsel *evsel, argument
[all...]
/linux-master/tools/lib/perf/include/perf/
H A Devlist.h14 struct perf_evsel *evsel);
16 struct perf_evsel *evsel);
20 struct perf_evsel *evsel);
/linux-master/tools/lib/perf/
H A DMakefile190 HDRS := bpf_perf.h core.h cpumap.h threadmap.h evlist.h evsel.h event.h mmap.h
191 INTERNAL_HDRS := cpumap.h evlist.h evsel.h lib.h mmap.h rc_check.h threadmap.h xyarray.h
/linux-master/tools/perf/arch/x86/tests/
H A Dsample-parsing.c11 #include "evsel.h"
40 struct evsel evsel = { local
90 evsel.sample_size = __evsel__sample_size(sample_type);
92 err = evsel__parse_sample(&evsel, event, &sample_out);

Completed in 222 milliseconds

12345678