Home
last modified time | relevance | path

Searched refs:syscalls (Results 1 – 25 of 138) sorted by relevance

123456

/linux/tools/perf/
H A Dcheck-headers.sh198 check_2 tools/perf/arch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_32.tbl
199 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
200 check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
201 check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
202 check_2 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.t…
203 check_2 tools/perf/arch/arm/entry/syscalls/syscall.tbl arch/arm/tools/syscall.tbl
204 check_2 tools/perf/arch/sh/entry/syscalls/syscall.tbl arch/sh/kernel/syscalls/syscall.tbl
205 check_2 tools/perf/arch/sparc/entry/syscalls/syscall.tbl arch/sparc/kernel/syscalls/syscall.tbl
206 check_2 tools/perf/arch/xtensa/entry/syscalls/syscall.tbl arch/xtensa/kernel/syscalls/syscall.tbl
207 check_2 tools/perf/arch/alpha/entry/syscalls/syscall.tbl arch/alpha/entry/syscalls/syscall.tbl
[all …]
H A Dbuiltin-trace.c155 } syscalls; member
2554 if (trace->syscalls.table) { in trace__find_syscall()
2555 struct syscall **sc_entry = bsearch(&key, trace->syscalls.table, in trace__find_syscall()
2556 trace->syscalls.table_size, in trace__find_syscall()
2557 sizeof(trace->syscalls.table[0]), in trace__find_syscall()
2568 tmp = reallocarray(trace->syscalls.table, trace->syscalls.table_size + 1, in trace__find_syscall()
2569 sizeof(trace->syscalls.table[0])); in trace__find_syscall()
2575 trace->syscalls.table = tmp; in trace__find_syscall()
2576 trace->syscalls.table[trace->syscalls.table_size++] = sc; in trace__find_syscall()
2577 qsort(trace->syscalls.table, trace->syscalls.table_size, sizeof(trace->syscalls.table[0]), in trace__find_syscall()
[all …]
/linux/tools/perf/scripts/python/
H A Dfailed-syscalls-by-pid.py34 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 =…
H A Dsyscall-counts-by-pid.py33 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(),
H A Dsctop.py46 syscalls = autodict() variable
59 syscalls[id] += 1
61 syscalls[id] = 1
81 for id, val in sorted(syscalls.items(),
88 syscalls.clear()
H A Dsyscall-counts.py30 syscalls = autodict() variable
45 syscalls[id] += 1
47 syscalls[id] = 1
63 for id, val in sorted(syscalls.items(),
/linux/tools/perf/scripts/perl/bin/
H A Drw-by-pid-record2 perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e sys…
H A Drwtop-record2 perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e sys…
H A Drw-by-file-record2 perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@
/linux/Documentation/admin-guide/
H A Dsyscall-user-dispatch.rst12 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 a memory region interval from which syscalls are always executed directly,
67 included in this region. In addition, for syscalls that implement the
[all …]
/linux/tools/testing/selftests/ftrace/test.d/filter/
H A Devent-filter-function.tc88 if [ -f events/syscalls/sys_enter_openat/filter ]; then
90 echo "filename.ustring ~ \"*$DIRNAME*\"" > events/syscalls/sys_enter_openat/filter
91 echo 1 > events/syscalls/sys_enter_openat/enable
98 echo 0 > events/syscalls/sys_enter_openat/enable
/linux/tools/perf/scripts/perl/
H A Drwtop.pl35 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
H A Drw-by-pid.pl24 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
H A Drw-by-file.pl28 sub syscalls::sys_enter_read subroutine
39 sub syscalls::sys_enter_write subroutine
/linux/scripts/
H A Dchecksyscalls.sh205 /* ... including the "new" 32-bit uid syscalls */
248 /* Unmerged syscalls for AFS, STREAMS, etc. */
272 (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \
/linux/tools/perf/scripts/python/bin/
H A Dfutex-contention-record2 perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@
H A Dfailed-syscalls-by-pid-record3 perf record -e syscalls:sys_exit $@) 2> /dev/null
H A Dsyscall-counts-by-pid-record3 perf record -e syscalls:sys_enter $@) 2> /dev/null
H A Dsctop-record3 perf record -e syscalls:sys_enter $@) 2> /dev/null
/linux/tools/perf/Documentation/
H A Dperf-trace.txt17 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.
171 --syscalls::
173 --no-syscalls.
284 $ perf trace --no-syscalls -F
[all …]
H A Dperf-script-python.txt79 - 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
247 The syscalls 'autodict' object is a special kind of Python dictionary
251 levels if they don't exist e.g syscalls[comm][pid][id] = 1 will create
[all …]
/linux/arch/s390/
H A DMakefile124 syscalls := arch/s390/kernel/syscalls macro
142 $(Q)$(MAKE) $(build)=$(syscalls) all
/linux/Documentation/core-api/
H A Dentry.rst1 Entry/exit handling for exceptions, interrupts, syscalls and KVM
108 Do not nest syscalls. Nested syscalls will cause RCU and/or context tracking
114 Entering or exiting guest mode is very similar to syscalls. From the host
131 Interrupts entry and exit handling is slightly more complex than syscalls
135 and exit handling is exactly the same as for syscalls.
/linux/Documentation/locking/
H A Drobust-futexes.rst134 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/testing/selftests/arm64/abi/
H A Dsyscall-abi.c57 } syscalls[] = { variable
547 ksft_set_plan(ARRAY_SIZE(syscalls) * tests); in main()
559 for (i = 0; i < ARRAY_SIZE(syscalls); i++) in main()
560 test_one_syscall(&syscalls[i]); in main()

123456