Home
last modified time | relevance | path

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

/tools/perf/util/
Dtrace-event.c76 tp_format(const char *sys, const char *name) in tp_format() function
107 return tp_format(sys, name); in trace_event__tp_format()
Dpython.c359 if (!evsel->tp_format) { in get_tracepoint_field()
360 struct event_format *tp_format; in get_tracepoint_field() local
362 tp_format = trace_event__tp_format_id(evsel->attr.config); in get_tracepoint_field()
363 if (!tp_format) in get_tracepoint_field()
366 evsel->tp_format = tp_format; in get_tracepoint_field()
369 field = pevent_find_any_field(evsel->tp_format, str); in get_tracepoint_field()
1186 struct event_format *tp_format; in pyrf__tracepoint() local
1195 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1196 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1199 return PyInt_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.h104 struct event_format *tp_format; member
Devsel.c346 evsel->tp_format = trace_event__tp_format(sys, name); in perf_evsel__newtp_idx()
347 if (IS_ERR(evsel->tp_format)) { in perf_evsel__newtp_idx()
348 err = PTR_ERR(evsel->tp_format); in perf_evsel__newtp_idx()
353 attr.config = evsel->tp_format->id; in perf_evsel__newtp_idx()
2606 return pevent_find_field(evsel->tp_format, name); in perf_evsel__field()
Dsort.c638 evsel->tp_format); in get_trace_output()
640 pevent_event_info(&seq, evsel->tp_format, &rec); in get_trace_output()
2258 field = evsel->tp_format->format.fields; in add_evsel_fields()
2297 field = pevent_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
2364 field = pevent_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
Dheader.c2833 if (evsel->tp_format) in perf_evsel__prepare_tracepoint_event()
2854 evsel->tp_format = event; in perf_evsel__prepare_tracepoint_event()
/tools/perf/
Dbuiltin-trace.c791 struct event_format *tp_format; member
1240 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1242 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1244 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1247 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1250 if (IS_ERR(sc->tp_format)) in trace__read_syscall_info()
1253 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1433 } else if (IS_ERR(sc->tp_format)) { in syscall__scnprintf_args()
1895 } else if (evsel->tp_format) { in trace__event_handler()
1896 event_format__fprintf(evsel->tp_format, sample->cpu, in trace__event_handler()
Dbuiltin-kmem.c752 pevent_event_info(&seq, evsel->tp_format, &record); in parse_gfp_flags()
1979 kmem_page_size = pevent_get_page_size(evsel->tp_format->pevent); in cmd_kmem()
Dbuiltin-script.c1419 event_format__print(evsel->tp_format, sample->cpu, in process_event()
/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.c528 struct event_format *event = evsel->tp_format; in python_process_tracepoint()
574 scripting_context->pevent = evsel->tp_format->pevent; in python_process_tracepoint()