• Home
  • Raw
  • Download

Lines Matching refs:tp_format

356 		et->fmt = calloc(evsel->tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt));  in evsel__syscall_arg_fmt()
1196 struct tep_event *tp_format; member
1788 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1790 if (IS_ERR(sc->tp_format) && sc->fmt && sc->fmt->alias) { in trace__read_syscall_info()
1792 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1795 if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
1798 if (IS_ERR(sc->tp_format)) in trace__read_syscall_info()
1799 return PTR_ERR(sc->tp_format); in trace__read_syscall_info()
1801 sc->args = sc->tp_format->format.fields; in trace__read_syscall_info()
1823 syscall_arg_fmt__init_array(fmt, evsel->tp_format->format.fields); in evsel__init_tp_arg_scnprintf()
2044 } else if (IS_ERR(sc->tp_format)) { in syscall__scnprintf_args()
2679 struct tep_format_field *field = evsel->tp_format->format.fields;
2805 } else if (evsel->tp_format) {
2806 if (strncmp(evsel->tp_format->name, "sys_enter_", 10) ||
2809 event_format__fprintf(evsel->tp_format, sample->cpu,
3762 if (evsel->tp_format == NULL || fmt == NULL)
3765 for (field = evsel->tp_format->format.fields; field; field = field->next, ++fmt)
4514 if (strcmp(evsel->tp_format->format.fields->name, "__syscall_nr") == 0 ||
4515 strcmp(evsel->tp_format->format.fields->name, "nr") == 0)
4518 memcpy(fmt + skip, scfmt->arg, (evsel->tp_format->format.nr_fields - skip) * sizeof(*fmt));
4528 if (evsel->priv || !evsel->tp_format)
4531 if (strcmp(evsel->tp_format->system, "syscalls")) {
4539 if (!strncmp(evsel->tp_format->name, "sys_enter_", 10)) {
4545 evsel__set_syscall_arg_fmt(evsel, evsel->tp_format->name + sizeof("sys_enter_") - 1);
4546 } else if (!strncmp(evsel->tp_format->name, "sys_exit_", 9)) {
4552 evsel__set_syscall_arg_fmt(evsel, evsel->tp_format->name + sizeof("sys_exit_") - 1);