Home
last modified time | relevance | path

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

/linux/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 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.c341 struct tep_event *tp_format = evsel__tp_format(evsel); in get_tracepoint_field() local
344 if (IS_ERR_OR_NULL(tp_format)) in get_tracepoint_field()
357 field = tep_find_any_field(tp_format, str); in get_tracepoint_field()
1552 struct tep_event *tp_format; in pyrf__tracepoint()
1561 tp_format = trace_event__tp_format(sys, name); in pyrf__tracepoint()
1562 if (IS_ERR(tp_format)) in pyrf__tracepoint()
1565 return PyLong_FromLong(tp_format->id); in pyrf__tracepoint()
/linux/tools/perf/
H A Dbuiltin-trace.c405 const struct tep_event *tp_format = evsel__tp_format(evsel); in evsel__syscall_arg_fmt() local
407 if (tp_format == NULL) in evsel__syscall_arg_fmt()
410 et->fmt = calloc(tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt()
1471 struct tep_event *tp_format; member
2165 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in syscall__read_info()
2167 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in syscall__read_info()
2169 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in syscall__read_info()
2176 if (IS_ERR(sc->tp_format)) { in syscall__read_info()
2178 err = PTR_ERR(sc->tp_format); in syscall__read_info()
2179 sc->tp_format in syscall__read_info()
2218 const struct tep_event *tp_format = evsel__tp_format(evsel); evsel__init_tp_arg_scnprintf() local
3167 const struct tep_event *tp_format = evsel__tp_format(evsel); trace__fprintf_tp_fields() local
3288 const struct tep_event *tp_format = evsel__tp_format(evsel); trace__event_handler() local
4212 const struct tep_event *tp_format; evsel__find_syscall_arg_fmt_by_name() local
5073 const struct tep_event *tp_format = evsel__tp_format(evsel); evsel__set_syscall_arg_fmt() local
5094 const struct tep_event *tp_format; evlist__set_syscall_tp_fields() local
[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.c2230 const struct tep_event *tp_format = evsel__tp_format(evsel); in process_event() local
2232 if (tp_format) { in process_event()
2233 event_format__fprintf(tp_format, sample->cpu, in process_event()