Home
last modified time | relevance | path

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

/Linux-v6.1/kernel/trace/
Dtrace_events_synth.c300 char *print_fmt, char *name, in print_synth_event_num_val() argument
305 trace_seq_printf(s, print_fmt, name, (u8)val, space); in print_synth_event_num_val()
309 trace_seq_printf(s, print_fmt, name, (u16)val, space); in print_synth_event_num_val()
313 trace_seq_printf(s, print_fmt, name, (u32)val, space); in print_synth_event_num_val()
317 trace_seq_printf(s, print_fmt, name, val, space); in print_synth_event_num_val()
331 char print_fmt[32]; in print_synth_event() local
349 snprintf(print_fmt, sizeof(print_fmt), "%%s=%s%%s", fmt); in print_synth_event()
362 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event()
368 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event()
379 print_synth_event_num_val(s, print_fmt, in print_synth_event()
[all …]
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()
Dtrace_probe.c950 char *print_fmt; in traceprobe_set_print_fmt() local
954 print_fmt = kmalloc(len + 1, GFP_KERNEL); in traceprobe_set_print_fmt()
955 if (!print_fmt) in traceprobe_set_print_fmt()
959 __set_print_fmt(tp, print_fmt, len + 1, ptype); in traceprobe_set_print_fmt()
960 call->print_fmt = print_fmt; in traceprobe_set_print_fmt()
994 kfree(tpe->call.print_fmt); in trace_probe_event_free()
Dtrace_events_user.c752 char *print_fmt; in user_event_create_print_fmt() local
757 print_fmt = kmalloc(len, GFP_KERNEL); in user_event_create_print_fmt()
759 if (!print_fmt) in user_event_create_print_fmt()
762 user_event_set_print_fmt(user, print_fmt, len); in user_event_create_print_fmt()
764 user->call.print_fmt = print_fmt; in user_event_create_print_fmt()
838 kfree(user->call.print_fmt); in destroy_user_event()
Dtrace_export.c175 .print_fmt = print, \
Dtrace_events.c278 fmt = call->print_fmt; in test_event_printk()
1570 call->print_fmt); in f_show()
2586 for (ptr = call->print_fmt; *ptr; ptr++) { in update_event_printk()
/Linux-v6.1/tools/testing/selftests/user_events/
Dftrace_test.c128 char print_fmt[256]; in check_print_fmt() local
155 ret = get_print_fmt(print_fmt, sizeof(print_fmt)); in check_print_fmt()
160 return strcmp(print_fmt, expected); in check_print_fmt()
408 TEST_F(user, print_fmt) { in TEST_F() argument
/Linux-v6.1/include/trace/
Dtrace_events.h446 .print_fmt = print_fmt_##template, \
463 .print_fmt = print_fmt_##call, \
Dtrace_custom_events.h206 .print_fmt = custom_print_fmt_##template, \
/Linux-v6.1/tools/lib/traceevent/
Devent-parse.c3335 event->print_fmt.format = token; in event_read_print()
3336 event->print_fmt.args = NULL; in event_read_print()
3348 if (asprintf(&cat, "%s%s", event->print_fmt.format, token) < 0) in event_read_print()
3351 free_token(event->print_fmt.format); in event_read_print()
3352 event->print_fmt.format = NULL; in event_read_print()
3362 ret = event_read_print_args(event, &event->print_fmt.args); in event_read_print()
5735 struct tep_print_parse *parse = event->print_fmt.print_cache; in pretty_print()
6835 list = &event->print_fmt.args; in parse_format()
6856 event->print_fmt.print_cache = parse_args(event, in parse_format()
6857 event->print_fmt.format, in parse_format()
[all …]
Devent-parse.h276 struct tep_print_fmt print_fmt; member
/Linux-v6.1/tools/perf/util/scripting-engines/
Dtrace-event-perl.c369 define_event_symbols(event, handler, event->print_fmt.args); in perl_process_tracepoint()
Dtrace-event-python.c937 define_event_symbols(event, handler_name, event->print_fmt.args); in python_process_tracepoint()
/Linux-v6.1/include/linux/
Dtrace_events.h362 char *print_fmt; member
/Linux-v6.1/tools/perf/
Dbuiltin-kwork.c894 struct tep_print_arg *args = evsel->tp_format->print_fmt.args; in evsel__softirq_name()