/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | trace-event.h | 14 extern struct pevent *perf_pevent; 18 struct pevent *read_trace_init(int file_bigendian, int host_bigendian); 22 int parse_ftrace_file(struct pevent *pevent, char *buf, unsigned long size); 23 int parse_event_file(struct pevent *pevent, 26 struct pevent_record *trace_peek_data(struct pevent *pevent, int cpu); 32 void parse_proc_kallsyms(struct pevent *pevent, cha 83 struct pevent *pevent; member in struct:scripting_context [all...] |
H A D | trace-event-read.c | 100 static unsigned int read4(struct pevent *pevent) argument 106 return __data2host4(pevent, data); 109 static unsigned long long read8(struct pevent *pevent) argument 115 return __data2host8(pevent, data); 162 static int read_proc_kallsyms(struct pevent *pevent) argument 167 size = read4(pevent); 181 parse_proc_kallsyms(pevent, bu 187 read_ftrace_printk(struct pevent *pevent) argument 212 read_header_files(struct pevent *pevent) argument 263 read_ftrace_file(struct pevent *pevent, unsigned long long size) argument 281 read_event_file(struct pevent *pevent, char *sys, unsigned long long size) argument 300 read_ftrace_files(struct pevent *pevent) argument 318 read_event_files(struct pevent *pevent) argument 359 struct pevent *pevent; local [all...] |
H A D | trace-event-parse.c | 31 struct pevent *read_trace_init(int file_bigendian, int host_bigendian) 33 struct pevent *pevent = pevent_alloc(); local 35 if (pevent != NULL) { 36 pevent_set_flag(pevent, PEVENT_NSEC_OUTPUT); 37 pevent_set_file_bigendian(pevent, file_bigendian); 38 pevent_set_host_bigendian(pevent, host_bigendian); 41 return pevent; 47 struct pevent *pevent local 143 trace_parse_common_type(struct pevent *pevent, void *data) argument 151 trace_parse_common_pid(struct pevent *pevent, void *data) argument 180 parse_proc_kallsyms(struct pevent *pevent, char *file, unsigned int size __maybe_unused) argument 210 parse_ftrace_printk(struct pevent *pevent, char *file, unsigned int size __maybe_unused) argument 235 parse_ftrace_file(struct pevent *pevent, char *buf, unsigned long size) argument 240 parse_event_file(struct pevent *pevent, char *buf, unsigned long size, char *sys) argument 246 trace_find_next_event(struct pevent *pevent, struct event_format *event) argument [all...] |
H A D | trace-event-scripting.c | 65 static int python_generate_script_unsupported(struct pevent *pevent 129 static int perl_generate_script_unsupported(struct pevent *pevent
|
H A D | python.c | 86 static PyObject *pyrf_mmap_event__repr(struct pyrf_event *pevent) argument 94 pevent->event.mmap.pid, pevent->event.mmap.tid, 95 pevent->event.mmap.start, pevent->event.mmap.len, 96 pevent->event.mmap.pgoff, pevent->event.mmap.filename) < 0) { 128 static PyObject *pyrf_task_event__repr(struct pyrf_event *pevent) argument 132 pevent->event.header.type == PERF_RECORD_FORK ? "fork" : "exit", 133 pevent 161 pyrf_comm_event__repr(struct pyrf_event *pevent) argument 190 pyrf_throttle_event__repr(struct pyrf_event *pevent) argument 219 pyrf_lost_event__repr(struct pyrf_event *pevent) argument 254 pyrf_read_event__repr(struct pyrf_event *pevent) argument 283 pyrf_sample_event__repr(struct pyrf_event *pevent) argument 356 struct pyrf_event *pevent; local 823 struct pyrf_event *pevent = (struct pyrf_event *)pyevent; local [all...] |
H A D | session.h | 35 struct pevent *pevent; member in struct:perf_session
|
H A D | header.c | 2709 struct pevent *pevent) 2718 if (pevent == NULL) { 2723 event = pevent_find_event(pevent, evsel->attr.config); 2739 struct pevent *pevent) 2745 perf_evsel__prepare_tracepoint_event(pos, pevent)) 2832 perf_header__process_sections(header, fd, &session->pevent, 2836 session->pevent)) 3000 size_read = trace_report(session->fd, &session->pevent, 2708 perf_evsel__prepare_tracepoint_event(struct perf_evsel *evsel, struct pevent *pevent) argument 2738 perf_evlist__prepare_tracepoint_events(struct perf_evlist *evlist, struct pevent *pevent) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/ |
H A D | event-parse.h | 88 /* ----------------------- pevent ----------------------- */ 90 struct pevent; 98 typedef int (*pevent_plugin_load_func)(struct pevent *pevent); 119 * int PEVENT_PLUGIN_LOADER(struct pevent *pevent) 293 struct pevent *pevent; member in struct:event_format 383 struct pevent { struct 455 static inline void pevent_set_flag(struct pevent *peven argument 461 __data2host2(struct pevent *pevent, unsigned short data) argument 475 __data2host4(struct pevent *pevent, unsigned int data) argument 491 __data2host8(struct pevent *pevent, unsigned long long data) argument 605 pevent_get_cpus(struct pevent *pevent) argument 610 pevent_set_cpus(struct pevent *pevent, int cpus) argument 615 pevent_get_long_size(struct pevent *pevent) argument 620 pevent_set_long_size(struct pevent *pevent, int long_size) argument 625 pevent_get_page_size(struct pevent *pevent) argument 630 pevent_set_page_size(struct pevent *pevent, int _page_size) argument 635 pevent_is_file_bigendian(struct pevent *pevent) argument 640 pevent_set_file_bigendian(struct pevent *pevent, int endian) argument 645 pevent_is_host_bigendian(struct pevent *pevent) argument 650 pevent_set_host_bigendian(struct pevent *pevent, int endian) argument 655 pevent_is_latency_format(struct pevent *pevent) argument 660 pevent_set_latency_format(struct pevent *pevent, int lat) argument 805 struct pevent *pevent; member in struct:event_filter [all...] |
H A D | event-parse.c | 147 static int cmdline_init(struct pevent *pevent) argument 149 struct cmdline_list *cmdlist = pevent->cmdlist; 154 cmdlines = malloc(sizeof(*cmdlines) * pevent->cmdline_count); 168 qsort(cmdlines, pevent->cmdline_count, sizeof(*cmdlines), cmdline_cmp); 170 pevent->cmdlines = cmdlines; 171 pevent->cmdlist = NULL; 176 static const char *find_cmdline(struct pevent *pevent, int pid) argument 184 if (!pevent 205 pevent_pid_is_registered(struct pevent *pevent, int pid) argument 231 add_new_comm(struct pevent *pevent, const char *comm, int pid) argument 283 pevent_register_comm(struct pevent *pevent, const char *comm, int pid) argument 355 func_map_init(struct pevent *pevent) argument 395 find_func(struct pevent *pevent, unsigned long long addr) argument 420 pevent_find_function(struct pevent *pevent, unsigned long long addr) argument 441 pevent_find_function_address(struct pevent *pevent, unsigned long long addr) argument 462 pevent_register_function(struct pevent *pevent, char *func, unsigned long long addr, char *mod) argument 503 pevent_print_funcs(struct pevent *pevent) argument 545 printk_map_init(struct pevent *pevent) argument 577 find_printk(struct pevent *pevent, unsigned long long addr) argument 602 pevent_register_print_string(struct pevent *pevent, char *fmt, unsigned long long addr) argument 634 pevent_print_printk(struct pevent *pevent) argument 653 add_event(struct pevent *pevent, struct event_format *event) argument 2638 find_func_handler(struct pevent *pevent, char *func_name) argument 2653 remove_func_handler(struct pevent *pevent, char *func_name) argument 3032 pevent_read_number(struct pevent *pevent, const void *ptr, int size) argument 3079 get_common_info(struct pevent *pevent, const char *type, int *offset, int *size) argument 3105 __parse_common(struct pevent *pevent, void *data, int *size, int *offset, const char *name) argument 3118 trace_parse_common_type(struct pevent *pevent, void *data) argument 3125 parse_common_pid(struct pevent *pevent, void *data) argument 3132 parse_common_pc(struct pevent *pevent, void *data) argument 3139 parse_common_flags(struct pevent *pevent, void *data) argument 3146 parse_common_lock_depth(struct pevent *pevent, void *data) argument 3153 parse_common_migrate_disable(struct pevent *pevent, void *data) argument 3169 pevent_find_event(struct pevent *pevent, int id) argument 3202 pevent_find_event_by_name(struct pevent *pevent, const char *sys, const char *name) argument 3232 struct pevent *pevent = event->pevent; local 3488 struct pevent *pevent = event->pevent; local 3729 struct pevent *pevent = event->pevent; local 3880 struct pevent *pevent = event->pevent; local 4044 struct pevent *pevent = event->pevent; local 4292 pevent_data_lat_fmt(struct pevent *pevent, struct trace_seq *s, struct pevent_record *record) argument 4372 pevent_data_type(struct pevent *pevent, struct pevent_record *rec) argument 4384 pevent_data_event_from_type(struct pevent *pevent, int type) argument 4396 pevent_data_pid(struct pevent *pevent, struct pevent_record *rec) argument 4409 pevent_data_comm_from_pid(struct pevent *pevent, int pid) argument 4446 pevent_print_event(struct pevent *pevent, struct trace_seq *s, struct pevent_record *record) argument 4553 pevent_list_events(struct pevent *pevent, enum event_sort_type sort_type) argument 4845 pevent_parse_header_page(struct pevent *pevent, char *buf, unsigned long size, int long_size) argument 4898 find_event_handle(struct pevent *pevent, struct event_format *event) argument 4939 __pevent_parse_format(struct event_format **eventp, struct pevent *pevent, const char *buf, unsigned long size, const char *sys) argument 5079 pevent_parse_event(struct pevent *pevent, const char *buf, unsigned long size, const char *sys) argument 5359 pevent_register_print_function(struct pevent *pevent, pevent_func_handler func, enum pevent_func_arg_type ret_type, char *name, ...) argument 5453 pevent_register_event_handler(struct pevent *pevent, int id, const char *sys_name, const char *event_name, pevent_event_handler_func func, void *context) argument 5518 struct pevent *pevent = calloc(1, sizeof(*pevent)); local 5526 pevent_ref(struct pevent *pevent) argument 5567 pevent_free(struct pevent *pevent) argument 5650 pevent_unref(struct pevent *pevent) argument [all...] |
H A D | parse-filter.c | 169 filter_type->event = pevent_find_event(filter->pevent, id); 179 * @pevent: The pevent that this filter is associated with 181 struct event_filter *pevent_filter_alloc(struct pevent *pevent) argument 187 filter->pevent = pevent; 188 pevent_ref(pevent); 269 find_event(struct pevent *pevent, struc argument 1177 struct pevent *pevent = filter->pevent; local 1720 struct pevent *pevent; local 1878 struct pevent *pevent = filter->pevent; local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/ |
H A D | trace-event-perl.c | 295 scripting_context->pevent = evsel->tp_format->pevent; 458 static int perl_generate_script(struct pevent *pevent, const char *outfile) argument 505 while ((event = trace_find_next_event(pevent, event))) {
|
H A D | trace-event-python.c | 279 scripting_context->pevent = evsel->tp_format->pevent; 543 static int python_generate_script(struct pevent *pevent, const char *outfile) argument 592 while ((event = trace_find_next_event(pevent, event))) {
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-script.c | 467 static int default_generate_script(struct pevent *pevent __maybe_unused, 1540 err = scripting_ops->generate_script(session->pevent,
|