Home
last modified time | relevance | path

Searched refs:perf_evsel (Results 1 – 25 of 103) sorted by relevance

12345

/tools/perf/util/
Devsel.h14 struct perf_evsel;
23 struct perf_evsel *evsel;
85 struct perf_evsel { struct
126 struct perf_evsel *leader; argument
143 static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus() argument
148 static inline int perf_evsel__nr_cpus(struct perf_evsel *evsel) in perf_evsel__nr_cpus()
156 void perf_evsel__compute_deltas(struct perf_evsel *evsel, int cpu, int thread,
160 int (*init)(struct perf_evsel *evsel),
161 void (*fini)(struct perf_evsel *evsel));
163 struct perf_evsel *perf_evsel__new_idx(struct perf_event_attr *attr, int idx);
[all …]
Devlist.h95 struct perf_evsel *selected;
113 void perf_evlist__add(struct perf_evlist *evlist, struct perf_evsel *entry);
114 void perf_evlist__remove(struct perf_evlist *evlist, struct perf_evsel *evsel);
142 struct perf_evsel *
145 struct perf_evsel *
149 void perf_evlist__id_add(struct perf_evlist *evlist, struct perf_evsel *evsel,
152 struct perf_evsel *evsel,
161 struct perf_evsel *perf_evlist__id2evsel(struct perf_evlist *evlist, u64 id);
162 struct perf_evsel *perf_evlist__id2evsel_strict(struct perf_evlist *evlist,
226 struct perf_evsel *evsel, int idx);
[all …]
Dkvm-stat.h46 void (*get_key)(struct perf_evsel *evsel,
53 bool (*is_begin_event)(struct perf_evsel *evsel,
56 bool (*is_end_event)(struct perf_evsel *evsel,
110 void exit_event_get_key(struct perf_evsel *evsel,
113 bool exit_event_begin(struct perf_evsel *evsel,
116 bool exit_event_end(struct perf_evsel *evsel,
123 bool kvm_exit_event(struct perf_evsel *evsel);
124 bool kvm_entry_event(struct perf_evsel *evsel);
Dstat.h63 struct perf_evsel;
66 bool __perf_evsel_stat__is(struct perf_evsel *evsel,
72 void perf_stat_evsel_id_init(struct perf_evsel *evsel);
82 void perf_stat__update_shadow_stats(struct perf_evsel *counter, u64 *count,
90 void perf_stat__print_shadow_stats(struct perf_evsel *evsel,
99 struct perf_evsel *counter);
Dstat.c67 bool __perf_evsel_stat__is(struct perf_evsel *evsel, in __perf_evsel_stat__is()
90 void perf_stat_evsel_id_init(struct perf_evsel *evsel) in perf_stat_evsel_id_init()
105 static void perf_evsel__reset_stat_priv(struct perf_evsel *evsel) in perf_evsel__reset_stat_priv()
116 static int perf_evsel__alloc_stat_priv(struct perf_evsel *evsel) in perf_evsel__alloc_stat_priv()
125 static void perf_evsel__free_stat_priv(struct perf_evsel *evsel) in perf_evsel__free_stat_priv()
130 static int perf_evsel__alloc_prev_raw_counts(struct perf_evsel *evsel, in perf_evsel__alloc_prev_raw_counts()
142 static void perf_evsel__free_prev_raw_counts(struct perf_evsel *evsel) in perf_evsel__free_prev_raw_counts()
148 static int perf_evsel__alloc_stats(struct perf_evsel *evsel, bool alloc_raw) in perf_evsel__alloc_stats()
163 struct perf_evsel *evsel; in perf_evlist__alloc_stats()
179 struct perf_evsel *evsel; in perf_evlist__free_stats()
[all …]
Dcounts.h33 void perf_evsel__reset_counts(struct perf_evsel *evsel);
34 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus, int nthreads);
35 void perf_evsel__free_counts(struct perf_evsel *evsel);
Devlist.c94 struct perf_evsel *first = perf_evlist__first(evlist); in perf_evlist__set_id_pos()
102 struct perf_evsel *evsel; in perf_evlist__update_id_pos()
112 struct perf_evsel *pos, *n; in perf_evlist__purge()
147 struct perf_evsel *evsel) in __perf_evlist__propagate_maps()
167 struct perf_evsel *evsel; in perf_evlist__propagate_maps()
173 void perf_evlist__add(struct perf_evlist *evlist, struct perf_evsel *entry) in perf_evlist__add()
186 void perf_evlist__remove(struct perf_evlist *evlist, struct perf_evsel *evsel) in perf_evlist__remove()
196 struct perf_evsel *evsel, *temp; in perf_evlist__splice_list_tail()
206 struct perf_evsel *evsel, *leader; in __perf_evlist__set_leader()
208 leader = list_entry(list->next, struct perf_evsel, node); in __perf_evlist__set_leader()
[all …]
Ddrv_configs.c22 perf_evsel__apply_drv_configs(struct perf_evsel *evsel, in perf_evsel__apply_drv_configs()
62 struct perf_evsel **err_evsel, in perf_evlist__apply_drv_configs()
65 struct perf_evsel *evsel; in perf_evlist__apply_drv_configs()
Dcounts.c37 void perf_evsel__reset_counts(struct perf_evsel *evsel) in perf_evsel__reset_counts()
42 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_counts()
48 void perf_evsel__free_counts(struct perf_evsel *evsel) in perf_evsel__free_counts()
Drecord.c9 typedef void (*setup_probe_fn_t)(struct perf_evsel *evsel);
14 struct perf_evsel *evsel; in perf_do_probe_api()
78 static void perf_probe_sample_identifier(struct perf_evsel *evsel) in perf_probe_sample_identifier()
83 static void perf_probe_comm_exec(struct perf_evsel *evsel) in perf_probe_comm_exec()
88 static void perf_probe_context_switch(struct perf_evsel *evsel) in perf_probe_context_switch()
135 struct perf_evsel *evsel; in perf_evlist__config()
167 struct perf_evsel *first = perf_evlist__first(evlist); in perf_evlist__config()
245 struct perf_evsel *evsel; in perf_evlist__can_select_event()
Devsel.c45 static int perf_evsel__no_extra_init(struct perf_evsel *evsel __maybe_unused) in perf_evsel__no_extra_init()
50 static void perf_evsel__no_extra_fini(struct perf_evsel *evsel __maybe_unused) in perf_evsel__no_extra_fini()
56 int (*init)(struct perf_evsel *evsel);
57 void (*fini)(struct perf_evsel *evsel);
59 .size = sizeof(struct perf_evsel),
65 int (*init)(struct perf_evsel *evsel), in perf_evsel__object_config()
66 void (*fini)(struct perf_evsel *evsel)) in perf_evsel__object_config()
165 void perf_evsel__calc_id_pos(struct perf_evsel *evsel) in perf_evsel__calc_id_pos()
171 void __perf_evsel__set_sample_bit(struct perf_evsel *evsel, in __perf_evsel__set_sample_bit()
181 void __perf_evsel__reset_sample_bit(struct perf_evsel *evsel, in __perf_evsel__reset_sample_bit()
[all …]
Ddb-export.h22 struct perf_evsel;
37 struct perf_evsel *evsel;
51 int (*export_evsel)(struct db_export *dbe, struct perf_evsel *evsel);
86 int db_export__evsel(struct db_export *dbe, struct perf_evsel *evsel);
101 struct perf_sample *sample, struct perf_evsel *evsel,
Dtop.h11 struct perf_evsel;
33 struct perf_evsel *sym_evsel;
Dheader.h111 struct perf_evsel *evsel,
114 struct perf_evsel *evsel,
117 struct perf_evsel *evsel,
120 struct perf_evsel *evsel,
Dannotate.h182 struct perf_evsel *evsel, bool full_paths,
191 struct perf_evsel *evsel, bool print_lines,
196 struct perf_evsel *evsel,
201 struct perf_evsel *evsel __maybe_unused, in symbol__tui_annotate()
Dtool.h11 struct perf_evsel;
19 struct perf_evsel *evsel, struct machine *machine);
/tools/perf/arch/x86/util/
Dkvm-stat.c27 static void mmio_event_get_key(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_get_key()
38 static bool mmio_event_begin(struct perf_evsel *evsel, in mmio_event_begin()
55 static bool mmio_event_end(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_end()
89 static void ioport_event_get_key(struct perf_evsel *evsel, in ioport_event_get_key()
97 static bool ioport_event_begin(struct perf_evsel *evsel, in ioport_event_begin()
109 static bool ioport_event_end(struct perf_evsel *evsel, in ioport_event_end()
/tools/perf/tests/
Devent-times.c13 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__enable_on_exec()
55 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_disabled()
81 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_enabled()
101 struct perf_evsel *evsel = perf_evlist__last(evlist); in detach__disable()
108 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_disabled()
137 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_enabled()
162 struct perf_evsel *evsel; in test_times()
Dparse-events.c17 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_tracepoint()
30 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi()
48 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_raw()
58 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_numeric()
68 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name()
79 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name_config()
100 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_alias()
111 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_genhw()
121 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint()
135 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint_x()
[all …]
Devsel-tp-sched.c7 static int perf_evsel__test_field(struct perf_evsel *evsel, const char *name, in perf_evsel__test_field()
37 struct perf_evsel *evsel = perf_evsel__newtp("sched", "sched_switch"); in test__perf_evsel__tp_sched_test()
/tools/perf/arch/s390/util/
Dkvm-stat.c27 static void event_icpt_insn_get_key(struct perf_evsel *evsel, in event_icpt_insn_get_key()
38 static void event_sigp_get_key(struct perf_evsel *evsel, in event_sigp_get_key()
46 static void event_diag_get_key(struct perf_evsel *evsel, in event_diag_get_key()
54 static void event_icpt_prog_get_key(struct perf_evsel *evsel, in event_icpt_prog_get_key()
/tools/perf/ui/gtk/
Dgtk.h54 struct perf_evsel;
63 struct perf_evsel *evsel,
/tools/perf/
Dbuiltin-inject.c215 struct perf_evsel *evsel,
221 struct perf_evsel *evsel, in perf_event__repipe_sample()
414 struct perf_evsel *evsel __maybe_unused, in perf_event__inject_buildid()
457 struct perf_evsel *evsel __maybe_unused, in perf_inject__sched_process_exit()
477 struct perf_evsel *evsel, in perf_inject__sched_switch()
501 struct perf_evsel *evsel, in perf_inject__sched_stat()
534 static int perf_evsel__check_stype(struct perf_evsel *evsel, in perf_evsel__check_stype()
552 struct perf_evsel *evsel __maybe_unused, in drop_sample()
561 struct perf_evsel *evsel; in strip_init()
569 static bool has_tracking(struct perf_evsel *evsel) in has_tracking()
[all …]
Dbuiltin-lock.c346 int (*acquire_event)(struct perf_evsel *evsel,
349 int (*acquired_event)(struct perf_evsel *evsel,
352 int (*contended_event)(struct perf_evsel *evsel,
355 int (*release_event)(struct perf_evsel *evsel,
395 static int report_lock_acquire_event(struct perf_evsel *evsel, in report_lock_acquire_event()
467 static int report_lock_acquired_event(struct perf_evsel *evsel, in report_lock_acquired_event()
530 static int report_lock_contended_event(struct perf_evsel *evsel, in report_lock_contended_event()
585 static int report_lock_release_event(struct perf_evsel *evsel, in report_lock_release_event()
655 static int perf_evsel__process_lock_acquire(struct perf_evsel *evsel, in perf_evsel__process_lock_acquire()
663 static int perf_evsel__process_lock_acquired(struct perf_evsel *evsel, in perf_evsel__process_lock_acquired()
[all …]
/tools/perf/arch/powerpc/util/
Dkvm-stat.c31 static void hcall_event_get_key(struct perf_evsel *evsel, in hcall_event_get_key()
54 static bool hcall_event_end(struct perf_evsel *evsel, in hcall_event_end()
61 static bool hcall_event_begin(struct perf_evsel *evsel, in hcall_event_begin()

12345