/linux-6.1.9/tools/lib/traceevent/ |
D | event-parse.h | 45 struct tep_handle; 53 typedef int (*tep_plugin_load_func)(struct tep_handle *tep); 54 typedef int (*tep_plugin_unload_func)(struct tep_handle *tep); 271 struct tep_handle *tep; 391 int tep_add_plugin_path(struct tep_handle *tep, char *path, 393 struct tep_plugin_list *tep_load_plugins(struct tep_handle *tep); 395 struct tep_handle *tep); 396 void tep_load_plugins_hook(struct tep_handle *tep, const char *suffix, 397 void (*load_plugin)(struct tep_handle *tep, 416 void tep_set_flag(struct tep_handle *tep, int flag); [all …]
|
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 __hidden unsigned short data2host2(struct tep_handle *tep, unsigned short data) in data2host2() 108 __hidden unsigned int data2host4(struct tep_handle *tep, unsigned int data) in data2host4() 124 data2host8(struct tep_handle *tep, unsigned long long data) in data2host8() 150 int tep_get_header_page_size(struct tep_handle *tep) in tep_get_header_page_size() [all …]
|
D | event-parse-local.h | 20 struct tep_handle { struct 109 void free_tep_plugin_paths(struct tep_handle *tep); argument 111 unsigned short data2host2(struct tep_handle *tep, unsigned short data); 112 unsigned int data2host4(struct tep_handle *tep, unsigned int data); 113 unsigned long long data2host8(struct tep_handle *tep, unsigned long long data);
|
D | event-plugin.c | 443 load_plugin(struct tep_handle *tep, const char *path, in load_plugin() 509 load_plugins_dir(struct tep_handle *tep, const char *suffix, in load_plugins_dir() 511 void (*load_plugin)(struct tep_handle *tep, in load_plugins_dir() 566 void tep_load_plugins_hook(struct tep_handle *tep, const char *suffix, in tep_load_plugins_hook() 567 void (*load_plugin)(struct tep_handle *tep, in tep_load_plugins_hook() 638 tep_load_plugins(struct tep_handle *tep) in tep_load_plugins() 655 int tep_add_plugin_path(struct tep_handle *tep, char *path, in tep_add_plugin_path() 679 __hidden void free_tep_plugin_paths(struct tep_handle *tep) in free_tep_plugin_paths() 696 tep_unload_plugins(struct tep_plugin_list *plugin_list, struct tep_handle *tep) in tep_unload_plugins()
|
D | event-parse.c | 164 static int cmdline_init(struct tep_handle *tep) in cmdline_init() 193 static const char *find_cmdline(struct tep_handle *tep, int pid) in find_cmdline() 222 bool tep_is_pid_registered(struct tep_handle *tep, int pid) in tep_is_pid_registered() 248 static int add_new_comm(struct tep_handle *tep, in add_new_comm() 327 static int _tep_register_comm(struct tep_handle *tep, in _tep_register_comm() 366 int tep_register_comm(struct tep_handle *tep, const char *comm, int pid) in tep_register_comm() 381 int tep_override_comm(struct tep_handle *tep, const char *comm, int pid) in tep_override_comm() 437 static int func_map_init(struct tep_handle *tep) in func_map_init() 477 __find_func(struct tep_handle *tep, unsigned long long addr) in __find_func() 508 int tep_set_function_resolver(struct tep_handle *tep, in tep_set_function_resolver() [all …]
|
/linux-6.1.9/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-plugins.txt | 14 struct tep_plugin_list pass:[*]*tep_load_plugins*(struct tep_handle pass:[*]_tep_); 15 void *tep_unload_plugins*(struct tep_plugin_list pass:[*]_plugin_list_, struct tep_handle pass:[*]_… 16 void *tep_load_plugins_hook*(struct tep_handle pass:[*]_tep_, const char pass:[*]_suffix_, 17 void (pass:[*]_load_plugin_)(struct tep_handle pass:[*]tep, 72 struct tep_handle *tep = tep_alloc(); 81 void print_plugin(struct tep_handle *tep, const char *path,
|
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-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-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-commands.txt | 16 int *tep_register_comm*(struct tep_handle pass:[*]_tep_, const char pass:[*]_comm_, int _pid_); 17 int *tep_override_comm*(struct tep_handle pass:[*]_tep_, const char pass:[*]_comm_, int _pid_); 18 bool *tep_is_pid_registered*(struct tep_handle pass:[*]_tep_, int _pid_); 19 const char pass:[*]*tep_data_comm_from_pid*(struct tep_handle pass:[*]_pevent_, int _pid_); 20 struct cmdline pass:[*]*tep_data_pid_from_comm*(struct tep_handle pass:[*]_pevent_, const char pass… 21 int *tep_cmdline_pid*(struct tep_handle pass:[*]_pevent_, struct cmdline pass:[*]_cmdline_); 96 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-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-func_apis.txt | 17 int *tep_set_function_resolver*(struct tep_handle pass:[*]_tep_, tep_func_resolver_t pass:[*]_func_… 18 void *tep_reset_function_resolver*(struct tep_handle pass:[*]_tep_); 19 const char pass:[*]*tep_find_function*(struct tep_handle pass:[*]_tep_, unsigned long long _addr_); 20 unsigned long long *tep_find_function_address*(struct tep_handle pass:[*]_tep_, unsigned long long … 21 int *tep_register_function*(struct tep_handle pass:[*]_tep_, char pass:[*]_name_, unsigned long lon… 22 int *tep_register_print_string*(struct tep_handle pass:[*]_tep_, const char pass:[*]_fmt_, unsigned… 102 struct tep_handle *tep = tep_alloc();
|
/linux-6.1.9/tools/perf/util/ |
D | trace-event.h | 17 struct tep_handle *pevent; 38 int parse_ftrace_file(struct tep_handle *pevent, char *buf, unsigned long size); 39 int parse_event_file(struct tep_handle *pevent, 45 void parse_proc_kallsyms(struct tep_handle *pevent, char *file, unsigned int size); 46 void parse_ftrace_printk(struct tep_handle *pevent, char *file, unsigned int size); 47 void parse_saved_cmdline(struct tep_handle *pevent, char *file, unsigned int size); 96 int (*generate_script) (struct tep_handle *pevent, const char *outfile); 110 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()
|
/linux-6.1.9/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 | 36 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 54 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|
D | plugin_tlb.c | 53 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 61 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|
D | plugin_hrtimer.c | 55 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() 66 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER()
|