Symbol: tp_format
tools/perf/builtin-kmem.c
2017
const struct tep_event *tp_format = evsel ? evsel__tp_format(evsel) : NULL;
tools/perf/builtin-kmem.c
2019
if (tp_format == NULL) {
tools/perf/builtin-kmem.c
2023
kmem_page_size = tep_get_page_size(tp_format->tep);
tools/perf/builtin-kmem.c
764
const struct tep_event *tp_format;
tools/perf/builtin-kmem.c
776
tp_format = evsel__tp_format(evsel);
tools/perf/builtin-kmem.c
777
if (tp_format)
tools/perf/builtin-kmem.c
778
tep_print_event(tp_format->tep, &seq, &record, "%s", TEP_PRINT_INFO);
tools/perf/builtin-kwork.c
1107
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-kwork.c
1108
struct tep_print_arg *args = tp_format ? tp_format->print_fmt.args : NULL;
tools/perf/builtin-script.c
2459
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-script.c
2461
if (tp_format) {
tools/perf/builtin-script.c
2462
event_format__fprintf(tp_format, sample->cpu,
tools/perf/builtin-trace.c
1472
struct tep_event *tp_format;
tools/perf/builtin-trace.c
2182
sc->tp_format = trace_event__tp_format("syscalls", tp_name);
tools/perf/builtin-trace.c
2184
if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) {
tools/perf/builtin-trace.c
2186
sc->tp_format = trace_event__tp_format("syscalls", tp_name);
tools/perf/builtin-trace.c
2193
if (IS_ERR(sc->tp_format)) {
tools/perf/builtin-trace.c
2195
err = PTR_ERR(sc->tp_format);
tools/perf/builtin-trace.c
2196
sc->tp_format = NULL;
tools/perf/builtin-trace.c
2204
if (syscall__alloc_arg_fmts(sc, sc->tp_format->format.nr_fields - 1))
tools/perf/builtin-trace.c
2207
sc->args = sc->tp_format->format.fields;
tools/perf/builtin-trace.c
2242
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
2244
if (tp_format) {
tools/perf/builtin-trace.c
2245
syscall_arg_fmt__init_array(fmt, tp_format->format.fields, use_btf);
tools/perf/builtin-trace.c
2481
} else if (IS_ERR(sc->tp_format)) {
tools/perf/builtin-trace.c
3189
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
3190
struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL;
tools/perf/builtin-trace.c
3312
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
3314
if (tp_format && (strncmp(tp_format->name, "sys_enter_", 10) ||
tools/perf/builtin-trace.c
3317
event_format__fprintf(tp_format, sample->cpu,
tools/perf/builtin-trace.c
406
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
408
if (tp_format == NULL)
tools/perf/builtin-trace.c
411
et->fmt = calloc(tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt));
tools/perf/builtin-trace.c
4236
const struct tep_event *tp_format;
tools/perf/builtin-trace.c
4241
tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
4242
if (!tp_format)
tools/perf/builtin-trace.c
4245
for (const struct tep_format_field *field = tp_format->format.fields; field;
tools/perf/builtin-trace.c
5101
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
5103
if (tp_format) {
tools/perf/builtin-trace.c
5106
if (strcmp(tp_format->format.fields->name, "__syscall_nr") == 0 ||
tools/perf/builtin-trace.c
5107
strcmp(tp_format->format.fields->name, "nr") == 0)
tools/perf/builtin-trace.c
5111
(tp_format->format.nr_fields - skip) * sizeof(*fmt));
tools/perf/builtin-trace.c
5122
const struct tep_event *tp_format;
tools/perf/builtin-trace.c
5127
tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
5128
if (!tp_format)
tools/perf/builtin-trace.c
5131
if (strcmp(tp_format->system, "syscalls")) {
tools/perf/builtin-trace.c
5139
if (!strncmp(tp_format->name, "sys_enter_", 10)) {
tools/perf/builtin-trace.c
5146
tp_format->name + sizeof("sys_enter_") - 1);
tools/perf/builtin-trace.c
5147
} else if (!strncmp(tp_format->name, "sys_exit_", 9)) {
tools/perf/builtin-trace.c
5156
tp_format->name + sizeof("sys_exit_") - 1);
tools/perf/util/data-convert-bt.c
1080
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/data-convert-bt.c
1081
struct tep_format_field *common_fields = tp_format ? tp_format->format.common_fields : NULL;
tools/perf/util/data-convert-bt.c
1082
struct tep_format_field *fields = tp_format ? tp_format->format.fields : NULL;
tools/perf/util/data-convert-bt.c
436
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/data-convert-bt.c
437
struct tep_format_field *common_fields = tp_format->format.common_fields;
tools/perf/util/data-convert-bt.c
438
struct tep_format_field *fields = tp_format->format.fields;
tools/perf/util/data-convert-json.c
248
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/data-convert-json.c
249
struct tep_format_field **fields = tp_format ? tep_event_fields(tp_format) : NULL;
tools/perf/util/evsel.c
3663
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/evsel.c
3665
return tp_format ? tep_find_field(tp_format, name) : NULL;
tools/perf/util/evsel.c
3670
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/evsel.c
3672
return tp_format ? tep_find_common_field(tp_format, name) : NULL;
tools/perf/util/evsel.c
538
evsel->tp_format = orig->tp_format;
tools/perf/util/evsel.c
636
struct tep_event *tp_format = evsel->tp_format;
tools/perf/util/evsel.c
638
if (tp_format)
tools/perf/util/evsel.c
639
return tp_format;
tools/perf/util/evsel.c
645
tp_format = trace_event__tp_format_id(evsel->core.attr.config);
tools/perf/util/evsel.c
647
tp_format = trace_event__tp_format(evsel->tp_sys, evsel->tp_name);
tools/perf/util/evsel.c
649
if (IS_ERR(tp_format)) {
tools/perf/util/evsel.c
650
int err = -PTR_ERR(evsel->tp_format);
tools/perf/util/evsel.c
657
evsel->tp_format = tp_format;
tools/perf/util/evsel.c
658
return evsel->tp_format;
tools/perf/util/evsel.h
65
struct tep_event *tp_format;
tools/perf/util/evsel_fprintf.c
84
const struct tep_event *tp_format;
tools/perf/util/evsel_fprintf.c
91
tp_format = evsel__tp_format(evsel);
tools/perf/util/evsel_fprintf.c
92
field = tp_format ? tp_format->format.fields : NULL;
tools/perf/util/header.c
4500
if (evsel->tp_format)
tools/perf/util/header.c
4521
evsel->tp_format = event;
tools/perf/util/python.c
343
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/python.c
346
if (IS_ERR_OR_NULL(tp_format))
tools/perf/util/python.c
359
field = tep_find_any_field(tp_format, str);
tools/perf/util/sort.c
1110
struct tep_event *tp_format;
tools/perf/util/sort.c
1115
tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
1116
if (tp_format) {
tools/perf/util/sort.c
1118
tep_print_fields(&seq, he->raw_data, he->raw_size, tp_format);
tools/perf/util/sort.c
1120
tep_print_event(tp_format->tep, &seq, &rec, "%s", TEP_PRINT_INFO);
tools/perf/util/sort.c
3398
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
3399
struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL;
tools/perf/util/sort.c
3434
struct tep_event *tp_format;
tools/perf/util/sort.c
3440
tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
3441
if (tp_format == NULL)
tools/perf/util/sort.c
3444
field = tep_find_any_field(tp_format, field_name);
tools/perf/util/sort.c
3526
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
3528
tp_format ? tep_find_any_field(tp_format, field_name) : NULL;
tools/perf/util/trace-event-scripting.c
111
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/trace-event-scripting.c
113
c->pevent = tp_format ? tp_format->tep : NULL;
tools/perf/util/trace-event.c
109
return tp_format(sys, name);