Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/util/
Dtrace-event.c75 tp_format(const char *sys, const char *name) in tp_format() function
110 return tp_format(sys, name); in trace_event__tp_format()
Dtrace-event-scripting.c29 if (evsel->tp_format) in scripting_context__update()
30 c->pevent = evsel->tp_format->tep; in scripting_context__update()
Dpython.c448 if (!evsel->tp_format) { in get_tracepoint_field()
449 struct tep_event *tp_format; in get_tracepoint_field() local
451 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
452 if (!tp_format) in get_tracepoint_field()
455 evsel->tp_format = tp_format; in get_tracepoint_field()
458 field = tep_find_any_field(evsel->tp_format, str); in get_tracepoint_field()
1304 struct tep_event *tp_format; in pyrf__tracepoint() local
1313 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1314 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1317 return _PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
Devsel_fprintf.c84 field = evsel->tp_format->format.fields; in evsel__fprintf()
Ddata-convert-bt.c423 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_values()
424 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_values()
1061 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_types()
1062 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_types()
Devsel.c414 evsel->tp_format = orig->tp_format; in evsel__clone()
466 evsel->tp_format = trace_event__tp_format(sys, name); in evsel__newtp_idx()
467 if (IS_ERR(evsel->tp_format)) { in evsel__newtp_idx()
468 err = PTR_ERR(evsel->tp_format); in evsel__newtp_idx()
473 attr.config = evsel->tp_format->id; in evsel__newtp_idx()
2584 return tep_find_field(evsel->tp_format, name); in evsel__field()
Devsel.h65 struct tep_event *tp_format; member
Dsort.c760 evsel->tp_format); in get_trace_output()
762 tep_print_event(evsel->tp_format->tep, in get_trace_output()
2583 field = evsel->tp_format->format.fields; in add_evsel_fields()
2622 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
2689 field = tep_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
Dheader.c3960 if (evsel->tp_format) in evsel__prepare_tracepoint_event()
3981 evsel->tp_format = event; in evsel__prepare_tracepoint_event()
/Linux-v5.15/tools/perf/
Dbuiltin-trace.c356 et->fmt = calloc(evsel->tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt()
1204 struct tep_event *tp_format; member
1796 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1798 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1800 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1803 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1806 if (IS_ERR(sc->tp_format)) in trace__read_syscall_info()
1807 return PTR_ERR(sc->tp_format); in trace__read_syscall_info()
1809 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1831 syscall_arg_fmt__init_array(fmt, evsel->tp_format->format.fields); in evsel__init_tp_arg_scnprintf()
[all …]
Dbuiltin-kmem.c753 tep_print_event(evsel->tp_format->tep, in parse_gfp_flags()
1977 kmem_page_size = tep_get_page_size(evsel->tp_format->tep); in cmd_kmem()
Dbuiltin-script.c2026 event_format__fprintf(evsel->tp_format, sample->cpu, in process_event()
/Linux-v5.15/tools/perf/util/scripting-engines/
Dtrace-event-perl.c343 struct tep_event *event = evsel->tp_format; in perl_process_tracepoint()
Dtrace-event-python.c862 struct tep_event *event = evsel->tp_format; in python_process_tracepoint()