Home
last modified time | relevance | path

Searched refs:libc (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.15/rust/pin-init/examples/
H A Dpthread_mutex.rs23 raw: UnsafeCell<libc::pthread_mutex_t>,
36 libc::pthread_mutex_destroy(self.raw.get()); in drop()
64 let init = |slot: *mut UnsafeCell<libc::pthread_mutex_t>| { in new()
66 let slot: *mut libc::pthread_mutex_t = slot.cast(); in new()
70 let ret = unsafe { libc::pthread_mutexattr_init(attr) }; in new()
76 libc::pthread_mutexattr_settype(attr, libc::PTHREAD_MUTEX_NORMAL) in new()
80 unsafe { libc::pthread_mutexattr_destroy(attr) }; in new()
84 unsafe { slot.write(libc::PTHREAD_MUTEX_INITIALIZER) }; in new()
88 unsafe { libc::pthread_mutexattr_destroy(attr) }; in new()
106 unsafe { libc::pthread_mutex_lock(self.raw.get()) }; in lock()
[all …]
/linux-6.15/tools/perf/tests/shell/
H A Drecord+probe_libc_inet_pton.sh18 libc=$(grep -w libc /proc/self/maps | head -1 | sed -r 's/.*[[:space:]](\/.*)/\1/g')
19 nm -Dg $libc 2>/dev/null | grep -F -q inet_pton || exit 254
25 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \
26 grep -P -o "$event_pattern(?=[[:space:]]\(on inet_pton in $libc\))")
39 echo ".*inet_pton\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" >> $expected
43 …echo "((__GI_)?getaddrinfo|text_to_binary_address)\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" …
/linux-6.15/tools/perf/Documentation/
H A Dexamples.txt85 23.57% git-repack /lib64/libc-2.5.so
86 21.81% git /lib64/libc-2.5.so
92 1.97% rm /lib64/libc-2.5.so
94 1.37% mv /lib64/libc-2.5.so
97 0.90% git-update-serv /lib64/libc-2.5.so
112 7.31% git /lib64/libc-2.5.so [.] memcpy
114 6.24% git-repack /lib64/libc-2.5.so [.] memcpy
117 2.99% git /lib64/libc-2.5.so [.] memset
137 23.25% git-repack /lib64/libc-2.5.so
148 21.61% git /lib64/libc-2.5.so
[all …]
H A Dperf.data-directory-format.txt50 …build id event received for /lib/x86_64-linux-gnu/libc-2.28.so: 5b157f49586a3ca84d55837f97ff466767…
63 …5.481643: 2172167 cycles: 7f1a48c393c0 _IO_un_link+0x0 (/lib/x86_64-linux-gnu/libc-2.28.so)
H A Dperf-probe.txt277 Add probes at malloc() function on libc
279 ./perf probe -x /lib/libc.so.6 malloc or ./perf probe /lib/libc.so.6 malloc
283 ./perf probe --target-ns <target pid> -x /lib64/libc.so.6 malloc
291 ./perf probe -x /lib64/libc-2.25.so 'malloc_get_state\@GLIBC_2.2.5'
/linux-6.15/tools/testing/selftests/net/lib/py/
H A Dnetns.py8 libc = ctypes.cdll.LoadLibrary('libc.so.6') variable
44 libc.setns(ns_file.fileno(), 0)
48 libc.setns(self.saved.fileno(), 0)
/linux-6.15/tools/testing/selftests/powerpc/pmu/
H A Dlib.c135 struct addr_range libc, vdso; variable
161 libc.first = start; in parse_proc_maps()
162 libc.last = end - 1; in parse_proc_maps()
H A Dlib.h36 extern struct addr_range libc, vdso;
/linux-6.15/scripts/package/debian/
H A Drules30 binary-targets := $(addprefix binary-, image image-dbg headers libc-dev)
35 libc-dev-package = $(filter linux-libc-dev, $(all-packages))
/linux-6.15/scripts/
H A Dver_linux17 libc = "libc[.]so[.][0-9]+$"
41 if ($NF ~ libc || $NF ~ libcpp)
/linux-6.15/tools/testing/selftests/nolibc/
H A DMakefile252 libc-test: nolibc-test.c nolibc-test-linkage.c
256 run-libc-test: libc-test
257 $(Q)./libc-test > "$(CURDIR)/run.out" || :
310 $(call QUIET_CLEAN, libc-test)
311 $(Q)rm -f libc-test
H A D.gitignore3 /libc-test
/linux-6.15/tools/testing/selftests/arm64/gcs/
H A D.gitignore2 libc-gcs
H A DMakefile9 TEST_GEN_PROGS := basic-gcs libc-gcs gcs-locking gcs-stress gcspushm gcsstr
/linux-6.15/arch/x86/configs/
H A Dhardening.config3 # Modern libc no longer needs a fixed-position mapping in userspace, remove
/linux-6.15/Documentation/translations/zh_CN/kbuild/
H A Dheaders_install.rst17 内核头文件。系统的 libc 头文件通常被安装在默认位置 /usr/include,而内核
/linux-6.15/tools/testing/selftests/net/rds/
H A Dtest.py23 libc = ctypes.cdll.LoadLibrary('libc.so.6') variable
24 setns = libc.setns
/linux-6.15/Documentation/trace/
H A Dtracepoint-analysis.rst250 6.85% hackbench /lib/i686/cmov/libc-2.9.so
255 0.02% perf /lib/i686/cmov/libc-2.9.so
286 0.09% Xorg /lib/i686/cmov/libc-2.9.so
304 0.09% Xorg /lib/i686/cmov/libc-2.9.so [.] _int_malloc
/linux-6.15/scripts/package/
H A Dbuilddeb166 linux-libc-dev)
H A Dmkdebian228 Package: linux-libc-dev
/linux-6.15/Documentation/kbuild/
H A Dheaders_install.rst13 from the "linux" subdirectory. The system's libc headers are usually
/linux-6.15/Documentation/arch/arm64/
H A Dcpu-feature-registers.rst22 a) Any change to the HWCAPs requires an update to userspace (e.g libc)
27 b) Access to HWCAPs is sometimes limited (e.g prior to libc, or
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_fw_comp.h322 __u32 libc; member
/linux-6.15/Documentation/arch/arm/nwfpe/
H A Dtodo.rst21 and are handled by routines in libc. These are not implemented by the FPA11
/linux-6.15/arch/sh/mm/
H A DKconfig109 to the libc through the ELF auxiliary vector.

12