Lines Matching refs:tp_format
992 struct tep_event *tp_format; member
1525 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1527 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1529 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1532 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1535 if (IS_ERR(sc->tp_format)) in trace__read_syscall_info()
1536 return PTR_ERR(sc->tp_format); in trace__read_syscall_info()
1538 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1767 } else if (IS_ERR(sc->tp_format)) { in syscall__scnprintf_args()
2406 } else if (evsel->tp_format) { in trace__event_handler()
2407 if (strncmp(evsel->tp_format->name, "sys_enter_", 10) || in trace__event_handler()
2409 event_format__fprintf(evsel->tp_format, sample->cpu, in trace__event_handler()
3874 if (evsel->priv || !evsel->tp_format) in evlist__set_syscall_tp_fields()
3877 if (strcmp(evsel->tp_format->system, "syscalls")) in evlist__set_syscall_tp_fields()
3883 if (!strncmp(evsel->tp_format->name, "sys_enter_", 10)) { in evlist__set_syscall_tp_fields()
3888 } else if (!strncmp(evsel->tp_format->name, "sys_exit_", 9)) { in evlist__set_syscall_tp_fields()