Home
last modified time | relevance | path

Searched refs:tp_format (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/tools/perf/util/
Dtrace-event.c74 tp_format(const char *sys, const char *name) in tp_format() function
109 return tp_format(sys, name); in trace_event__tp_format()
Dtrace-event-scripting.c34 if (evsel->tp_format) in scripting_context__update()
35 c->pevent = evsel->tp_format->tep; in scripting_context__update()
Dpython.c521 if (!evsel->tp_format) { in get_tracepoint_field()
522 struct tep_event *tp_format; in get_tracepoint_field() local
524 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
525 if (IS_ERR_OR_NULL(tp_format)) in get_tracepoint_field()
528 evsel->tp_format = tp_format; in get_tracepoint_field()
531 field = tep_find_any_field(evsel->tp_format, str); in get_tracepoint_field()
1375 struct tep_event *tp_format; in pyrf__tracepoint()
1384 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1385 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1388 return _PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
Devsel_fprintf.c90 field = evsel->tp_format->format.fields; in evsel__fprintf()
Ddata-convert-bt.c429 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_values()
430 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_values()
1067 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_types()
1068 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_types()
Devsel.c413 evsel->tp_format = orig->tp_format; in evsel__clone()
471 evsel->tp_format = trace_event__tp_format(sys, name); in evsel__newtp_idx()
472 if (IS_ERR(evsel->tp_format)) { in evsel__newtp_idx()
473 err = PTR_ERR(evsel->tp_format); in evsel__newtp_idx()
478 attr.config = evsel->tp_format->id; in evsel__newtp_idx()
2766 return tep_find_field(evsel->tp_format, name); in evsel__field()
Ddata-convert-json.c236 fields = tep_event_fields(evsel->tp_format); in process_sample_event()
Devsel.h78 struct tep_event *tp_format; member
Dsort.c903 evsel->tp_format); in get_trace_output()
905 tep_print_event(evsel->tp_format->tep, in get_trace_output()
2936 field = evsel->tp_format->format.fields; in add_evsel_fields()
2975 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
3057 struct tep_format_field *field = tep_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
Dheader.c4135 if (evsel->tp_format) in evsel__prepare_tracepoint_event()
4156 evsel->tp_format = event; in evsel__prepare_tracepoint_event()
/linux-6.6.21/tools/perf/
Dbuiltin-trace.c360 et->fmt = calloc(evsel->tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt()
1216 struct tep_event *tp_format; member
1837 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1839 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1841 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1848 if (IS_ERR(sc->tp_format)) { in trace__read_syscall_info()
1850 return PTR_ERR(sc->tp_format); in trace__read_syscall_info()
1853 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? in trace__read_syscall_info()
1854 RAW_SYSCALL_ARGS_NUM : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1857 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
[all …]
Dbuiltin-kmem.c775 tep_print_event(evsel->tp_format->tep, in parse_gfp_flags()
2022 kmem_page_size = tep_get_page_size(evsel->tp_format->tep); in cmd_kmem()
Dbuiltin-kwork.c918 struct tep_print_arg *args = evsel->tp_format->print_fmt.args; in evsel__softirq_name()
Dbuiltin-script.c2180 event_format__fprintf(evsel->tp_format, sample->cpu, in process_event()
/linux-6.6.21/tools/perf/util/scripting-engines/
Dtrace-event-perl.c347 struct tep_event *event = evsel->tp_format; in perl_process_tracepoint()
Dtrace-event-python.c934 struct tep_event *event = evsel->tp_format; in python_process_tracepoint()