| /linux/tools/perf/util/ |
| A D | syscalltbl.c | 73 if (tbl->syscalls.entries == NULL) in syscalltbl__init_native() 84 qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); in syscalltbl__init_native() 85 tbl->syscalls.nr_entries = nr_entries; in syscalltbl__init_native() 86 tbl->syscalls.max_id = syscalltbl_native_max_id; in syscalltbl__init_native() 104 zfree(&tbl->syscalls.entries); in syscalltbl__delete() 115 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id() 116 tbl->syscalls.nr_entries, sizeof(*sc), in syscalltbl__id() 125 struct syscall *syscalls = tbl->syscalls.entries; in syscalltbl__strglobmatch_next() local 127 for (i = *idx + 1; i < tbl->syscalls.nr_entries; ++i) { in syscalltbl__strglobmatch_next() 128 if (strglobmatch(syscalls[i].name, syscall_glob)) { in syscalltbl__strglobmatch_next() [all …]
|
| /linux/tools/perf/scripts/python/ |
| A 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 =…
|
| A 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(),
|
| A 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()
|
| A 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/tools/perf/ |
| A D | check-headers.sh | 157 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl 158 check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl 159 check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl 160 check_2 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.t…
|
| A D | builtin-trace.c | 133 } syscalls; member 1765 trace->syscalls.table = calloc(trace->sctbl->syscalls.max_id + 1, sizeof(*sc)); in trace__read_syscall_info() 1770 if (id > trace->sctbl->syscalls.max_id || (id == 0 && trace->syscalls.table == NULL)) { in trace__read_syscall_info() 1787 sc = trace->syscalls.table + id; in trace__read_syscall_info() 2125 if ((trace->syscalls.table == NULL || trace->syscalls.table[id].name == NULL) && 2135 return &trace->syscalls.table[id]; 2141 if (id <= trace->sctbl->syscalls.max_id && trace->syscalls.table[id].name != NULL) 3653 if (trace->syscalls.map) 4025 if (trace->syscalls.map) 4745 if (trace->syscalls.table) { [all …]
|
| /linux/tools/perf/scripts/perl/bin/ |
| A 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…
|
| A D | rwtop-record | 2 perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e sys…
|
| A D | rw-by-file-record | 2 perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@
|
| /linux/Documentation/admin-guide/ |
| A D | syscall-user-dispatch.rst | 12 incompatible code - while being able to execute native syscalls without 15 filter syscalls based on memory regions, and it doesn't support removing 24 syscalls directly (disabled) or send them to be emulated in userspace 35 architectures, like x86, but at least for Wine, syscalls issued by 39 Since this mechanism is designed to capture syscalls issued by 40 non-native applications, it must function on syscalls whose invocation 45 As the ABI of these intercepted syscalls is unknown to Linux, these 46 syscalls are not instrumentable via ptrace or the syscall tracepoints. 61 from which syscalls are always executed directly, regardless of the 67 included in this region. In addition, for syscalls that implement the
|
| /linux/scripts/ |
| A D | checksyscalls.sh | 206 /* ... including the "new" 32-bit uid syscalls */ 249 /* Unmerged syscalls for AFS, STREAMS, etc. */ 270 (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \
|
| /linux/tools/perf/scripts/perl/ |
| A 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
|
| A 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
|
| A D | rw-by-file.pl | 28 sub syscalls::sys_enter_read subroutine 39 sub syscalls::sys_enter_write subroutine
|
| /linux/ |
| A D | Kbuild | 42 always-y += missing-syscalls 47 missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE 48 $(call cmd,syscalls)
|
| /linux/tools/perf/scripts/python/bin/ |
| A D | futex-contention-record | 2 perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@
|
| A D | failed-syscalls-by-pid-record | 3 perf record -e syscalls:sys_exit $@) 2> /dev/null
|
| A D | sctop-record | 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
| /linux/tools/perf/Documentation/ |
| A 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. 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 274 Trace syscalls, major and minor pagefaults: [all …]
|
| A D | perf-script-python.txt | 79 - we could enable every event under the tracing/events/syscalls 80 directory, but this is over 600 syscalls, well beyond the number 84 individual syscalls of interest. 86 - we can enable the sys_enter and/or sys_exit syscalls found under 87 tracing/events/raw_syscalls. These are called for all syscalls; the 239 syscalls = autodict() 242 syscalls[id] += 1 244 syscalls[id] = 1 286 syscalls = autodict() 295 syscalls[id] += 1 [all …]
|
| /linux/arch/s390/ |
| A D | Makefile | 129 syscalls := arch/s390/kernel/syscalls macro 151 $(Q)$(MAKE) $(build)=$(syscalls) uapi 154 $(Q)$(MAKE) $(build)=$(syscalls) kapi
|
| /linux/tools/perf/arch/arm64/ |
| A D | Makefile | 14 header := $(out)/syscalls.c 17 sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/
|
| /linux/Documentation/locking/ |
| A D | robust-futexes.rst | 134 need any extra per-lock syscalls. Robust mutexes thus become a very 159 msecs - clearly slower, due to the 1 million FUTEX_WAKE syscalls 169 The patch adds two new syscalls: one to register the userspace list, and 209 I've tested the new syscalls on x86 and x86_64, and have made sure the 213 i386 and x86_64 syscalls are wired up at the moment, and Ulrich has 218 the new syscalls yet. 221 inline function before writing up the syscalls.
|
| /linux/tools/perf/tests/ |
| A 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()
|