Home
last modified time | relevance | path

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

12

/external/linux-tools-perf/util/include/linux/added/
Dhw_breakpoint.h58 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) in hw_breakpoint_addr()
63 static inline int hw_breakpoint_type(struct perf_event *bp) in hw_breakpoint_type()
68 static inline unsigned long hw_breakpoint_len(struct perf_event *bp) in hw_breakpoint_len()
73 extern struct perf_event *
80 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr);
85 extern struct perf_event *
90 extern struct perf_event * __percpu *
94 extern int register_perf_hw_breakpoint(struct perf_event *bp);
95 extern int __register_perf_hw_breakpoint(struct perf_event *bp);
96 extern void unregister_hw_breakpoint(struct perf_event *bp);
[all …]
Dperf_event.h599 struct perf_event;
631 int (*event_init) (struct perf_event *event);
641 int (*add) (struct perf_event *event, int flags);
642 void (*del) (struct perf_event *event, int flags);
649 void (*start) (struct perf_event *event, int flags);
650 void (*stop) (struct perf_event *event, int flags);
655 void (*read) (struct perf_event *event);
720 typedef void (*perf_overflow_handler_t)(struct perf_event *, int,
759 struct perf_event { struct
767 struct perf_event *group_leader; argument
[all …]
/external/kernel-headers/original/linux/
Dperf_event.h549 struct perf_event;
557 int (*enable) (struct perf_event *event);
558 void (*disable) (struct perf_event *event);
559 int (*start) (struct perf_event *event);
560 void (*stop) (struct perf_event *event);
561 void (*read) (struct perf_event *event);
562 void (*unthrottle) (struct perf_event *event);
618 typedef void (*perf_overflow_handler_t)(struct perf_event *, int,
640 struct perf_event { struct
648 struct perf_event *group_leader; argument
[all …]
/external/linux-tools-perf/util/
Devent.h133 union perf_event { union
153 typedef int (*perf_event__handler_synth_t)(union perf_event *event,
155 typedef int (*perf_event__handler_t)(union perf_event *event,
173 int perf_event__process_comm(union perf_event *event, struct perf_sample *sample,
175 int perf_event__process_lost(union perf_event *event, struct perf_sample *sample,
177 int perf_event__process_mmap(union perf_event *event, struct perf_sample *sample,
179 int perf_event__process_task(union perf_event *event, struct perf_sample *sample,
181 int perf_event__process(union perf_event *event, struct perf_sample *sample,
185 int perf_event__preprocess_sample(const union perf_event *self,
193 int perf_event__parse_sample(const union perf_event *event, u64 type,
Dsession.c293 static int process_event_synth_stub(union perf_event *event __used, in process_event_synth_stub()
300 static int process_event_sample_stub(union perf_event *event __used, in process_event_sample_stub()
309 static int process_event_stub(union perf_event *event __used, in process_event_stub()
317 static int process_finished_round_stub(union perf_event *event __used, in process_finished_round_stub()
325 static int process_finished_round(union perf_event *event,
376 static void perf_event__all64_swap(union perf_event *event) in perf_event__all64_swap()
382 static void perf_event__comm_swap(union perf_event *event) in perf_event__comm_swap()
388 static void perf_event__mmap_swap(union perf_event *event) in perf_event__mmap_swap()
397 static void perf_event__task_swap(union perf_event *event) in perf_event__task_swap()
406 static void perf_event__read_swap(union perf_event *event) in perf_event__read_swap()
[all …]
Dsession.h69 typedef int (*event_sample)(union perf_event *event, struct perf_sample *sample,
71 typedef int (*event_op)(union perf_event *self, struct perf_sample *sample,
73 typedef int (*event_synth_op)(union perf_event *self,
75 typedef int (*event_op2)(union perf_event *self, struct perf_session *session,
167 const union perf_event *event, in perf_session__parse_sample()
178 void perf_session__print_symbols(union perf_event *event,
Dheader.h97 int perf_event__process_attr(union perf_event *event, struct perf_session *session);
104 int perf_event__process_event_type(union perf_event *event,
110 int perf_event__process_tracing_data(union perf_event *event,
117 int perf_event__process_build_id(union perf_event *event,
Devent.c55 static pid_t perf_event__synthesize_comm(union perf_event *event, pid_t pid, in perf_event__synthesize_comm()
144 static int perf_event__synthesize_mmap_events(union perf_event *event, in perf_event__synthesize_mmap_events()
230 union perf_event *event = zalloc((sizeof(event->mmap) + in perf_event__synthesize_modules()
282 static int __event__synthesize_thread(union perf_event *comm_event, in __event__synthesize_thread()
283 union perf_event *mmap_event, in __event__synthesize_thread()
299 union perf_event *comm_event, *mmap_event; in perf_event__synthesize_thread_map()
331 union perf_event *comm_event, *mmap_event; in perf_event__synthesize_threads()
406 union perf_event *event = zalloc((sizeof(event->mmap) + in perf_event__synthesize_kernel_mmap()
459 int perf_event__process_comm(union perf_event *event, in perf_event__process_comm()
475 int perf_event__process_lost(union perf_event *event, in perf_event__process_lost()
[all …]
Devlist.h29 union perf_event event_copy;
56 union perf_event *perf_evlist__mmap_read(struct perf_evlist *self, int idx);
Dbuild-id.c21 static int build_id__mark_dso_hit(union perf_event *event, in build_id__mark_dso_hit()
45 static int perf_event__exit_del_thread(union perf_event *event, in perf_event__exit_del_thread()
Ddebug.h12 void trace_event(union perf_event *event);
Dheader.c980 union perf_event *ev; in perf_event__synthesize_attr()
1031 int perf_event__process_attr(union perf_event *event, in perf_event__process_attr()
1075 union perf_event ev; in perf_event__synthesize_event_type()
1123 int perf_event__process_event_type(union perf_event *event, in perf_event__process_event_type()
1137 union perf_event ev; in perf_event__synthesize_tracing_data()
1166 int perf_event__process_tracing_data(union perf_event *event, in perf_event__process_tracing_data()
1206 union perf_event ev; in perf_event__synthesize_build_id()
1235 int perf_event__process_build_id(union perf_event *event, in perf_event__process_build_id()
Devsel.c300 static int perf_event__parse_id_sample(const union perf_event *event, u64 type, in perf_event__parse_id_sample()
338 static bool sample_overlap(const union perf_event *event, in sample_overlap()
349 int perf_event__parse_sample(const union perf_event *event, u64 type, in perf_event__parse_sample()
Dtrace-event-scripting.c39 static void process_event_unsupported(union perf_event *event __unused, in process_event_unsupported()
Ddebug.c70 void trace_event(union perf_event *event) in trace_event()
Devlist.c175 union perf_event *perf_evlist__mmap_read(struct perf_evlist *evlist, int idx) in perf_evlist__mmap_read()
183 union perf_event *event = NULL; in perf_evlist__mmap_read()
208 event = (union perf_event *)&data[old & md->mask]; in perf_evlist__mmap_read()
Dcallchain.h106 const union perf_event *event);
Dtrace-event.h285 void (*process_event) (union perf_event *event,
Dpython.c38 union perf_event event;
225 static PyObject *pyrf_event__new(union perf_event *event) in pyrf_event__new()
675 union perf_event *event; in pyrf_evlist__read_on_cpu()
/external/linux-tools-perf/
Dbuiltin-inject.c19 static int perf_event__repipe_synth(union perf_event *event, in perf_event__repipe_synth()
39 static int perf_event__repipe(union perf_event *event, in perf_event__repipe()
46 static int perf_event__repipe_sample(union perf_event *event, in perf_event__repipe_sample()
54 static int perf_event__repipe_mmap(union perf_event *event, in perf_event__repipe_mmap()
66 static int perf_event__repipe_task(union perf_event *event, in perf_event__repipe_task()
78 static int perf_event__repipe_tracing_data(union perf_event *event, in perf_event__repipe_tracing_data()
133 static int perf_event__inject_buildid(union perf_event *event, in perf_event__inject_buildid()
DMANIFEST2 include/linux/perf_event.h
Dandroid.patch299 union perf_event *event;
388 #include "../../include/linux/perf_event.h"
390 +#include "util/include/linux/added/perf_event.h"
604 #include "../../../include/linux/perf_event.h"
608 +#include "include/linux/added/perf_event.h"
792 #include "../../../include/linux/perf_event.h"
794 +#include "include/linux/added/perf_event.h"
1048 #include "../../../include/linux/perf_event.h"
1050 +#include "include/linux/added/perf_event.h"
1133 #include "../../../include/linux/perf_event.h"
[all …]
Dbuiltin-report.c110 static int process_sample_event(union perf_event *event, in process_sample_event()
138 static int process_read_event(union perf_event *event, in process_read_event()
Dbuiltin-timechart.c284 static int process_comm_event(union perf_event *event, in process_comm_event()
292 static int process_fork_event(union perf_event *event, in process_fork_event()
300 static int process_exit_event(union perf_event *event, in process_exit_event()
497 static int process_sample_event(union perf_event *event __used, in process_sample_event()
Dbuiltin-annotate.c87 static int process_sample_event(union perf_event *event, in process_sample_event()

12