Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dtrace-event.c75 tp_format(const char *sys, const char *name) in tp_format() function
110 return tp_format(sys, name); in trace_event__tp_format()
Dpython.c421 if (!evsel->tp_format) { in get_tracepoint_field()
422 struct tep_event *tp_format; in get_tracepoint_field() local
424 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
425 if (!tp_format) in get_tracepoint_field()
428 evsel->tp_format = tp_format; in get_tracepoint_field()
431 field = tep_find_any_field(evsel->tp_format, str); in get_tracepoint_field()
1277 struct tep_event *tp_format; in pyrf__tracepoint() local
1286 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1287 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1290 return _PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
Devsel.c407 evsel->tp_format = orig->tp_format; in evsel__clone()
458 evsel->tp_format = trace_event__tp_format(sys, name); in evsel__newtp_idx()
459 if (IS_ERR(evsel->tp_format)) { in evsel__newtp_idx()
460 err = PTR_ERR(evsel->tp_format); in evsel__newtp_idx()
465 attr.config = evsel->tp_format->id; in evsel__newtp_idx()
2438 return tep_find_field(evsel->tp_format, name); in evsel__field()
Devsel_fprintf.c84 field = evsel->tp_format->format.fields; in evsel__fprintf()
Ddata-convert-bt.c423 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_values()
424 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_values()
1061 struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; in add_tracepoint_types()
1062 struct tep_format_field *fields = evsel->tp_format->format.fields; in add_tracepoint_types()
Devsel.h61 struct tep_event *tp_format; member
Dsort.c757 evsel->tp_format); in get_trace_output()
759 tep_print_event(evsel->tp_format->tep, in get_trace_output()
2408 field = evsel->tp_format->format.fields; in add_evsel_fields()
2447 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
2514 field = tep_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
Dheader.c3750 if (evsel->tp_format) in perf_evsel__prepare_tracepoint_event()
3771 evsel->tp_format = event; in perf_evsel__prepare_tracepoint_event()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-trace.c356 et->fmt = calloc(evsel->tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt()
1196 struct tep_event *tp_format; member
1788 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1790 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1792 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1795 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1798 if (IS_ERR(sc->tp_format)) in trace__read_syscall_info()
1799 return PTR_ERR(sc->tp_format); in trace__read_syscall_info()
1801 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1823 syscall_arg_fmt__init_array(fmt, evsel->tp_format->format.fields); in evsel__init_tp_arg_scnprintf()
[all …]
Dbuiltin-kmem.c753 tep_print_event(evsel->tp_format->tep, in parse_gfp_flags()
1980 kmem_page_size = tep_get_page_size(evsel->tp_format->tep); in cmd_kmem()
Dbuiltin-script.c1959 event_format__fprintf(evsel->tp_format, sample->cpu, in process_event()
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/
Dtrace-event-perl.c343 struct tep_event *event = evsel->tp_format; in perl_process_tracepoint()
375 scripting_context->pevent = evsel->tp_format->tep; in perl_process_tracepoint()
Dtrace-event-python.c801 struct tep_event *event = evsel->tp_format; in python_process_tracepoint()
847 scripting_context->pevent = evsel->tp_format->tep; in python_process_tracepoint()