/Linux-v5.10/tools/perf/util/ |
D | syscalltbl.c | 68 entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); in syscalltbl__init_native() 69 if (tbl->syscalls.entries == NULL) in syscalltbl__init_native() 80 qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); in syscalltbl__init_native() 81 tbl->syscalls.nr_entries = nr_entries; in syscalltbl__init_native() 82 tbl->syscalls.max_id = syscalltbl_native_max_id; in syscalltbl__init_native() 100 zfree(&tbl->syscalls.entries); in syscalltbl__delete() 111 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id() 112 tbl->syscalls.nr_entries, sizeof(*sc), in syscalltbl__id() 121 struct syscall *syscalls = tbl->syscalls.entries; in syscalltbl__strglobmatch_next() local 123 for (i = *idx + 1; i < tbl->syscalls.nr_entries; ++i) { in syscalltbl__strglobmatch_next() [all …]
|
/Linux-v5.10/tools/perf/scripts/python/ |
D | failed-syscalls-by-pid.py | 34 syscalls = autodict() variable 51 syscalls[common_comm][common_pid][id][ret] += 1 53 syscalls[common_comm][common_pid][id][ret] = 1 69 comm_keys = syscalls.keys() 71 pid_keys = syscalls[comm].keys() 74 id_keys = syscalls[comm][pid].keys() 77 ret_keys = syscalls[comm][pid][id].keys() 78 …for ret, val in sorted(syscalls[comm][pid][id].items(), key = lambda kv: (kv[1], kv[0]), reverse =…
|
D | syscall-counts-by-pid.py | 33 syscalls = autodict() variable 48 syscalls[common_comm][common_pid][id] += 1 50 syscalls[common_comm][common_pid][id] = 1 67 comm_keys = syscalls.keys() 69 pid_keys = syscalls[comm].keys() 72 id_keys = syscalls[comm][pid].keys() 73 for id, val in sorted(syscalls[comm][pid].items(),
|
D | sctop.py | 46 syscalls = autodict() variable 59 syscalls[id] += 1 61 syscalls[id] = 1 81 for id, val in sorted(syscalls.items(), 88 syscalls.clear()
|
D | syscall-counts.py | 30 syscalls = autodict() variable 45 syscalls[id] += 1 47 syscalls[id] = 1 63 for id, val in sorted(syscalls.items(),
|
/Linux-v5.10/tools/perf/scripts/perl/bin/ |
D | rw-by-pid-record | 2 perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e sys…
|
D | rwtop-record | 2 perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e sys…
|
D | rw-by-file-record | 2 perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@
|
/Linux-v5.10/scripts/ |
D | checksyscalls.sh | 204 /* ... including the "new" 32-bit uid syscalls */ 247 /* Unmerged syscalls for AFS, STREAMS, etc. */ 264 (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \
|
/Linux-v5.10/tools/perf/scripts/perl/ |
D | rwtop.pl | 35 sub syscalls::sys_exit_read subroutine 53 sub syscalls::sys_enter_read subroutine 66 sub syscalls::sys_exit_write subroutine 79 sub syscalls::sys_enter_write subroutine
|
D | rw-by-pid.pl | 24 sub syscalls::sys_exit_read subroutine 40 sub syscalls::sys_enter_read subroutine 51 sub syscalls::sys_exit_write subroutine 62 sub syscalls::sys_enter_write subroutine
|
D | rw-by-file.pl | 28 sub syscalls::sys_enter_read subroutine 39 sub syscalls::sys_enter_write subroutine
|
/Linux-v5.10/tools/perf/scripts/python/bin/ |
D | futex-contention-record | 2 perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@
|
D | failed-syscalls-by-pid-record | 3 perf record -e syscalls:sys_exit $@) 2> /dev/null
|
D | syscall-counts-by-pid-record | 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
D | syscall-counts-record | 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
/Linux-v5.10/ |
D | Kbuild | 42 always-y += missing-syscalls 47 missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE 48 $(call cmd,syscalls)
|
/Linux-v5.10/tools/perf/ |
D | builtin-trace.c | 133 } syscalls; member 1752 if (trace->syscalls.table == NULL) { in trace__read_syscall_info() 1753 trace->syscalls.table = calloc(trace->sctbl->syscalls.max_id + 1, sizeof(*sc)); in trace__read_syscall_info() 1754 if (trace->syscalls.table == NULL) in trace__read_syscall_info() 1758 if (id > trace->sctbl->syscalls.max_id || (id == 0 && trace->syscalls.table == NULL)) { in trace__read_syscall_info() 1760 struct syscall *table = realloc(trace->syscalls.table, (id + 1) * sizeof(*sc)); in trace__read_syscall_info() 1766 if (trace->syscalls.table == NULL) in trace__read_syscall_info() 1769 …memset(table + trace->sctbl->syscalls.max_id + 1, 0, (id - trace->sctbl->syscalls.max_id) * sizeof… in trace__read_syscall_info() 1771 trace->syscalls.table = table; in trace__read_syscall_info() 1772 trace->sctbl->syscalls.max_id = id; in trace__read_syscall_info() [all …]
|
D | check-headers.sh | 146 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
|
/Linux-v5.10/tools/perf/arch/arm64/ |
D | Makefile | 13 header := $(out)/syscalls.c 16 sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/
|
/Linux-v5.10/tools/perf/arch/s390/ |
D | Makefile | 15 syskrn := $(srctree)/arch/s390/kernel/syscalls/syscall.tbl 16 sysprf := $(srctree)/tools/perf/arch/s390/entry/syscalls
|
/Linux-v5.10/tools/perf/arch/powerpc/ |
D | Makefile | 17 syskrn := $(srctree)/arch/powerpc/kernel/syscalls/syscall.tbl 18 sysprf := $(srctree)/tools/perf/arch/powerpc/entry/syscalls
|
/Linux-v5.10/arch/s390/ |
D | Makefile | 141 syscalls := arch/s390/kernel/syscalls macro 166 $(Q)$(MAKE) $(build)=$(syscalls) uapi 169 $(Q)$(MAKE) $(build)=$(syscalls) kapi
|
/Linux-v5.10/tools/perf/Documentation/ |
D | perf-trace.txt | 17 syscalls, but other system events like pagefaults, task lifetime events, 39 List of syscalls and other perf events (tracepoints, HW cache events, 42 Prefixing with ! shows all syscalls but the ones specified. You may 126 Show only syscalls that failed, i.e. that returned < 0. 141 Show only a summary of syscalls by thread with min, max, and average times 146 Show all syscalls followed by a summary by thread with min, max, and 151 syscalls, using only this option will trigger --summary. 166 --syscalls:: 168 --no-syscalls. 272 $ perf trace --no-syscalls -F [all …]
|
/Linux-v5.10/tools/perf/tests/ |
D | mmap-basic.c | 41 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid }; in test__basic_mmap() local 112 int foo = syscalls[i](); in test__basic_mmap()
|