Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dtrace-event.c76 tp_format(const char *sys, const char *name) in tp_format() function
111 return tp_format(sys, name); in trace_event__tp_format()
Dpython.c388 if (!evsel->tp_format) { in get_tracepoint_field()
389 struct event_format *tp_format; in get_tracepoint_field() local
391 tp_format = trace_event__tp_format_id(evsel->attr.config); in get_tracepoint_field()
392 if (!tp_format) in get_tracepoint_field()
395 evsel->tp_format = tp_format; in get_tracepoint_field()
398 field = tep_find_any_field(evsel->tp_format, str); in get_tracepoint_field()
1243 struct event_format *tp_format; in pyrf__tracepoint() local
1252 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1253 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1256 return _PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
Devsel_fprintf.c83 field = evsel->tp_format->format.fields; in perf_evsel__fprintf()
Ddata-convert-bt.c420 struct format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_values()
421 struct format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_values()
1058 struct format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_types()
1059 struct format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_types()
Devsel.h105 struct event_format *tp_format; member
Dsort.c614 evsel->tp_format); in get_trace_output()
616 tep_event_info(&seq, evsel->tp_format, &rec); in get_trace_output()
2275 field = evsel->tp_format->format.fields; in add_evsel_fields()
2314 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
2381 field = tep_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
Devsel.c349 evsel->tp_format = trace_event__tp_format(sys, name); in perf_evsel__newtp_idx()
350 if (IS_ERR(evsel->tp_format)) { in perf_evsel__newtp_idx()
351 err = PTR_ERR(evsel->tp_format); in perf_evsel__newtp_idx()
356 attr.config = evsel->tp_format->id; in perf_evsel__newtp_idx()
2690 return tep_find_field(evsel->tp_format, name); in perf_evsel__field()
Dheader.c3213 if (evsel->tp_format) in perf_evsel__prepare_tracepoint_event()
3234 evsel->tp_format = event; in perf_evsel__prepare_tracepoint_event()
/Linux-v4.19/tools/perf/
Dbuiltin-trace.c861 struct event_format *tp_format; member
1330 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1332 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1334 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1337 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1340 if (IS_ERR(sc->tp_format)) in trace__read_syscall_info()
1343 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1524 } else if (IS_ERR(sc->tp_format)) { in syscall__scnprintf_args()
2049 } else if (evsel->tp_format) { in trace__event_handler()
2050 if (strncmp(evsel->tp_format->name, "sys_enter_", 10) || in trace__event_handler()
[all …]
Dbuiltin-kmem.c750 tep_event_info(&seq, evsel->tp_format, &record); in parse_gfp_flags()
1977 kmem_page_size = tep_get_page_size(evsel->tp_format->pevent); in cmd_kmem()
Dbuiltin-script.c1662 event_format__fprintf(evsel->tp_format, sample->cpu, in process_event()
/Linux-v4.19/tools/perf/util/scripting-engines/
Dtrace-event-perl.c341 struct event_format *event = evsel->tp_format; in perl_process_tracepoint()
373 scripting_context->pevent = evsel->tp_format->pevent; in perl_process_tracepoint()
Dtrace-event-python.c793 struct event_format *event = evsel->tp_format; in python_process_tracepoint()
839 scripting_context->pevent = evsel->tp_format->pevent; in python_process_tracepoint()