Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/util/
Dtrace-event.c42 tp_format(const char *sys, const char *name) in tp_format() function
81 return tp_format(sys, name); in trace_event__tp_format()
Ddata-convert-bt.c287 struct format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_values()
288 struct format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_values()
479 struct format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_types()
480 struct format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_types()
Devsel.h77 struct event_format *tp_format; member
Devsel.c238 evsel->tp_format = trace_event__tp_format(sys, name); in perf_evsel__newtp_idx()
239 if (evsel->tp_format == NULL) in perf_evsel__newtp_idx()
243 attr.config = evsel->tp_format->id; in perf_evsel__newtp_idx()
1974 return pevent_find_field(evsel->tp_format, name); in perf_evsel__field()
Dheader.c2428 if (evsel->tp_format) in perf_evsel__prepare_tracepoint_event()
2447 evsel->tp_format = event; in perf_evsel__prepare_tracepoint_event()
/linux-4.1.27/tools/perf/util/scripting-engines/
Dtrace-event-perl.c251 struct event_format *event = evsel->tp_format; in perl_process_tracepoint()
281 scripting_context->pevent = evsel->tp_format->pevent; in perl_process_tracepoint()
Dtrace-event-python.c386 struct event_format *event = evsel->tp_format; in python_process_tracepoint()
423 scripting_context->pevent = evsel->tp_format->pevent; in python_process_tracepoint()
/linux-4.1.27/tools/perf/
Dbuiltin-trace.c1137 struct event_format *tp_format; member
1511 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1513 if (sc->tp_format == NULL && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1515 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1518 if (sc->tp_format == NULL) in trace__read_syscall_info()
1521 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1522 sc->nr_args = sc->tp_format->format.nr_fields; in trace__read_syscall_info()
1890 if (evsel->tp_format) { in trace__event_handler()
1891 event_format__fprintf(evsel->tp_format, sample->cpu, in trace__event_handler()
Dbuiltin-kmem.c1169 if (evsel == NULL || evsel->tp_format == NULL) { in cmd_kmem()
1174 kmem_page_size = pevent_get_page_size(evsel->tp_format->pevent); in cmd_kmem()
Dbuiltin-script.c473 event_format__print(evsel->tp_format, sample->cpu, in process_event()