Home
last modified time | relevance | path

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

/Linux-v6.1/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.c473 if (!evsel->tp_format) { in get_tracepoint_field()
474 struct tep_event *tp_format; in get_tracepoint_field() local
476 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
477 if (IS_ERR_OR_NULL(tp_format)) in get_tracepoint_field()
480 evsel->tp_format = tp_format; in get_tracepoint_field()
483 field = tep_find_any_field(evsel->tp_format, str); in get_tracepoint_field()
1329 struct tep_event *tp_format; in pyrf__tracepoint() local
1338 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1339 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1342 return _PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
Devsel_fprintf.c85 field = evsel->tp_format->format.fields; in evsel__fprintf()
Ddata-convert-bt.c425 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_values()
426 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_values()
1063 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_types()
1064 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_types()
Devsel.c445 evsel->tp_format = orig->tp_format; in evsel__clone()
501 evsel->tp_format = trace_event__tp_format(sys, name); in evsel__newtp_idx()
502 if (IS_ERR(evsel->tp_format)) { in evsel__newtp_idx()
503 err = PTR_ERR(evsel->tp_format); in evsel__newtp_idx()
508 attr.config = evsel->tp_format->id; in evsel__newtp_idx()
2774 return tep_find_field(evsel->tp_format, name); in evsel__field()
Devsel.h77 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()
2743 field = evsel->tp_format->format.fields; in add_evsel_fields()
2782 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
2849 field = tep_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
Dheader.c4091 if (evsel->tp_format) in evsel__prepare_tracepoint_event()
4112 evsel->tp_format = event; in evsel__prepare_tracepoint_event()
/Linux-v6.1/tools/perf/
Dbuiltin-trace.c357 et->fmt = calloc(evsel->tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt()
1206 struct tep_event *tp_format; member
1805 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1807 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1809 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1812 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1815 if (IS_ERR(sc->tp_format)) in trace__read_syscall_info()
1816 return PTR_ERR(sc->tp_format); in trace__read_syscall_info()
1818 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1840 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-kwork.c894 struct tep_print_arg *args = evsel->tp_format->print_fmt.args; in evsel__softirq_name()
Dbuiltin-script.c2159 event_format__fprintf(evsel->tp_format, sample->cpu, in process_event()
/Linux-v6.1/tools/perf/util/scripting-engines/
Dtrace-event-perl.c343 struct tep_event *event = evsel->tp_format; in perl_process_tracepoint()
Dtrace-event-python.c912 struct tep_event *event = evsel->tp_format; in python_process_tracepoint()