Home
last modified time | relevance | path

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

12

/linux/rust/pin-init/examples/
H A Dpthread_mutex.rs25 raw: UnsafeCell<libc::pthread_mutex_t>,
38 libc::pthread_mutex_destroy(self.raw.get()); in drop()
67 fn init_raw() -> impl PinInit<UnsafeCell<libc::pthread_mutex_t>, Error> { in new()
68 let init = |slot: *mut UnsafeCell<libc::pthread_mutex_t>| { in new()
70 let slot: *mut libc::pthread_mutex_t = slot.cast(); in new()
74 let ret = unsafe { libc::pthread_mutexattr_init(attr) }; in new()
80 libc::pthread_mutexattr_settype(attr, libc::PTHREAD_MUTEX_NORMAL) in new()
84 unsafe { libc::pthread_mutexattr_destroy(attr) }; in new()
88 unsafe { slot.write(libc in new()
[all...]
/linux/tools/perf/tests/shell/
H A Drecord+probe_libc_inet_pton.sh2 # probe libc's inet_pton & backtrace it with ping (exclusive)
4 # Installs a probe on libc's inet_pton function, that will use uprobes,
7 # This needs no debuginfo package, all is done using the libc ELF symtab
18 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 awk -v ep="$event_pattern" -v l="$libc" '$0 ~ ep && $0 ~ \
40 echo ".*inet_pton\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" >> $expected
44 echo "((__GI_)?getaddrinfo|text_to_binary_address)\+0x[[:xdigit:]]+[[:space:]]\($libc|inline
[all...]
/linux/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
113 6.34% git-repack /lib64/libc-2.5.so [.] _int_malloc
114 6.24% git-repack /lib64/libc-2.5.so [.] memcpy
115 5.82% git-repack /lib64/libc-2.5.so [.] __GI___fork
116 5.47% git /lib64/libc
[all...]
H A Dperf.data-directory-format.txt50 build id event received for /lib/x86_64-linux-gnu/libc-2.28.so: 5b157f49586a3ca84d55837f97ff466767dd3445
63 uname 15316 2060795.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/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/tools/testing/selftests/powerpc/pmu/
H A Dlib.c135 struct addr_range libc, vdso; variable
160 if (strstr(name, "libc")) { in parse_proc_maps()
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/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/scripts/
H A Dver_linux17 libc = "libc[.]so[.][0-9]+$"
39 if ($NF ~ libc || $NF ~ libcpp)
/linux/tools/testing/selftests/nolibc/
H A DMakefile.nolibc271 @echo " libc-test build an executable using the compiler's default libc instead"
316 libc-test: nolibc-test.c nolibc-test-linkage.c
319 # local libc-test
320 run-libc-test: libc-test
321 $(Q)./libc-test > "$(CURDIR)/run.out" || :
374 $(call QUIET_CLEAN, libc-test)
375 $(Q)rm -f libc-test
H A D.gitignore3 /libc-test
/linux/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/arch/x86/configs/
H A Dhardening.config3 # Modern libc no longer needs a fixed-position mapping in userspace, remove
/linux/Documentation/translations/zh_CN/kbuild/
H A Dheaders_install.rst17 内核头文件。系统的 libc 头文件通常被安装在默认位置 /usr/include,而内核
/linux/tools/testing/selftests/net/rds/
H A Dtest.py23 libc = ctypes.cdll.LoadLibrary('libc.so.6') variable
24 setns = libc.setns
/linux/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/scripts/package/
H A Dbuilddeb153 # move asm headers to /usr/include/<libc-machine>/asm to match the structure
166 linux-libc-dev)
H A Dmkdebian228 Package: linux-libc-dev
/linux/Documentation/kbuild/
H A Dheaders_install.rst13 from the "linux" subdirectory. The system's libc headers are usually
/linux/Documentation/driver-api/cxl/allocation/
H A Dreclaim.rst33 libc) may still be demoted. As a result, the mems_allowed interface still
/linux/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/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_fw_comp.h339 __u32 libc; member
/linux/Documentation/arch/arm/nwfpe/
H A Dtodo.rst21 and are handled by routines in libc. These are not implemented by the FPA11

12