Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dtrace-event.c74 tp_format(const char *sys, const char *name) in tp_format() function
109 return tp_format(sys, name); in trace_event__tp_format()
H A Dtrace-event-scripting.c34 if (evsel->tp_format) in scripting_context__update()
35 c->pevent = evsel->tp_format->tep; in scripting_context__update()
H A Dpython.c531 if (!evsel->tp_format) { in get_tracepoint_field()
532 struct tep_event *tp_format; in get_tracepoint_field() local
534 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
535 if (IS_ERR_OR_NULL(tp_format)) in get_tracepoint_field()
538 evsel->tp_format = tp_format; in get_tracepoint_field()
541 field = tep_find_any_field(evsel->tp_format, str); in get_tracepoint_field()
1385 struct tep_event *tp_format; in pyrf__tracepoint()
1394 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1395 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1398 return _PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
H A Ddata-convert-bt.c429 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_values()
430 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_values()
1067 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_types()
1068 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_types()
H A Devsel_fprintf.c90 field = evsel->tp_format->format.fields; in evsel__fprintf()
H A Devsel.c413 evsel->tp_format = orig->tp_format; in evsel__clone()
471 evsel->tp_format = trace_event__tp_format(sys, name); in evsel__newtp_idx()
472 if (IS_ERR(evsel->tp_format)) { in evsel__newtp_idx()
473 err = PTR_ERR(evsel->tp_format); in evsel__newtp_idx()
478 attr.config = evsel->tp_format->id; in evsel__newtp_idx()
2765 return tep_find_field(evsel->tp_format, name); in evsel__field()
H A Ddata-convert-json.c236 fields = tep_event_fields(evsel->tp_format); in process_sample_event()
H A Devsel.h78 struct tep_event *tp_format; member
H A Dsort.c903 evsel->tp_format); in get_trace_output()
905 tep_print_event(evsel->tp_format->tep, in get_trace_output()
2936 field = evsel->tp_format->format.fields; in add_evsel_fields()
2975 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
3057 struct tep_format_field *field = tep_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
H A Dheader.c4139 if (evsel->tp_format) in evsel__prepare_tracepoint_event()
4160 evsel->tp_format = event; in evsel__prepare_tracepoint_event()
/openbmc/linux/tools/perf/
H A Dbuiltin-trace.c360 et->fmt = calloc(evsel->tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt()
1216 struct tep_event *tp_format; member
1837 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1839 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1841 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1848 if (IS_ERR(sc->tp_format)) { in trace__read_syscall_info()
1850 return PTR_ERR(sc->tp_format); in trace__read_syscall_info()
1857 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? in trace__read_syscall_info()
1858 RAW_SYSCALL_ARGS_NUM : sc->tp_format->format.nr_fields - 1)) in trace__read_syscall_info()
1861 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
[all …]
H A Dbuiltin-kmem.c775 tep_print_event(evsel->tp_format->tep, in parse_gfp_flags()
2022 kmem_page_size = tep_get_page_size(evsel->tp_format->tep); in cmd_kmem()
H A Dbuiltin-kwork.c918 struct tep_print_arg *args = evsel->tp_format->print_fmt.args; in evsel__softirq_name()
H A Dbuiltin-script.c2180 event_format__fprintf(evsel->tp_format, sample->cpu, in process_event()
/openbmc/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c347 struct tep_event *event = evsel->tp_format; in perl_process_tracepoint()
H A Dtrace-event-python.c934 struct tep_event *event = evsel->tp_format; in python_process_tracepoint()