Home
last modified time | relevance | path

Searched refs:trace_event_call (Results 1 – 25 of 29) sorted by relevance

12

/linux/include/linux/
H A Dtrace_events.h265 struct trace_event_call;
281 int (*define_fields)(struct trace_event_call *);
291 int (*reg)(struct trace_event_call *event,
294 struct list_head *(*get_fields)(struct trace_event_call *);
296 int (*raw_init)(struct trace_event_call *);
299 extern int trace_event_reg(struct trace_event_call *event,
363 struct trace_event_call { struct
391 int (*perf_perm)(struct trace_event_call *, argument
397 bool trace_event_dyn_try_get_ref(struct trace_event_call *call);
398 void trace_event_dyn_put_ref(struct trace_event_call *call);
[all …]
H A Dsyscalls.h147 static struct trace_event_call __used \
157 static struct trace_event_call __used \
163 static struct trace_event_call __used \
173 static struct trace_event_call __used \
201 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event()
210 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event()
H A Dmodule.h536 struct trace_event_call **trace_events;
/linux/kernel/trace/
H A Dtrace_probe.h212 bool trace_kprobe_on_func_entry(struct trace_event_call *call);
213 bool trace_kprobe_error_injectable(struct trace_event_call *call);
215 static inline bool trace_kprobe_on_func_entry(struct trace_event_call *call) in trace_kprobe_on_func_entry()
220 static inline bool trace_kprobe_error_injectable(struct trace_event_call *call) in trace_kprobe_error_injectable()
252 struct trace_event_call call;
305 static inline struct trace_event_call *
312 trace_probe_event_from_call(struct trace_event_call *event_call) in trace_probe_event_from_call()
318 trace_probe_primary_from_call(struct trace_event_call *call) in trace_probe_primary_from_call()
410 struct trace_event_call *event;
455 extern struct trace_event_call *
[all …]
H A Dtrace_syscalls.c18 static int syscall_enter_register(struct trace_event_call *event,
20 static int syscall_exit_register(struct trace_event_call *event,
24 syscall_get_enter_fields(struct trace_event_call *call) in syscall_get_enter_fields()
237 static int __init set_syscall_print_fmt(struct trace_event_call *call) in set_syscall_print_fmt()
262 static void __init free_syscall_print_fmt(struct trace_event_call *call) in free_syscall_print_fmt()
270 static int __init syscall_enter_define_fields(struct trace_event_call *call) in syscall_enter_define_fields()
383 struct trace_event_call *call) in reg_event_syscall_enter()
404 struct trace_event_call *call) in unreg_event_syscall_enter()
421 struct trace_event_call *call) in reg_event_syscall_exit()
442 struct trace_event_call *call) in unreg_event_syscall_exit()
[all …]
H A Dtrace_event_perf.c27 static int perf_trace_event_perm(struct trace_event_call *tp_event, in perf_trace_event_perm()
96 static int perf_trace_event_reg(struct trace_event_call *tp_event, in perf_trace_event_reg()
156 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_event_unreg()
183 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_event_open()
189 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_event_close()
193 static int perf_trace_event_init(struct trace_event_call *tp_event, in perf_trace_event_init()
217 struct trace_event_call *tp_event; in perf_trace_init()
251 struct trace_event_call *tp_event; in perf_kprobe_init()
303 struct trace_event_call *tp_event; in perf_uprobe_init()
354 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_add()
[all …]
H A Dtrace_eprobe.c33 struct trace_event_call *event;
196 struct trace_event_call *event, in alloc_event_probe()
234 static int eprobe_event_define_fields(struct trace_event_call *event_call) in eprobe_event_define_fields()
258 struct trace_event_call *pevent; in print_eprobe_event()
267 container_of(event, struct trace_event_call, event)); in print_eprobe_event()
278 pevent = container_of(probed_event, struct trace_event_call, event); in print_eprobe_event()
422 struct trace_event_call *call = trace_probe_event_call(&edata->ep->tp); in NOKPROBE_SYMBOL()
644 static int enable_trace_eprobe(struct trace_event_call *call, in enable_trace_eprobe()
701 static int disable_trace_eprobe(struct trace_event_call *call, in disable_trace_eprobe()
738 static int eprobe_register(struct trace_event_call *event, in eprobe_register()
[all …]
H A Dtrace_events.c98 trace_find_event_field(struct trace_event_call *call, char *name) in trace_find_event_field()
145 int trace_define_field(struct trace_event_call *call, const char *type, in trace_define_field()
160 static int trace_define_field_ext(struct trace_event_call *call, const char *type, in trace_define_field_ext()
220 static void trace_destroy_fields(struct trace_event_call *call) in trace_destroy_fields()
236 int trace_event_get_offsets(struct trace_event_call *call) in trace_event_get_offsets()
252 struct trace_event_call *call) in find_event_field()
280 static bool test_field(const char *fmt, struct trace_event_call *call) in test_field()
302 static bool process_pointer(const char *fmt, int len, struct trace_event_call *call) in process_pointer()
336 static bool process_string(const char *fmt, int len, struct trace_event_call *call) in process_string()
409 static void test_event_printk(struct trace_event_call *call) in test_event_printk()
[all …]
H A Dtrace_events_inject.c36 parse_field(char *str, struct trace_event_call *call, in parse_field()
138 static int trace_get_entry_size(struct trace_event_call *call) in trace_get_entry_size()
153 static void *trace_alloc_entry(struct trace_event_call *call, int *size) in trace_alloc_entry()
196 static int parse_entry(char *str, struct trace_event_call *call, void **pentry) in parse_entry()
287 struct trace_event_call *call; in event_inject_write()
H A Dtrace_export.c18 static int ftrace_event_register(struct trace_event_call *call, in ftrace_event_register()
179 struct trace_event_call __used event_##call = { \
188 static struct trace_event_call __used \
196 bool ftrace_event_is_function(struct trace_event_call *call) in ftrace_event_is_function()
H A Dtrace_fprobe.c182 struct trace_event_call *call = trace_probe_event_call(&tf->tp); in NOKPROBE_SYMBOL()
269 struct trace_event_call *call = trace_probe_event_call(&tf->tp); in NOKPROBE_SYMBOL()
310 struct trace_event_call *call = trace_probe_event_call(&tf->tp); in fentry_perf_func()
346 struct trace_event_call *call = trace_probe_event_call(&tf->tp); in fexit_perf_func()
495 static int enable_trace_fprobe(struct trace_event_call *call, in enable_trace_fprobe()
530 static int disable_trace_fprobe(struct trace_event_call *call, in disable_trace_fprobe()
575 container_of(event, struct trace_event_call, event)); in print_fentry_event()
605 container_of(event, struct trace_event_call, event)); in print_fexit_event()
631 static int fentry_event_define_fields(struct trace_event_call *event_call) in fentry_event_define_fields()
646 static int fexit_event_define_fields(struct trace_event_call *event_call) in fexit_event_define_fields()
[all …]
H A Dtrace_kprobe.c216 trace_kprobe_primary_from_call(struct trace_event_call *call) in trace_kprobe_primary_from_call()
227 bool trace_kprobe_on_func_entry(struct trace_event_call *call) in trace_kprobe_on_func_entry()
236 bool trace_kprobe_error_injectable(struct trace_event_call *call) in trace_kprobe_error_injectable()
357 static int enable_trace_kprobe(struct trace_event_call *call, in enable_trace_kprobe()
407 static int disable_trace_kprobe(struct trace_event_call *call, in disable_trace_kprobe()
1453 struct trace_event_call *call = trace_probe_event_call(&tk->tp); in NOKPROBE_SYMBOL()
1519 struct trace_event_call *call = trace_probe_event_call(&tk->tp); in __kretprobe_trace_func()
1564 container_of(event, struct trace_event_call, event)); in print_kprobe_event()
1594 container_of(event, struct trace_event_call, event)); in print_kretprobe_event()
1621 static int kprobe_event_define_fields(struct trace_event_call *event_call) in kprobe_event_define_fields()
[all …]
H A Dtrace_dynevent.c22 bool trace_event_dyn_try_get_ref(struct trace_event_call *dyn_call) in trace_event_dyn_try_get_ref()
24 struct trace_event_call *call; in trace_event_dyn_try_get_ref()
41 void trace_event_dyn_put_ref(struct trace_event_call *call) in trace_event_dyn_put_ref()
54 bool trace_event_dyn_busy(struct trace_event_call *call) in trace_event_dyn_busy()
H A Dtrace_uprobe.c319 trace_uprobe_primary_from_call(struct trace_event_call *call) in trace_uprobe_primary_from_call()
1002 struct trace_event_call *call = trace_probe_event_call(&tu->tp); in __uprobe_trace_func()
1075 container_of(event, struct trace_event_call, event)); in print_uprobe_event()
1136 static int probe_event_enable(struct trace_event_call *call, in probe_event_enable()
1196 static void probe_event_disable(struct trace_event_call *call, in probe_event_disable()
1221 static int uprobe_event_define_fields(struct trace_event_call *event_call) in uprobe_event_define_fields()
1313 static int uprobe_perf_close(struct trace_event_call *call, in uprobe_perf_close()
1337 static int uprobe_perf_open(struct trace_event_call *call, in uprobe_perf_open()
1390 struct trace_event_call *call = trace_probe_event_call(&tu->tp); in __uprobe_perf_func()
1493 trace_uprobe_register(struct trace_event_call *event, enum trace_reg type, in trace_uprobe_register()
[all …]
H A Dtrace_synth.h34 struct trace_event_call call;
H A Dtrace_dynevent.h80 struct trace_event_call *call) in dyn_event_add()
H A Dtrace_output.c298 struct trace_event_call *event; in trace_raw_output_prep()
303 event = container_of(trace_event, struct trace_event_call, event); in trace_raw_output_prep()
856 static void print_fields(struct trace_iterator *iter, struct trace_event_call *call, in print_fields()
961 struct trace_event_call *call; in print_event_fields()
984 call = container_of(event, struct trace_event_call, event); in print_event_fields()
H A Dtrace.h1247 bool ftrace_event_is_function(struct trace_event_call *call);
1638 struct trace_event_call *call,
1644 trace_find_event_field(struct trace_event_call *call, char *name);
2061 extern struct trace_event_call \
2073 int perf_ftrace_event_register(struct trace_event_call *call,
H A Dtrace_events_filter.c1503 struct trace_event_call *call = data; in parse_pred()
2075 static int process_preds(struct trace_event_call *call, in process_preds()
2283 struct trace_event_call *call, in create_filter()
2307 struct trace_event_call *call, in create_event_filter()
2348 struct trace_event_call *call = file->event_call; in apply_event_filter()
2609 struct trace_event_call *call; in ftrace_profile_set_filter()
H A Dtrace_probe.c1903 struct trace_event_call *call = trace_probe_event_call(tp); in traceprobe_set_print_fmt()
1920 int traceprobe_define_arg_fields(struct trace_event_call *event_call, in traceprobe_define_arg_fields()
1995 struct trace_event_call *call; in trace_probe_init()
2041 static struct trace_event_call *
2044 struct trace_event_call *tp_event; in find_trace_event_call()
2062 struct trace_event_call *call = trace_probe_event_call(tp); in trace_probe_register_event_call()
H A Dtrace_events_synth.c126 static int synth_event_define_fields(struct trace_event_call *call) in synth_event_define_fields()
592 static void free_synth_event_print_fmt(struct trace_event_call *call) in free_synth_event_print_fmt()
638 static int set_synth_event_print_fmt(struct trace_event_call *call) in set_synth_event_print_fmt()
857 struct trace_event_call *call = &event->call; in register_synth_event()
909 struct trace_event_call *call = &event->call; in unregister_synth_event()
/linux/include/trace/
H A Dsyscall.h33 struct trace_event_call *enter_event;
34 struct trace_event_call *exit_event;
H A Dtrace_events.h75 static struct trace_event_call __used \
494 static struct trace_event_call __used event_##call = { \
503 static struct trace_event_call __used \
511 static struct trace_event_call __used event_##call = { \
520 static struct trace_event_call __used \
H A Dtrace_custom_events.h52 static struct trace_event_call __used \
202 static struct trace_event_call __used custom_event_##call = { \
218 static struct trace_event_call __used \
H A Dperf.h20 struct trace_event_call *event_call = __data; \

12