/tools/lib/traceevent/ |
D | event-parse-api.c | 19 struct tep_event *tep_get_event(struct tep_handle *tep, int index) in tep_get_event() 34 struct tep_event *tep_get_first_event(struct tep_handle *tep) in tep_get_first_event() 46 int tep_get_events_count(struct tep_handle *tep) in tep_get_events_count() 61 void tep_set_flag(struct tep_handle *tep, int flag) in tep_set_flag() 74 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag) in tep_clear_flag() 88 bool tep_test_flag(struct tep_handle *tep, enum tep_flag flag) in tep_test_flag() 95 unsigned short tep_data2host2(struct tep_handle *tep, unsigned short data) in tep_data2host2() 108 unsigned int tep_data2host4(struct tep_handle *tep, unsigned int data) in tep_data2host4() 124 tep_data2host8(struct tep_handle *tep, unsigned long long data) in tep_data2host8() 150 int tep_get_header_page_size(struct tep_handle *tep) in tep_get_header_page_size() [all …]
|
D | event-parse.h | 59 struct tep_handle; 67 typedef int (*tep_plugin_load_func)(struct tep_handle *tep); 68 typedef int (*tep_plugin_unload_func)(struct tep_handle *tep); 281 struct tep_handle *tep; 396 struct tep_plugin_list *tep_load_plugins(struct tep_handle *tep); 398 struct tep_handle *tep); 411 void tep_set_flag(struct tep_handle *tep, int flag); 412 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag); 413 bool tep_test_flag(struct tep_handle *tep, enum tep_flag flags); 433 int tep_set_function_resolver(struct tep_handle *tep, [all …]
|
D | event-parse-local.h | 17 struct tep_handle { struct 89 unsigned short tep_data2host2(struct tep_handle *tep, unsigned short data); argument 90 unsigned int tep_data2host4(struct tep_handle *tep, unsigned int data); 91 unsigned long long tep_data2host8(struct tep_handle *tep, unsigned long long data);
|
D | event-plugin.c | 272 load_plugin(struct tep_handle *tep, const char *path, in load_plugin() 327 load_plugins_dir(struct tep_handle *tep, const char *suffix, in load_plugins_dir() 329 void (*load_plugin)(struct tep_handle *tep, in load_plugins_dir() 369 load_plugins(struct tep_handle *tep, const char *suffix, in load_plugins() 370 void (*load_plugin)(struct tep_handle *tep, in load_plugins() 422 tep_load_plugins(struct tep_handle *tep) in tep_load_plugins() 431 tep_unload_plugins(struct tep_plugin_list *plugin_list, struct tep_handle *tep) in tep_unload_plugins()
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent.txt | 15 struct tep_handle pass:[*]*tep_alloc*(void); 16 void *tep_free*(struct tep_handle pass:[*]_tep_); 17 void *tep_ref*(struct tep_handle pass:[*]_tep_); 18 void *tep_unref*(struct tep_handle pass:[*]_tep_); 19 int *tep_get_ref*(struct tep_handle pass:[*]_tep_); 20 void *tep_set_flag*(struct tep_handle pass:[*]_tep_, enum tep_flag _flag_); 21 void *tep_clear_flag*(struct tep_handle pass:[*]_tep_, enum tep_flag _flag_); 22 bool *tep_test_flag*(struct tep_handle pass:[*]_tep_, enum tep_flag _flags_); 23 int *tep_get_cpus*(struct tep_handle pass:[*]_tep_); 24 void *tep_set_cpus*(struct tep_handle pass:[*]_tep_, int _cpus_); [all …]
|
D | libtraceevent-handle.txt | 15 struct tep_handle pass:[*]*tep_alloc*(void); 16 void *tep_free*(struct tep_handle pass:[*]_tep_); 17 void *tep_ref*(struct tep_handle pass:[*]_tep_); 18 void *tep_unref*(struct tep_handle pass:[*]_tep_); 19 int *tep_get_ref*(struct tep_handle pass:[*]_tep_); 24 These are the main functions to create and destroy tep_handle - the main 45 _tep_alloc()_ returns a pointer to a newly created tep_handle structure. 58 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-record_parse.txt | 23 int *tep_data_type*(struct tep_handle pass:[*]_tep_, struct tep_record pass:[*]_rec_); 24 int *tep_data_pid*(struct tep_handle pass:[*]_tep_, struct tep_record pass:[*]_rec_); 25 int *tep_data_preempt_count*(struct tep_handle pass:[*]_tep_, struct tep_record pass:[*]_rec_); 26 int *tep_data_flags*(struct tep_handle pass:[*]_tep_, struct tep_record pass:[*]_rec_); 77 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-set_flag.txt | 20 void *tep_set_flag*(struct tep_handle pass:[*]_tep_, enum tep_flag _flag_); 21 void *tep_clear_flag*(struct tep_handle pass:[*]_tep_, enum tep_flag _flag_); 22 bool *tep_test_flag*(struct tep_handle pass:[*]_tep_, enum tep_flag _flag_); 58 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-event_find.txt | 15 struct tep_event pass:[*]*tep_find_event*(struct tep_handle pass:[*]_tep_, int _id_); 16 struct tep_event pass:[*]*tep_find_event_by_name*(struct tep_handle pass:[*]_tep_, const char pass:… 17 struct tep_event pass:[*]*tep_find_event_by_record*(struct tep_handle pass:[*]_tep_, struct tep_rec… 48 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-cpus.txt | 15 int *tep_get_cpus*(struct tep_handle pass:[*]_tep_); 16 void *tep_set_cpus*(struct tep_handle pass:[*]_tep_, int _cpus_); 39 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-long_size.txt | 15 int *tep_get_long_size*(strucqt tep_handle pass:[*]_tep_); 16 void *tep_set_long_size*(struct tep_handle pass:[*]_tep_, int _long_size_); 39 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-event_get.txt | 14 struct tep_event pass:[*]*tep_get_event*(struct tep_handle pass:[*]_tep_, int _index_); 15 struct tep_event pass:[*]*tep_get_first_event*(struct tep_handle pass:[*]_tep_); 16 int *tep_get_events_count*(struct tep_handle pass:[*]_tep_); 50 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-header_page.txt | 15 int *tep_get_header_page_size*(struct tep_handle pass:[*]_tep_); 16 int *tep_get_header_timestamp_size*(struct tep_handle pass:[*]_tep_); 17 bool *tep_is_old_format*(struct tep_handle pass:[*]_tep_); 54 struct tep_handle *tep = tep_alloc();
|
D | libtraceevent-page_size.txt | 15 int *tep_get_page_size*(struct tep_handle pass:[*]_tep_); 16 void *tep_set_page_size*(struct tep_handle pass:[*]_tep_, int _page_size_); 41 struct tep_handle *tep = tep_alloc();
|
/tools/perf/util/ |
D | trace-event.h | 16 struct tep_handle *pevent; 37 int parse_ftrace_file(struct tep_handle *pevent, char *buf, unsigned long size); 38 int parse_event_file(struct tep_handle *pevent, 44 void parse_proc_kallsyms(struct tep_handle *pevent, char *file, unsigned int size); 45 void parse_ftrace_printk(struct tep_handle *pevent, char *file, unsigned int size); 46 void parse_saved_cmdline(struct tep_handle *pevent, char *file, unsigned int size); 87 int (*generate_script) (struct tep_handle *pevent, const char *outfile); 98 struct tep_handle *pevent;
|
D | trace-event-read.c | 81 static unsigned int read4(struct tep_handle *pevent) in read4() 90 static unsigned long long read8(struct tep_handle *pevent) in read8() 143 static int read_proc_kallsyms(struct tep_handle *pevent) in read_proc_kallsyms() 166 static int read_ftrace_printk(struct tep_handle *pevent) in read_ftrace_printk() 193 static int read_header_files(struct tep_handle *pevent) in read_header_files() 244 static int read_ftrace_file(struct tep_handle *pevent, unsigned long long size) in read_ftrace_file() 269 static int read_event_file(struct tep_handle *pevent, char *sys, in read_event_file() 293 static int read_ftrace_files(struct tep_handle *pevent) in read_ftrace_files() 311 static int read_event_files(struct tep_handle *pevent) in read_event_files() 342 static int read_saved_cmdline(struct tep_handle *pevent) in read_saved_cmdline() [all …]
|
D | trace-event-parse.c | 18 struct tep_handle *pevent = context->pevent; in get_common_field() 123 void parse_ftrace_printk(struct tep_handle *pevent, in parse_ftrace_printk() 149 void parse_saved_cmdline(struct tep_handle *pevent, in parse_saved_cmdline() 165 int parse_ftrace_file(struct tep_handle *pevent, char *buf, unsigned long size) in parse_ftrace_file() 170 int parse_event_file(struct tep_handle *pevent, in parse_event_file()
|
D | trace-event.c | 30 struct tep_handle *pevent = tep_alloc(); in trace_event__init() 43 struct tep_handle *pevent; in trace_event__init2() 78 struct tep_handle *pevent = tevent.pevent; in tp_format()
|
D | trace-event-scripting.c | 54 static int python_generate_script_unsupported(struct tep_handle *pevent in python_generate_script_unsupported() 118 static int perl_generate_script_unsupported(struct tep_handle *pevent in perl_generate_script_unsupported()
|
/tools/lib/traceevent/plugins/ |
D | plugin_cfg80211.c | 28 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 39 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|
D | plugin_jbd2.c | 51 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 69 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|
D | plugin_hrtimer.c | 70 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 81 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|
D | plugin_kmem.c | 52 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 75 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|
D | plugin_mac80211.c | 90 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 98 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|
D | plugin_function.c | 129 struct tep_handle *tep = event->tep; in function_handler() 167 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 177 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|