Home
last modified time | relevance | path

Searched refs:tep_handle (Results 1 – 25 of 57) sorted by relevance

123

/tools/lib/traceevent/
Devent-parse-api.c19 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 …]
Devent-parse.h59 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 …]
Devent-parse-local.h17 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);
Devent-plugin.c272 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/
Dlibtraceevent.txt15 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 …]
Dlibtraceevent-handle.txt15 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();
Dlibtraceevent-record_parse.txt23 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();
Dlibtraceevent-set_flag.txt20 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();
Dlibtraceevent-event_find.txt15 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();
Dlibtraceevent-cpus.txt15 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();
Dlibtraceevent-long_size.txt15 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();
Dlibtraceevent-event_get.txt14 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();
Dlibtraceevent-header_page.txt15 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();
Dlibtraceevent-page_size.txt15 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/
Dtrace-event.h16 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;
Dtrace-event-read.c81 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 …]
Dtrace-event-parse.c18 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()
Dtrace-event.c30 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()
Dtrace-event-scripting.c54 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/
Dplugin_cfg80211.c28 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()
Dplugin_jbd2.c51 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()
Dplugin_hrtimer.c70 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()
Dplugin_kmem.c52 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()
Dplugin_mac80211.c90 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()
Dplugin_function.c129 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()

123