Home
last modified time | relevance | path

Searched refs:print_fmt (Results 1 – 14 of 14) sorted by relevance

/linux/kernel/trace/
H A Dtrace_events_synth.c323 char *print_fmt, char *name, in print_synth_event_num_val() argument
328 trace_seq_printf(s, print_fmt, name, val->as_u8, space); in print_synth_event_num_val()
332 trace_seq_printf(s, print_fmt, name, val->as_u16, space); in print_synth_event_num_val()
336 trace_seq_printf(s, print_fmt, name, val->as_u32, space); in print_synth_event_num_val()
340 trace_seq_printf(s, print_fmt, name, val->as_u64, space); in print_synth_event_num_val()
354 char print_fmt[32]; in print_synth_event() local
372 snprintf(print_fmt, sizeof(print_fmt), "%%s=%s%%s", fmt); in print_synth_event()
379 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event()
385 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event()
404 print_synth_event_num_val(s, print_fmt, in print_synth_event()
[all …]
H A Dtrace_syscalls.c239 char *print_fmt; in set_syscall_print_fmt() local
244 call->print_fmt = "\"0x%lx\", REC->ret"; in set_syscall_print_fmt()
251 print_fmt = kmalloc(len + 1, GFP_KERNEL); in set_syscall_print_fmt()
252 if (!print_fmt) in set_syscall_print_fmt()
256 __set_enter_print_fmt(entry, print_fmt, len + 1); in set_syscall_print_fmt()
257 call->print_fmt = print_fmt; in set_syscall_print_fmt()
267 kfree(call->print_fmt); in free_syscall_print_fmt()
H A Dtrace_events_user.c1422 char *print_fmt; in user_event_create_print_fmt() local
1427 print_fmt = kmalloc(len, GFP_KERNEL_ACCOUNT); in user_event_create_print_fmt()
1429 if (!print_fmt) in user_event_create_print_fmt()
1432 user_event_set_print_fmt(user, print_fmt, len); in user_event_create_print_fmt()
1434 user->call.print_fmt = print_fmt; in user_event_create_print_fmt()
1508 kfree(user->call.print_fmt); in destroy_user_event()
2199 kfree(user->call.print_fmt); in user_event_parse()
H A Dtrace_probe.c1922 char *print_fmt; in traceprobe_set_print_fmt() local
1926 print_fmt = kmalloc(len + 1, GFP_KERNEL); in traceprobe_set_print_fmt()
1927 if (!print_fmt) in traceprobe_set_print_fmt()
1931 __set_print_fmt(tp, print_fmt, len + 1, ptype); in traceprobe_set_print_fmt()
1932 call->print_fmt = print_fmt; in traceprobe_set_print_fmt()
1966 kfree(tpe->call.print_fmt); in trace_probe_event_free()
H A Dtrace_export.c185 .print_fmt = print, \
H A Dtrace_events.c295 fmt = call->print_fmt; in test_event_printk()
1594 call->print_fmt); in f_show()
2772 for (ptr = call->print_fmt; *ptr; ptr++) { in update_event_printk()
/linux/tools/testing/selftests/user_events/
H A Dftrace_test.c161 char print_fmt[256]; in check_print_fmt() local
192 ret = get_print_fmt(print_fmt, sizeof(print_fmt)); in check_print_fmt()
199 return strcmp(print_fmt, expected); in check_print_fmt()
505 TEST_F(user, print_fmt) { in TEST_F() argument
/linux/include/trace/
H A Dtrace_events.h446 .print_fmt = print_fmt_##template, \
463 .print_fmt = print_fmt_##call, \
H A Dtrace_custom_events.h206 .print_fmt = custom_print_fmt_##template, \
/linux/tools/perf/util/
H A Dtrace-event-parse.c225 for (arg = event->print_fmt.args; arg; arg = arg->next) { in parse_task_states()
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c375 define_event_symbols(event, handler, event->print_fmt.args); in perl_process_tracepoint()
H A Dtrace-event-python.c977 define_event_symbols(event, handler_name, event->print_fmt.args); in python_process_tracepoint()
/linux/include/linux/
H A Dtrace_events.h383 char *print_fmt; member
/linux/tools/perf/
H A Dbuiltin-kwork.c1106 struct tep_print_arg *args = evsel->tp_format->print_fmt.args; in evsel__softirq_name()