Home
last modified time | relevance | path

Searched refs:perf_event (Results 1 – 25 of 55) sorted by relevance

123

/external/linux-tools-perf/perf-3.12.0/include/linux/
Dhw_breakpoint.h31 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) in hw_breakpoint_addr()
36 static inline int hw_breakpoint_type(struct perf_event *bp) in hw_breakpoint_type()
41 static inline unsigned long hw_breakpoint_len(struct perf_event *bp) in hw_breakpoint_len()
46 extern struct perf_event *
54 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr);
59 extern struct perf_event *
65 extern struct perf_event * __percpu *
70 extern int register_perf_hw_breakpoint(struct perf_event *bp);
71 extern int __register_perf_hw_breakpoint(struct perf_event *bp);
72 extern void unregister_hw_breakpoint(struct perf_event *bp);
[all …]
Dperf_event.h162 struct perf_event;
196 int (*event_init) (struct perf_event *event);
206 int (*add) (struct perf_event *event, int flags);
207 void (*del) (struct perf_event *event, int flags);
214 void (*start) (struct perf_event *event, int flags);
215 void (*stop) (struct perf_event *event, int flags);
220 void (*read) (struct perf_event *event);
248 int (*event_idx) (struct perf_event *event); /*optional */
269 typedef void (*perf_overflow_handler_t)(struct perf_event *,
295 struct perf_event { struct
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Devent.h172 union perf_event { union
193 union perf_event *event,
214 union perf_event *event,
218 union perf_event *event,
222 union perf_event *event,
226 union perf_event *event,
230 union perf_event *event,
234 union perf_event *event,
238 union perf_event *event,
243 int perf_event__preprocess_sample(const union perf_event *self,
[all …]
Dtool.h7 union perf_event;
14 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event,
18 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event,
22 union perf_event *event,
25 typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event,
Dmachine.h14 union perf_event;
43 int machine__process_comm_event(struct machine *machine, union perf_event *event);
44 int machine__process_exit_event(struct machine *machine, union perf_event *event);
45 int machine__process_fork_event(struct machine *machine, union perf_event *event);
46 int machine__process_lost_event(struct machine *machine, union perf_event *event);
47 int machine__process_mmap_event(struct machine *machine, union perf_event *event);
48 int machine__process_mmap2_event(struct machine *machine, union perf_event *event);
49 int machine__process_event(struct machine *machine, union perf_event *event);
Devent.c95 union perf_event *event, pid_t pid, in perf_event__synthesize_comm()
170 union perf_event *event, in perf_event__synthesize_mmap_events()
253 union perf_event *event = zalloc((sizeof(event->mmap) + in perf_event__synthesize_modules()
302 static int __event__synthesize_thread(union perf_event *comm_event, in __event__synthesize_thread()
303 union perf_event *mmap_event, in __event__synthesize_thread()
322 union perf_event *comm_event, *mmap_event; in perf_event__synthesize_thread_map()
381 union perf_event *comm_event, *mmap_event; in perf_event__synthesize_threads()
459 union perf_event *event = zalloc((sizeof(event->mmap) + in perf_event__synthesize_kernel_mmap()
508 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm()
514 union perf_event *event, in perf_event__process_comm()
[all …]
Dsession.c203 union perf_event *event in process_event_synth_tracing_data_stub()
213 union perf_event *event __maybe_unused, in process_event_synth_attr_stub()
222 union perf_event *event __maybe_unused, in process_event_sample_stub()
232 union perf_event *event __maybe_unused, in process_event_stub()
241 union perf_event *event __maybe_unused, in process_finished_round_stub()
250 union perf_event *event,
310 static void swap_sample_id_all(union perf_event *event, void *data) in swap_sample_id_all()
319 static void perf_event__all64_swap(union perf_event *event, in perf_event__all64_swap()
326 static void perf_event__comm_swap(union perf_event *event, bool sample_id_all) in perf_event__comm_swap()
339 static void perf_event__mmap_swap(union perf_event *event, in perf_event__mmap_swap()
[all …]
Dheader.h135 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event,
142 union perf_event *event,
150 union perf_event *event,
Devlist.h24 union perf_event event_copy;
90 union perf_event *perf_evlist__mmap_read(struct perf_evlist *self, int idx);
145 int perf_evlist__parse_sample(struct perf_evlist *evlist, union perf_event *event,
Dtrace-event.h10 union perf_event;
68 void (*process_event) (union perf_event *event,
Dbuild-id.c20 union perf_event *event, in build_id__mark_dso_hit()
46 union perf_event *event, in perf_event__exit_del_thread()
Dsession.h65 int perf_session_queue_event(struct perf_session *s, union perf_event *event,
110 void perf_evsel__print_ip(struct perf_evsel *evsel, union perf_event *event,
Ddebug.h15 void trace_event(union perf_event *event);
Dbuild-id.h15 int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
Dmachine.c317 int machine__process_comm_event(struct machine *machine, union perf_event *event) in machine__process_comm_event()
335 union perf_event *event) in machine__process_lost_event()
875 union perf_event *event) in machine__set_kernel_mmap_len()
905 union perf_event *event) in machine__process_kernel_mmap_event()
1001 union perf_event *event) in machine__process_mmap2_event()
1048 int machine__process_mmap_event(struct machine *machine, union perf_event *event) in machine__process_mmap_event()
1105 int machine__process_fork_event(struct machine *machine, union perf_event *event) in machine__process_fork_event()
1131 union perf_event *event) in machine__process_exit_event()
1144 int machine__process_event(struct machine *machine, union perf_event *event) in machine__process_event()
Ddebug.c50 void trace_event(union perf_event *event) in trace_event()
Devlist.c436 union perf_event *event, u64 *id) in perf_evlist__event2id()
457 union perf_event *event) in perf_evlist__event2evsel()
489 union perf_event *perf_evlist__mmap_read(struct perf_evlist *evlist, int idx) in perf_evlist__mmap_read()
495 union perf_event *event = NULL; in perf_evlist__mmap_read()
520 event = (union perf_event *)&data[old & md->mask]; in perf_evlist__mmap_read()
1054 int perf_evlist__parse_sample(struct perf_evlist *evlist, union perf_event *event, in perf_evlist__parse_sample()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dparse-no-sample-id-all.c11 static int process_event(struct perf_evlist **pevlist, union perf_event *event) in process_event()
37 static int process_events(union perf_event **events, size_t count) in process_events()
97 union perf_event *events[] = { in test__parse_no_sample_id_all()
98 (union perf_event *)&event1, in test__parse_no_sample_id_all()
99 (union perf_event *)&event2, in test__parse_no_sample_id_all()
100 (union perf_event *)&event3, in test__parse_no_sample_id_all()
Dhists_link.c100 union perf_event fake_mmap_event = { in setup_fake_machine()
213 const union perf_event event = { in add_hist_entries()
235 const union perf_event event = { in add_hist_entries()
Dcode-reading.c249 union perf_event *event, struct state *state) in process_sample_event()
273 union perf_event *event, struct state *state) in process_event()
287 union perf_event *event; in process_events()
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-inject.c37 union perf_event event[0];
41 union perf_event *event) in perf_event__repipe_synth()
63 union perf_event *event, in perf_event__repipe_op2_synth()
71 union perf_event *event, in perf_event__repipe_attr()
84 union perf_event *event, in perf_event__repipe()
92 union perf_event *event,
98 union perf_event *event, in perf_event__repipe_sample()
114 union perf_event *event, in perf_event__repipe_mmap()
127 union perf_event *event, in perf_event__repipe_mmap2()
140 union perf_event *event, in perf_event__repipe_fork()
[all …]
DMANIFEST6 include/linux/perf_event.h
23 include/uapi/linux/perf_event.h
Dbuiltin-mem.c62 union perf_event *event, in dump_raw_samples()
112 union perf_event *event, in process_sample_event()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/
Dtrace-event-python.c234 static void python_process_tracepoint(union perf_event *perf_event in python_process_tracepoint()
354 static void python_process_general_event(union perf_event *perf_event in python_process_general_event()
414 static void python_process_event(union perf_event *perf_event, in python_process_event() argument
423 python_process_tracepoint(perf_event, sample, evsel, in python_process_event()
428 python_process_general_event(perf_event, sample, evsel, in python_process_event()
Dtrace-event-perl.c260 static void perl_process_tracepoint(union perf_event *perf_event __maybe_unused, in perl_process_tracepoint()
350 static void perl_process_event_generic(union perf_event *event, in perl_process_event_generic()
377 static void perl_process_event(union perf_event *event, in perl_process_event()

123