Searched refs:tp_format (Results 1 – 13 of 13) sorted by relevance
/tools/perf/util/ |
D | trace-event.c | 76 tp_format(const char *sys, const char *name) in tp_format() function 107 return tp_format(sys, name); in trace_event__tp_format()
|
D | python.c | 359 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()
|
D | evsel_fprintf.c | 83 field = evsel->tp_format->format.fields; in perf_evsel__fprintf()
|
D | data-convert-bt.c | 420 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()
|
D | evsel.h | 104 struct event_format *tp_format; member
|
D | evsel.c | 346 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()
|
D | sort.c | 638 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()
|
D | header.c | 2833 if (evsel->tp_format) in perf_evsel__prepare_tracepoint_event() 2854 evsel->tp_format = event; in perf_evsel__prepare_tracepoint_event()
|
/tools/perf/ |
D | builtin-trace.c | 791 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()
|
D | builtin-kmem.c | 752 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()
|
D | builtin-script.c | 1419 event_format__print(evsel->tp_format, sample->cpu, in process_event()
|
/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 341 struct event_format *event = evsel->tp_format; in perl_process_tracepoint() 373 scripting_context->pevent = evsel->tp_format->pevent; in perl_process_tracepoint()
|
D | trace-event-python.c | 528 struct event_format *event = evsel->tp_format; in python_process_tracepoint() 574 scripting_context->pevent = evsel->tp_format->pevent; in python_process_tracepoint()
|