Home
last modified time | relevance | path

Searched refs:tep (Results 1 – 25 of 59) sorted by relevance

123

/linux/tools/lib/traceevent/
A Devent-parse-api.c21 if (tep && tep->events && index < tep->nr_events) in tep_get_event()
48 if (tep) in tep_get_events_count()
63 if (tep) in tep_set_flag()
76 if (tep) in tep_clear_flag()
90 if (tep) in tep_test_flag()
99 if (!tep || tep->host_bigendian == tep->file_bigendian) in data2host2()
112 if (!tep || tep->host_bigendian == tep->file_bigendian) in data2host4()
128 if (!tep || tep->host_bigendian == tep->file_bigendian) in data2host8()
152 if (tep) in tep_get_header_page_size()
166 if (tep) in tep_get_header_timestamp_size()
[all …]
A Devent-parse.h270 struct tep_handle *tep; member
394 struct tep_handle *tep);
560 int tep_get_cpus(struct tep_handle *tep);
562 int tep_get_long_size(struct tep_handle *tep);
564 int tep_get_page_size(struct tep_handle *tep);
576 void tep_free(struct tep_handle *tep);
577 void tep_ref(struct tep_handle *tep);
578 void tep_unref(struct tep_handle *tep);
579 int tep_get_ref(struct tep_handle *tep);
582 void tep_print_funcs(struct tep_handle *tep);
[all …]
A Devent-parse.c201 if (!tep->cmdlines && cmdline_init(tep)) in find_cmdline()
230 if (!tep->cmdlines && cmdline_init(tep)) in tep_is_pid_registered()
383 if (!tep->cmdlines && cmdline_init(tep)) { in tep_override_comm()
833 event->tep = tep; in add_event()
3635 struct tep_handle *tep = event->tep; in eval_num_arg() local
3976 struct tep_handle *tep = event->tep; in print_str_arg() local
4325 struct tep_handle *tep = event->tep; in make_bprint_args() local
4515 struct tep_handle *tep = event->tep; in get_bprint_format() local
6788 event->tep = tep; in parse_format()
6867 if (tep && add_event(tep, event)) { in __parse_event()
[all …]
A Devent-plugin.c501 func(tep); in load_plugin()
579 if (tep && tep->flags & TEP_DISABLE_PLUGINS) in tep_load_plugins_hook()
582 if (tep) in tep_load_plugins_hook()
596 if (!tep || !(tep->flags & TEP_DISABLE_SYS_PLUGINS)) in tep_load_plugins_hook()
625 if (tep) in tep_load_plugins_hook()
660 if (!tep || !path) in tep_add_plugin_path()
674 tep->plugins_dir = dir; in tep_add_plugin_path()
683 if (!tep) in free_tep_plugin_paths()
686 dir = tep->plugins_dir; in free_tep_plugin_paths()
688 tep->plugins_dir = tep->plugins_dir->next; in free_tep_plugin_paths()
[all …]
A Devent-parse-local.h109 void free_tep_plugin_paths(struct tep_handle *tep);
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);
A Dparse-filter.c173 filter->tep = tep; in tep_filter_alloc()
174 tep_ref(tep); in tep_filter_alloc()
297 for (i = 0; i < tep->nr_events; i++) { in find_event()
298 event = tep->events[i]; in find_event()
1257 struct tep_handle *tep = filter->tep; in tep_filter_add_filter_str() local
1334 if (ret >= 0 && tep->test_filters) { in tep_filter_add_filter_str()
1440 tep_unref(filter->tep); in tep_filter_free()
1702 struct tep_handle *tep; in get_field_str() local
1732 tep = event->tep; in get_field_str()
1737 val = tep_find_function(tep, addr); in get_field_str()
[all …]
/linux/tools/lib/traceevent/plugins/
A Dplugin_kmem.c27 func = tep_find_function(event->tep, val); in call_site_handler()
31 addr = tep_find_function_address(event->tep, val); in call_site_handler()
37 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
39 tep_register_event_handler(tep, -1, "kmem", "kfree", in TEP_PLUGIN_LOADER()
42 tep_register_event_handler(tep, -1, "kmem", "kmalloc", in TEP_PLUGIN_LOADER()
45 tep_register_event_handler(tep, -1, "kmem", "kmalloc_node", in TEP_PLUGIN_LOADER()
51 tep_register_event_handler(tep, -1, "kmem", in TEP_PLUGIN_LOADER()
60 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
62 tep_unregister_event_handler(tep, -1, "kmem", "kfree", in TEP_PLUGIN_UNLOADER()
65 tep_unregister_event_handler(tep, -1, "kmem", "kmalloc", in TEP_PLUGIN_UNLOADER()
[all …]
A Dplugin_function.c126 offset = tep_find_function_address(tep, function); in show_function()
134 struct tep_handle *tep = event->tep; in function_handler() local
144 func = tep_find_function(tep, function); in function_handler()
149 parent = tep_find_function(tep, pfunction); in function_handler()
157 show_function(s, tep, func, function); in function_handler()
164 show_function(s, tep, parent, pfunction); in function_handler()
190 long_size = tep_get_long_size(event->tep); in trace_stack_handler()
200 func = tep_find_function(event->tep, addr); in trace_stack_handler()
230 long_size = tep_get_long_size(event->tep); in trace_raw_data_handler()
248 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
[all …]
A Dplugin_kvm.c396 if (tep_is_file_bigendian(event->tep) == in kvm_mmu_print_role()
397 tep_is_local_bigendian(event->tep)) { in kvm_mmu_print_role()
452 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
456 tep_register_event_handler(tep, -1, "kvm", "kvm_exit", in TEP_PLUGIN_LOADER()
474 tep_register_event_handler(tep, -1, in TEP_PLUGIN_LOADER()
481 tep_register_event_handler(tep, -1, "kvmmmu", in TEP_PLUGIN_LOADER()
485 tep_register_print_function(tep, in TEP_PLUGIN_LOADER()
494 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
496 tep_unregister_event_handler(tep, -1, "kvm", "kvm_exit", in TEP_PLUGIN_UNLOADER()
514 tep_unregister_event_handler(tep, -1, in TEP_PLUGIN_UNLOADER()
[all …]
A Dplugin_sched_switch.c50 tep_register_comm(field->event->tep, comm, pid); in write_and_save_comm()
123 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
125 tep_register_event_handler(tep, -1, "sched", "sched_switch", in TEP_PLUGIN_LOADER()
128 tep_register_event_handler(tep, -1, "sched", "sched_wakeup", in TEP_PLUGIN_LOADER()
131 tep_register_event_handler(tep, -1, "sched", "sched_wakeup_new", in TEP_PLUGIN_LOADER()
136 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
138 tep_unregister_event_handler(tep, -1, "sched", "sched_switch", in TEP_PLUGIN_UNLOADER()
141 tep_unregister_event_handler(tep, -1, "sched", "sched_wakeup", in TEP_PLUGIN_UNLOADER()
144 tep_unregister_event_handler(tep, -1, "sched", "sched_wakeup_new", in TEP_PLUGIN_UNLOADER()
A Dplugin_jbd2.c36 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
38 tep_register_print_function(tep, in TEP_PLUGIN_LOADER()
45 tep_register_print_function(tep, in TEP_PLUGIN_LOADER()
54 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
56 tep_unregister_print_function(tep, process_jbd2_dev_to_name, in TEP_PLUGIN_UNLOADER()
59 tep_unregister_print_function(tep, process_jiffies_to_msecs, in TEP_PLUGIN_UNLOADER()
A Dplugin_hrtimer.c55 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
57 tep_register_event_handler(tep, -1, in TEP_PLUGIN_LOADER()
61 tep_register_event_handler(tep, -1, "timer", "hrtimer_start", in TEP_PLUGIN_LOADER()
66 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
68 tep_unregister_event_handler(tep, -1, in TEP_PLUGIN_UNLOADER()
72 tep_unregister_event_handler(tep, -1, "timer", "hrtimer_start", in TEP_PLUGIN_UNLOADER()
A Dplugin_cfg80211.c28 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
30 tep_register_print_function(tep, in TEP_PLUGIN_LOADER()
39 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
41 tep_unregister_print_function(tep, process___le16_to_cpup, in TEP_PLUGIN_UNLOADER()
A Dplugin_tlb.c53 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
55 tep_register_event_handler(tep, -1, "tlb", "tlb_flush", in TEP_PLUGIN_LOADER()
61 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
63 tep_unregister_event_handler(tep, -1, in TEP_PLUGIN_UNLOADER()
A Dplugin_mac80211.c75 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
77 tep_register_event_handler(tep, -1, "mac80211", in TEP_PLUGIN_LOADER()
83 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
85 tep_unregister_event_handler(tep, -1, "mac80211", in TEP_PLUGIN_UNLOADER()
A Dplugin_futex.c112 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
114 tep_register_event_handler(tep, -1, "syscalls", "sys_enter_futex", in TEP_PLUGIN_LOADER()
119 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
121 tep_unregister_event_handler(tep, -1, "syscalls", "sys_enter_futex", in TEP_PLUGIN_UNLOADER()
A Dplugin_xen.c123 int TEP_PLUGIN_LOADER(struct tep_handle *tep) in TEP_PLUGIN_LOADER() argument
125 tep_register_print_function(tep, in TEP_PLUGIN_LOADER()
134 void TEP_PLUGIN_UNLOADER(struct tep_handle *tep) in TEP_PLUGIN_UNLOADER() argument
136 tep_unregister_print_function(tep, process_xen_hypercall_name, in TEP_PLUGIN_UNLOADER()
/linux/tools/perf/util/
A Ds390-sample-raw.c84 struct cf_trailer_entry *tep) in s390_cpumcfdg_dumptrail() argument
88 te.flags = be64_to_cpu(tep->flags); in s390_cpumcfdg_dumptrail()
89 te.cfvn = be16_to_cpu(tep->cfvn); in s390_cpumcfdg_dumptrail()
90 te.csvn = be16_to_cpu(tep->csvn); in s390_cpumcfdg_dumptrail()
91 te.cpu_speed = be32_to_cpu(tep->cpu_speed); in s390_cpumcfdg_dumptrail()
92 te.timestamp = be64_to_cpu(tep->timestamp); in s390_cpumcfdg_dumptrail()
93 te.progusage1 = be64_to_cpu(tep->progusage1); in s390_cpumcfdg_dumptrail()
96 te.tod_base = be64_to_cpu(tep->tod_base); in s390_cpumcfdg_dumptrail()
97 te.mach_type = be16_to_cpu(tep->mach_type); in s390_cpumcfdg_dumptrail()
98 te.res1 = be16_to_cpu(tep->res1); in s390_cpumcfdg_dumptrail()
[all …]
/linux/tools/lib/traceevent/Documentation/
A Dlibtraceevent-file_endian.txt7 raw data being accessed by the tep handler.
27 being accessed by the tep handler. The _tep_ argument is trace event parser
31 accessed by the tep handler. The _tep_ argument is trace event parser context.
49 struct tep_handle *tep = tep_alloc();
51 tep_set_file_bigendian(tep, TEP_LITTLE_ENDIAN);
53 if (tep_is_file_bigendian(tep)) {
A Dlibtraceevent-handle.txt28 The _tep_alloc()_ function allocates and initializes the tep context.
58 struct tep_handle *tep = tep_alloc();
60 int ref = tep_get_ref(tep);
61 tep_ref(tep);
62 if ( (ref+1) != tep_get_ref(tep)) {
65 tep_unref(tep);
67 tep_free(tep);
A Dlibtraceevent-strerror.txt6 tep_strerror - Returns a string describing regular errno and tep error number.
19 The _tep_strerror()_ function converts tep error number into a human
22 errno, defined in errno.h, or a tep error number. The string, describing this
43 struct tep_handle *tep = tep_alloc();
47 if (tep == NULL) {
48 tep_strerror(tep, TEP_ERRNO__MEM_ALLOC_FAILED, buf, 32);
A Dlibtraceevent-plugins.txt17 void (pass:[*]_load_plugin_)(struct tep_handle pass:[*]tep,
72 struct tep_handle *tep = tep_alloc();
74 struct tep_plugin_list *plugins = tep_load_plugins(tep);
79 tep_unload_plugins(plugins, tep);
81 void print_plugin(struct tep_handle *tep, const char *path,
87 tep_load_plugins_hook(tep, ".so", print_plugin, NULL);
A Dlibtraceevent-field_find.txt46 void get_htimer_info(struct tep_handle *tep, struct tep_record *record)
54 event = tep_find_event_by_name(tep, "timer", "hrtimer_start");
61 pid = tep_read_number(tep, record->data + field->offset,
70 softexpires = tep_read_number(tep, record->data + field->offset,
80 mode = tep_read_number(tep, record->data + field->offset,
A Dasciidoc.conf30 ifndef::tep-asciidoc-no-roff[]
45 endif::tep-asciidoc-no-roff[]
47 ifdef::tep-asciidoc-no-roff[]
66 endif::tep-asciidoc-no-roff[]
/linux/tools/lib/perf/Documentation/
A Dasciidoc.conf30 ifndef::tep-asciidoc-no-roff[]
45 endif::tep-asciidoc-no-roff[]
47 ifdef::tep-asciidoc-no-roff[]
66 endif::tep-asciidoc-no-roff[]

Completed in 45 milliseconds

123