Home | History | Annotate | Download | only in perf

Lines Matching defs:syscalls

428 	} syscalls;
556 if (id > trace->syscalls.max) {
557 struct syscall *nsyscalls = realloc(trace->syscalls.table, (id + 1) * sizeof(*sc));
562 if (trace->syscalls.max != -1) {
563 memset(nsyscalls + trace->syscalls.max + 1, 0,
564 (id - trace->syscalls.max) * sizeof(*sc));
569 trace->syscalls.table = nsyscalls;
570 trace->syscalls.max = id;
573 sc = trace->syscalls.table + id;
592 sc->tp_format = event_format__new("syscalls", tp_name);
596 sc->tp_format = event_format__new("syscalls", tp_name);
672 if ((id > trace->syscalls.max || trace->syscalls.table[id].name == NULL) &&
676 if ((id > trace->syscalls.max || trace->syscalls.table[id].name == NULL))
679 return &trace->syscalls.table[id];
684 if (id <= trace->syscalls.max && trace->syscalls.table[id].name != NULL)
685 fprintf(trace->output, "(%s)", trace->syscalls.table[id].name);
1192 .syscalls = {