Searched refs:tp_format (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | evsel_fprintf.c | 84 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 D | data-convert-json.c | 233 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 D | data-convert-bt.c | 429 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 D | evsel.c | 537 evsel->tp_format = orig->tp_format; in evsel__clone() 635 struct tep_event *tp_format = evsel->tp_format; in evsel__tp_format() local 637 if (tp_format) in evsel__tp_format() 638 return tp_format; in evsel__tp_format() 644 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in evsel__tp_format() 646 tp_format = trace_event__tp_format(evsel->tp_sys, evsel->tp_name); in evsel__tp_format() 648 if (IS_ERR(tp_format)) { in evsel__tp_format() 649 int err = -PTR_ERR(evsel->tp_format); in evsel__tp_format() 655 evsel->tp_format = tp_format; in evsel__tp_format() 656 return evsel->tp_format; in evsel__tp_format() [all …]
|
| H A D | sort.c | 1110 struct tep_event *tp_format; in get_trace_output() local 1115 tp_format = evsel__tp_format(evsel); in get_trace_output() 1116 if (tp_format) { in get_trace_output() 1118 tep_print_fields(&seq, he->raw_data, he->raw_size, tp_format); in get_trace_output() 1120 tep_print_event(tp_format->tep, &seq, &rec, "%s", TEP_PRINT_INFO); in get_trace_output() 3391 struct tep_event *tp_format = evsel__tp_format(evsel); in add_evsel_fields() local 3392 struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL; in add_evsel_fields() 3427 struct tep_event *tp_format; in add_all_matching_fields() local 3433 tp_format = evsel__tp_format(evsel); in add_all_matching_fields() 3434 if (tp_format == NULL) in add_all_matching_fields() [all …]
|
| H A D | evsel.h | 65 struct tep_event *tp_format; member
|
| H A D | python.c | 343 struct tep_event *tp_format = evsel__tp_format(evsel); in get_tracepoint_field() local 346 if (IS_ERR_OR_NULL(tp_format)) in get_tracepoint_field() 359 field = tep_find_any_field(tp_format, str); in get_tracepoint_field()
|
| H A D | header.c | 4190 if (evsel->tp_format) in evsel__prepare_tracepoint_event() 4211 evsel->tp_format = event; in evsel__prepare_tracepoint_event()
|
| /linux/tools/perf/ |
| H A D | builtin-trace.c | 406 const struct tep_event *tp_format = evsel__tp_format(evsel); in evsel__syscall_arg_fmt() local 408 if (tp_format == NULL) in evsel__syscall_arg_fmt() 411 et->fmt = calloc(tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt() 1472 struct tep_event *tp_format; member 2182 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in syscall__read_info() 2184 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in syscall__read_info() 2186 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in syscall__read_info() 2193 if (IS_ERR(sc->tp_format)) { in syscall__read_info() 2195 err = PTR_ERR(sc->tp_format); in syscall__read_info() 2196 sc->tp_format = NULL; in syscall__read_info() [all …]
|
| H A D | builtin-kmem.c | 764 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 D | builtin-kwork.c | 1107 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 D | builtin-script.c | 2452 const struct tep_event *tp_format = evsel__tp_format(evsel); in process_event() local 2454 if (tp_format) { in process_event() 2455 event_format__fprintf(tp_format, sample->cpu, in process_event()
|