Home
last modified time | relevance | path

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

123456

/linux-6.6.21/tools/perf/util/
Dsyscalltbl.c76 entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); in syscalltbl__init_native()
77 if (tbl->syscalls.entries == NULL) in syscalltbl__init_native()
88 qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); in syscalltbl__init_native()
89 tbl->syscalls.nr_entries = nr_entries; in syscalltbl__init_native()
90 tbl->syscalls.max_id = syscalltbl_native_max_id; in syscalltbl__init_native()
108 zfree(&tbl->syscalls.entries); in syscalltbl__delete()
119 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
120 tbl->syscalls.nr_entries, sizeof(*sc), in syscalltbl__id()
129 struct syscall *syscalls = tbl->syscalls.entries; in syscalltbl__strglobmatch_next() local
131 for (i = *idx + 1; i < tbl->syscalls.nr_entries; ++i) { in syscalltbl__strglobmatch_next()
[all …]
/linux-6.6.21/tools/perf/scripts/python/
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 =…
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(),
Dsctop.py46 syscalls = autodict() variable
59 syscalls[id] += 1
61 syscalls[id] = 1
81 for id, val in sorted(syscalls.items(),
88 syscalls.clear()
Dsyscall-counts.py30 syscalls = autodict() variable
45 syscalls[id] += 1
47 syscalls[id] = 1
63 for id, val in sorted(syscalls.items(),
/linux-6.6.21/tools/perf/
Dcheck-headers.sh173 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
174 check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
175 check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
176 check_2 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.t…
Dbuiltin-trace.c138 } syscalls; member
1801 if (trace->syscalls.table == NULL) { in trace__read_syscall_info()
1802 trace->syscalls.table = calloc(trace->sctbl->syscalls.max_id + 1, sizeof(*sc)); in trace__read_syscall_info()
1803 if (trace->syscalls.table == NULL) in trace__read_syscall_info()
1807 if (id > trace->sctbl->syscalls.max_id || (id == 0 && trace->syscalls.table == NULL)) { in trace__read_syscall_info()
1809 struct syscall *table = realloc(trace->syscalls.table, (id + 1) * sizeof(*sc)); in trace__read_syscall_info()
1815 if (trace->syscalls.table == NULL) in trace__read_syscall_info()
1818 …memset(table + trace->sctbl->syscalls.max_id + 1, 0, (id - trace->sctbl->syscalls.max_id) * sizeof… in trace__read_syscall_info()
1820 trace->syscalls.table = table; in trace__read_syscall_info()
1821 trace->sctbl->syscalls.max_id = id; in trace__read_syscall_info()
[all …]
/linux-6.6.21/tools/perf/scripts/perl/bin/
Drw-by-pid-record2 perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e sys…
Drwtop-record2 perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e sys…
Drw-by-file-record2 perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@
Dfailed-syscalls-record3 perf record -e syscalls:sys_exit $@) 2> /dev/null
/linux-6.6.21/Documentation/admin-guide/
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 from which syscalls are always executed directly, regardless of the
67 included in this region. In addition, for syscalls that implement the
/linux-6.6.21/scripts/
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-6.6.21/tools/perf/scripts/perl/
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
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
Drw-by-file.pl28 sub syscalls::sys_enter_read subroutine
39 sub syscalls::sys_enter_write subroutine
/linux-6.6.21/tools/perf/scripts/python/bin/
Dfutex-contention-record2 perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@
Dfailed-syscalls-by-pid-record3 perf record -e syscalls:sys_exit $@) 2> /dev/null
Dsyscall-counts-by-pid-record3 perf record -e syscalls:sys_enter $@) 2> /dev/null
Dsctop-record3 perf record -e syscalls:sys_enter $@) 2> /dev/null
/linux-6.6.21/
DKbuild42 PHONY += missing-syscalls
43 missing-syscalls: scripts/checksyscalls.sh $(offsets-file)
44 $(call cmd,syscalls)
73 prepare: $(offsets-file) missing-syscalls $(atomic-checks)
/linux-6.6.21/tools/perf/arch/loongarch/
DMakefile13 header := $(out)/syscalls.c
16 sysprf := $(srctree)/tools/perf/arch/loongarch/entry/syscalls/
/linux-6.6.21/tools/perf/arch/arm64/
DMakefile14 header := $(out)/syscalls.c
17 sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/
/linux-6.6.21/tools/perf/Documentation/
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.
166 --syscalls::
168 --no-syscalls.
272 $ perf trace --no-syscalls -F
[all …]
/linux-6.6.21/arch/s390/
DMakefile124 syscalls := arch/s390/kernel/syscalls macro
145 $(Q)$(MAKE) $(build)=$(syscalls) uapi
148 $(Q)$(MAKE) $(build)=$(syscalls) kapi

123456