Symbol: tp_format
tools/perf/builtin-kmem.c
2040
const struct tep_event *tp_format = evsel ? evsel__tp_format(evsel) : NULL;
tools/perf/builtin-kmem.c
2042
if (tp_format == NULL) {
tools/perf/builtin-kmem.c
2046
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(sample->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
1144
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-kwork.c
1145
struct tep_print_arg *args = tp_format ? tp_format->print_fmt.args : NULL;
tools/perf/builtin-script.c
2472
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-script.c
2474
if (tp_format) {
tools/perf/builtin-script.c
2475
event_format__fprintf(tp_format, sample->cpu,
tools/perf/builtin-trace.c
1461
struct tep_event *tp_format;
tools/perf/builtin-trace.c
2202
sc->tp_format = trace_event__tp_format("syscalls", tp_name);
tools/perf/builtin-trace.c
2204
if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) {
tools/perf/builtin-trace.c
2206
sc->tp_format = trace_event__tp_format("syscalls", tp_name);
tools/perf/builtin-trace.c
2213
if (IS_ERR(sc->tp_format)) {
tools/perf/builtin-trace.c
2215
err = PTR_ERR(sc->tp_format);
tools/perf/builtin-trace.c
2216
sc->tp_format = NULL;
tools/perf/builtin-trace.c
2224
if (syscall__alloc_arg_fmts(sc, sc->tp_format->format.nr_fields - 1))
tools/perf/builtin-trace.c
2227
sc->args = sc->tp_format->format.fields;
tools/perf/builtin-trace.c
2262
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
2264
if (tp_format) {
tools/perf/builtin-trace.c
2265
syscall_arg_fmt__init_array(fmt, tp_format->format.fields, use_btf);
tools/perf/builtin-trace.c
2499
} else if (IS_ERR(sc->tp_format)) {
tools/perf/builtin-trace.c
3216
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
3217
struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL;
tools/perf/builtin-trace.c
3364
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
3366
if (tp_format && (strncmp(tp_format->name, "sys_enter_", 10) ||
tools/perf/builtin-trace.c
3369
event_format__fprintf(tp_format, sample->cpu,
tools/perf/builtin-trace.c
417
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
419
if (tp_format == NULL)
tools/perf/builtin-trace.c
422
et->fmt = calloc(tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt));
tools/perf/builtin-trace.c
4290
const struct tep_event *tp_format;
tools/perf/builtin-trace.c
4295
tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
4296
if (!tp_format)
tools/perf/builtin-trace.c
4299
for (const struct tep_format_field *field = tp_format->format.fields; field;
tools/perf/builtin-trace.c
5157
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
5159
if (tp_format) {
tools/perf/builtin-trace.c
5162
if (strcmp(tp_format->format.fields->name, "__syscall_nr") == 0 ||
tools/perf/builtin-trace.c
5163
strcmp(tp_format->format.fields->name, "nr") == 0)
tools/perf/builtin-trace.c
5167
(tp_format->format.nr_fields - skip) * sizeof(*fmt));
tools/perf/builtin-trace.c
5178
const struct tep_event *tp_format;
tools/perf/builtin-trace.c
5183
tp_format = evsel__tp_format(evsel);
tools/perf/builtin-trace.c
5184
if (!tp_format)
tools/perf/builtin-trace.c
5187
if (strcmp(tp_format->system, "syscalls")) {
tools/perf/builtin-trace.c
5195
if (!strncmp(tp_format->name, "sys_enter_", 10)) {
tools/perf/builtin-trace.c
5202
tp_format->name + sizeof("sys_enter_") - 1);
tools/perf/builtin-trace.c
5203
} else if (!strncmp(tp_format->name, "sys_exit_", 9)) {
tools/perf/builtin-trace.c
5212
tp_format->name + sizeof("sys_exit_") - 1);
tools/perf/util/data-convert-bt.c
1079
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/data-convert-bt.c
1080
struct tep_format_field *common_fields = tp_format ? tp_format->format.common_fields : NULL;
tools/perf/util/data-convert-bt.c
1081
struct tep_format_field *fields = tp_format ? tp_format->format.fields : NULL;
tools/perf/util/data-convert-bt.c
435
const struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/data-convert-bt.c
436
struct tep_format_field *common_fields = tp_format->format.common_fields;
tools/perf/util/data-convert-bt.c
437
struct tep_format_field *fields = tp_format->format.fields;
tools/perf/util/data-convert-json.c
249
struct tep_event *tp_format = evsel__tp_format(sample->evsel);
tools/perf/util/data-convert-json.c
250
struct tep_format_field **fields = tp_format ? tep_event_fields(tp_format) : NULL;
tools/perf/util/evsel.c
3863
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/evsel.c
3865
return tp_format ? tep_find_field(tp_format, name) : NULL;
tools/perf/util/evsel.c
3870
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/evsel.c
3872
return tp_format ? tep_find_common_field(tp_format, name) : NULL;
tools/perf/util/evsel.c
594
evsel->tp_format = orig->tp_format;
tools/perf/util/evsel.c
692
struct tep_event *tp_format = evsel->tp_format;
tools/perf/util/evsel.c
694
if (tp_format)
tools/perf/util/evsel.c
695
return tp_format;
tools/perf/util/evsel.c
701
tp_format = trace_event__tp_format_id(evsel->core.attr.config);
tools/perf/util/evsel.c
703
tp_format = trace_event__tp_format(evsel->tp_sys, evsel->tp_name);
tools/perf/util/evsel.c
705
if (IS_ERR(tp_format)) {
tools/perf/util/evsel.c
706
int err = -PTR_ERR(evsel->tp_format);
tools/perf/util/evsel.c
713
evsel->tp_format = tp_format;
tools/perf/util/evsel.c
714
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
5059
if (evsel->tp_format)
tools/perf/util/header.c
5080
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
1235
struct tep_event *tp_format;
tools/perf/util/sort.c
1240
tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
1241
if (tp_format) {
tools/perf/util/sort.c
1243
tep_print_fields(&seq, he->raw_data, he->raw_size, tp_format);
tools/perf/util/sort.c
1245
tep_print_event(tp_format->tep, &seq, &rec, "%s", TEP_PRINT_INFO);
tools/perf/util/sort.c
3539
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
3540
struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL;
tools/perf/util/sort.c
3575
struct tep_event *tp_format;
tools/perf/util/sort.c
3581
tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
3582
if (tp_format == NULL)
tools/perf/util/sort.c
3585
field = tep_find_any_field(tp_format, field_name);
tools/perf/util/sort.c
3667
struct tep_event *tp_format = evsel__tp_format(evsel);
tools/perf/util/sort.c
3669
tp_format ? tep_find_any_field(tp_format, field_name) : NULL;
tools/perf/util/trace-event-scripting.c
110
const struct tep_event *tp_format = evsel__tp_format(sample->evsel);
tools/perf/util/trace-event-scripting.c
112
c->pevent = tp_format ? tp_format->tep : NULL;
tools/perf/util/trace-event.c
109
return tp_format(sys, name);