tp_format
const struct tep_event *tp_format = evsel ? evsel__tp_format(evsel) : NULL;
if (tp_format == NULL) {
kmem_page_size = tep_get_page_size(tp_format->tep);
const struct tep_event *tp_format;
tp_format = evsel__tp_format(evsel);
if (tp_format)
tep_print_event(tp_format->tep, &seq, &record, "%s", TEP_PRINT_INFO);
const struct tep_event *tp_format = evsel__tp_format(evsel);
struct tep_print_arg *args = tp_format ? tp_format->print_fmt.args : NULL;
const struct tep_event *tp_format = evsel__tp_format(evsel);
if (tp_format) {
event_format__fprintf(tp_format, sample->cpu,
struct tep_event *tp_format;
sc->tp_format = trace_event__tp_format("syscalls", tp_name);
if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) {
sc->tp_format = trace_event__tp_format("syscalls", tp_name);
if (IS_ERR(sc->tp_format)) {
err = PTR_ERR(sc->tp_format);
sc->tp_format = NULL;
if (syscall__alloc_arg_fmts(sc, sc->tp_format->format.nr_fields - 1))
sc->args = sc->tp_format->format.fields;
const struct tep_event *tp_format = evsel__tp_format(evsel);
if (tp_format) {
syscall_arg_fmt__init_array(fmt, tp_format->format.fields, use_btf);
} else if (IS_ERR(sc->tp_format)) {
const struct tep_event *tp_format = evsel__tp_format(evsel);
struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL;
const struct tep_event *tp_format = evsel__tp_format(evsel);
if (tp_format && (strncmp(tp_format->name, "sys_enter_", 10) ||
event_format__fprintf(tp_format, sample->cpu,
const struct tep_event *tp_format = evsel__tp_format(evsel);
if (tp_format == NULL)
et->fmt = calloc(tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt));
const struct tep_event *tp_format;
tp_format = evsel__tp_format(evsel);
if (!tp_format)
for (const struct tep_format_field *field = tp_format->format.fields; field;
const struct tep_event *tp_format = evsel__tp_format(evsel);
if (tp_format) {
if (strcmp(tp_format->format.fields->name, "__syscall_nr") == 0 ||
strcmp(tp_format->format.fields->name, "nr") == 0)
(tp_format->format.nr_fields - skip) * sizeof(*fmt));
const struct tep_event *tp_format;
tp_format = evsel__tp_format(evsel);
if (!tp_format)
if (strcmp(tp_format->system, "syscalls")) {
if (!strncmp(tp_format->name, "sys_enter_", 10)) {
tp_format->name + sizeof("sys_enter_") - 1);
} else if (!strncmp(tp_format->name, "sys_exit_", 9)) {
tp_format->name + sizeof("sys_exit_") - 1);
const struct tep_event *tp_format = evsel__tp_format(evsel);
struct tep_format_field *common_fields = tp_format ? tp_format->format.common_fields : NULL;
struct tep_format_field *fields = tp_format ? tp_format->format.fields : NULL;
const struct tep_event *tp_format = evsel__tp_format(evsel);
struct tep_format_field *common_fields = tp_format->format.common_fields;
struct tep_format_field *fields = tp_format->format.fields;
struct tep_event *tp_format = evsel__tp_format(evsel);
struct tep_format_field **fields = tp_format ? tep_event_fields(tp_format) : NULL;
struct tep_event *tp_format = evsel__tp_format(evsel);
return tp_format ? tep_find_field(tp_format, name) : NULL;
struct tep_event *tp_format = evsel__tp_format(evsel);
return tp_format ? tep_find_common_field(tp_format, name) : NULL;
evsel->tp_format = orig->tp_format;
struct tep_event *tp_format = evsel->tp_format;
if (tp_format)
return tp_format;
tp_format = trace_event__tp_format_id(evsel->core.attr.config);
tp_format = trace_event__tp_format(evsel->tp_sys, evsel->tp_name);
if (IS_ERR(tp_format)) {
int err = -PTR_ERR(evsel->tp_format);
evsel->tp_format = tp_format;
return evsel->tp_format;
struct tep_event *tp_format;
const struct tep_event *tp_format;
tp_format = evsel__tp_format(evsel);
field = tp_format ? tp_format->format.fields : NULL;
if (evsel->tp_format)
evsel->tp_format = event;
struct tep_event *tp_format = evsel__tp_format(evsel);
if (IS_ERR_OR_NULL(tp_format))
field = tep_find_any_field(tp_format, str);
struct tep_event *tp_format;
tp_format = evsel__tp_format(evsel);
if (tp_format) {
tep_print_fields(&seq, he->raw_data, he->raw_size, tp_format);
tep_print_event(tp_format->tep, &seq, &rec, "%s", TEP_PRINT_INFO);
struct tep_event *tp_format = evsel__tp_format(evsel);
struct tep_format_field *field = tp_format ? tp_format->format.fields : NULL;
struct tep_event *tp_format;
tp_format = evsel__tp_format(evsel);
if (tp_format == NULL)
field = tep_find_any_field(tp_format, field_name);
struct tep_event *tp_format = evsel__tp_format(evsel);
tp_format ? tep_find_any_field(tp_format, field_name) : NULL;
const struct tep_event *tp_format = evsel__tp_format(evsel);
c->pevent = tp_format ? tp_format->tep : NULL;
return tp_format(sys, name);