Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A Devsel_fprintf.c84 const struct tep_event *tp_format; in evsel__fprintf() local
91 tp_format = evsel__tp_format(evsel); in evsel__fprintf()
92 field = tp_format ? tp_format->format.fields : NULL; in evsel__fprintf()
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.c112 const struct tep_event *tp_format = evsel__tp_format(evsel); in scripting_context__update() local
114 c->pevent = tp_format ? tp_format->tep : NULL; in scripting_context__update()
H A Ddata-convert-json.c233 struct tep_event *tp_format = evsel__tp_format(evsel); in process_sample_event() local
234 struct tep_format_field **fields = tp_format ? tep_event_fields(tp_format) : NULL; in process_sample_event()
H A Devsel.c534 evsel->tp_format = orig->tp_format; in evsel__clone()
649 struct tep_event *tp_format = evsel->tp_format; in evsel__tp_format() local
651 if (tp_format) in evsel__tp_format()
652 return tp_format; in evsel__tp_format()
662 if (IS_ERR(tp_format)) { in evsel__tp_format()
663 int err = -PTR_ERR(evsel->tp_format); in evsel__tp_format()
669 evsel->tp_format = tp_format; in evsel__tp_format()
670 return evsel->tp_format; in evsel__tp_format()
3355 struct tep_event *tp_format = evsel__tp_format(evsel); in evsel__field() local
3357 return tp_format ? tep_find_field(tp_format, name) : NULL; in evsel__field()
[all …]
H A Ddata-convert-bt.c429 const struct tep_event *tp_format = evsel__tp_format(evsel); in add_tracepoint_values() local
430 struct tep_format_field *common_fields = tp_format->format.common_fields; in add_tracepoint_values()
431 struct tep_format_field *fields = tp_format->format.fields; in add_tracepoint_values()
1068 const struct tep_event *tp_format = evsel__tp_format(evsel); in add_tracepoint_types() local
1069 struct tep_format_field *common_fields = tp_format ? tp_format->format.common_fields : NULL; in add_tracepoint_types()
1070 struct tep_format_field *fields = tp_format ? tp_format->format.fields : NULL; in add_tracepoint_types()
H A Dpython.c340 struct tep_event *tp_format = evsel__tp_format(evsel); in get_tracepoint_field() local
343 if (IS_ERR_OR_NULL(tp_format)) in get_tracepoint_field()
346 field = tep_find_any_field(tp_format, str); in get_tracepoint_field()
1327 struct tep_event *tp_format; in pyrf__tracepoint()
1336 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1337 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1340 return PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
H A Dsort.c1073 struct tep_event *tp_format; in get_trace_output() local
1078 tp_format = evsel__tp_format(evsel); in get_trace_output()
1079 if (tp_format) { in get_trace_output()
3310 struct tep_event *tp_format = evsel__tp_format(evsel); in add_evsel_fields() local
3311 struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL; in add_evsel_fields()
3346 struct tep_event *tp_format; in add_all_matching_fields() local
3352 tp_format = evsel__tp_format(evsel); in add_all_matching_fields()
3353 if (tp_format == NULL) in add_all_matching_fields()
3356 field = tep_find_any_field(tp_format, field_name); in add_all_matching_fields()
3438 struct tep_event *tp_format = evsel__tp_format(evsel); in add_dynamic_entry() local
[all …]
H A Devsel.h64 struct tep_event *tp_format; member
H A Dheader.c4178 if (evsel->tp_format) in evsel__prepare_tracepoint_event()
4199 evsel->tp_format = event; in evsel__prepare_tracepoint_event()
/linux-6.15/tools/perf/
H A Dbuiltin-trace.c415 if (tp_format == NULL) in evsel__syscall_arg_fmt()
1477 struct tep_event *tp_format; member
2172 if (IS_ERR(sc->tp_format)) { in syscall__read_info()
2174 err = PTR_ERR(sc->tp_format); in syscall__read_info()
2175 sc->tp_format = NULL; in syscall__read_info()
2216 if (tp_format) { in evsel__init_tp_arg_scnprintf()
3167 struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL; in trace__fprintf_tp_fields()
3289 if (tp_format && (strncmp(tp_format->name, "sys_enter_", 10) || in trace__event_handler()
4236 if (!tp_format) in evsel__find_syscall_arg_fmt_by_name()
5096 if (tp_format) { in evsel__set_syscall_arg_fmt()
[all …]
H A Dbuiltin-kmem.c764 const struct tep_event *tp_format; in parse_gfp_flags() local
776 tp_format = evsel__tp_format(evsel); in parse_gfp_flags()
777 if (tp_format) in parse_gfp_flags()
778 tep_print_event(tp_format->tep, &seq, &record, "%s", TEP_PRINT_INFO); in parse_gfp_flags()
2017 const struct tep_event *tp_format = evsel ? evsel__tp_format(evsel) : NULL; in cmd_kmem() local
2019 if (tp_format == NULL) { in cmd_kmem()
2023 kmem_page_size = tep_get_page_size(tp_format->tep); in cmd_kmem()
H A Dbuiltin-kwork.c1107 const struct tep_event *tp_format = evsel__tp_format(evsel); in evsel__softirq_name() local
1108 struct tep_print_arg *args = tp_format ? tp_format->print_fmt.args : NULL; in evsel__softirq_name()
H A Dbuiltin-script.c2229 const struct tep_event *tp_format = evsel__tp_format(evsel); in process_event() local
2231 if (tp_format) { in process_event()
2232 event_format__fprintf(tp_format, sample->cpu, in process_event()