Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsyscalltbl.c68 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 …]
/OK3568_Linux_fs/kernel/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(),
/OK3568_Linux_fs/buildroot/package/ltp-testsuite/
H A D0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch49 testcases/kernel/syscalls/madvise/madvise06.c | 2 +-
50 testcases/kernel/syscalls/sysinfo/sysinfo01.c | 2 +-
51 testcases/kernel/syscalls/sysinfo/sysinfo02.c | 2 +-
52 testcases/kernel/syscalls/sysinfo/sysinfo03.c | 2 +-
155 diff --git a/testcases/kernel/syscalls/madvise/madvise06.c b/testcases/kernel/syscalls/madvise/madv…
157 --- a/testcases/kernel/syscalls/madvise/madvise06.c
158 +++ b/testcases/kernel/syscalls/madvise/madvise06.c
168 diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo01.c b/testcases/kernel/syscalls/sysinfo/sysi…
170 --- a/testcases/kernel/syscalls/sysinfo/sysinfo01.c
171 +++ b/testcases/kernel/syscalls/sysinfo/sysinfo01.c
[all …]
H A Dltp-testsuite.mk79 testcases/kernel/syscalls/confstr/confstr01.c \
80 testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \
81 testcases/kernel/syscalls/getcontext/getcontext01.c \
82 testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \
83 testcases/kernel/syscalls/timer_create/timer_create01.c \
84 testcases/kernel/syscalls/timer_create/timer_create03.c
/OK3568_Linux_fs/kernel/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 $@
/OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-devtools/klibc/files/
H A D0001-workaround-for-overlapping-sections-in-binary.patch9 By fortunate syscalls.pl check magic bytes and ring the bell.
34 usr/klibc/syscalls/Kbuild | 2 +-
37 diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild
39 --- a/usr/klibc/syscalls/Kbuild
40 +++ b/usr/klibc/syscalls/Kbuild
41 @@ -71,7 +71,7 @@ $(obj)/typesize.c: $(srctree)/$(KLIBCSRC)/syscalls.pl $(obj)/SYSCALLS.i \
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/valgrind/valgrind/
H A D0003-correct-include-directive-path-for-config.h.patch13 memcheck/tests/linux/syscalls-2007.c | 2 +-
17 diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c
19 --- a/memcheck/tests/linux/syscalls-2007.c
20 +++ b/memcheck/tests/linux/syscalls-2007.c
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/ltp/ltp/
H A D0001-syscalls-pread02-extend-buffer-to-avoid-glibc-overflow-detection.patch4 Subject: [PATCH] syscalls/pread02: extend buffer to avoid glibc overflow
40 testcases/kernel/syscalls/pread/pread02.c | 2 +-
43 diff --git a/testcases/kernel/syscalls/pread/pread02.c b/testcases/kernel/syscalls/pread/pread02.c
45 --- a/testcases/kernel/syscalls/pread/pread02.c
46 +++ b/testcases/kernel/syscalls/pread/pread02.c
H A D0001-clock_gettime04-set-threshold-based-on-the-clock-res.patch39 .../syscalls/clock_gettime/clock_gettime04.c | 18 ++++++++++++++++--
42 diff --git a/testcases/kernel/syscalls/clock_gettime/clock_gettime04.c b/testcases/kernel/syscalls/…
44 --- a/testcases/kernel/syscalls/clock_gettime/clock_gettime04.c
45 +++ b/testcases/kernel/syscalls/clock_gettime/clock_gettime04.c
/OK3568_Linux_fs/buildroot/package/libopenssl/
H A D0006-Add-support-for-io_pgetevents_time64-syscall.patch6 32-bit architectures that are y2038 safe don't include syscalls that use
7 32-bit time_t. Instead these architectures have suffixed syscalls that
12 syscall based on the avaliable syscalls and the time_t size. We will
18 wants to use the 64-bit syscalls we can handle the conversion.
42 + /* Let's only support the 64 suffix syscalls for 64-bit time_t.
/OK3568_Linux_fs/kernel/scripts/
H A Dchecksyscalls.sh204 /* ... 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) | \
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-trace.c133 } 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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/ltp/
H A Dltp_20220121.bb31 file://0001-syscalls-pread02-extend-buffer-to-avoid-glibc-overflow-detection.patch \
126 testcases/kernel/syscalls/confstr/confstr01.c \
127 testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \
128 testcases/kernel/syscalls/getcontext/getcontext01.c \
129 testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \
130 testcases/kernel/syscalls/timer_create/timer_create01.c \
131 testcases/kernel/syscalls/timer_create/timer_create03.c \
/OK3568_Linux_fs/kernel/
H A DKbuild42 always-y += missing-syscalls
47 missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
48 $(call cmd,syscalls)
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/bin/
H A Dfutex-contention-record2 perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@
/OK3568_Linux_fs/kernel/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.
166 --syscalls::
168 --no-syscalls.
272 $ perf trace --no-syscalls -F
[all …]
/OK3568_Linux_fs/kernel/tools/perf/arch/arm64/
H A DMakefile13 header := $(out)/syscalls.c
16 sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/
/OK3568_Linux_fs/kernel/tools/perf/arch/s390/
H A DMakefile15 syskrn := $(srctree)/arch/s390/kernel/syscalls/syscall.tbl
16 sysprf := $(srctree)/tools/perf/arch/s390/entry/syscalls

1234567