| /external/cpuinfo/test/dmesg/ |
| D | huawei-mate-8.log | 1 [ 0.000000s][pid:0,cpu0,swapper]Booting Linux on physical CPU 0x0 2 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpuset 3 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpu 4 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpuacct 5 [ 0.000000s][pid:0,cpu0,swapper]Linux version 4.1.18-g9c91e7c (android@localhost) (gcc version 4… 6 [ 0.000000s][pid:0,cpu0,swapper]CPU: AArch64 Processor [410fd034] revision 4 7 [ 0.000000s][pid:0,cpu0,swapper]Detected VIPT I-cache on CPU0 8 [ 0.000000s][pid:0,cpu0,swapper]alternatives: enabling workaround for ARM erratum 845719 9 [ 0.000000s][pid:0,cpu0,swapper]runmode is normal, runmode_factory = 0 10 [ 0.000000s][pid:0,cpu0,swapper]early_parse_logctl_cmdline: p: 0, logctl: 0 [all …]
|
| D | huawei-mate-9.log | 1 [ 0.000000s][pid:0,cpu0,swapper]Booting Linux on physical CPU 0x0 2 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpuset 3 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpu 4 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpuacct 5 [ 0.000000s][pid:0,cpu0,swapper]Linux version 4.1.18-g782b0b9 (android@localhost) (gcc version 4… 6 [ 0.000000s][pid:0,cpu0,swapper]CPU: AArch64 Processor [410fd034] revision 4 7 [ 0.000000s][pid:0,cpu0,swapper]Detected VIPT I-cache on CPU0 8 [ 0.000000s][pid:0,cpu0,swapper]alternatives: enabling workaround for ARM erratum 845719 9 [ 0.000000s][pid:0,cpu0,swapper]runmode is normal, runmode_factory = 0 10 [ 0.000000s][pid:0,cpu0,swapper]early_parse_logctl_cmdline: p: 0, logctl: 0 [all …]
|
| D | huawei-p9-lite.log | 1 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpuset 2 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpu 3 [ 0.000000s][pid:0,cpu0,swapper]Initializing cgroup subsys cpuacct 4 [ 0.000000s][pid:0,cpu0,swapper]Linux version 3.10.90-ge124f87 (android@localhost) (gcc version … 5 [ 0.000000s][pid:0,cpu0,swapper]CPU: AArch64 Processor [410fd034] revision 4 6 [ 0.000000s][pid:0,cpu0,swapper]Machine: hi6250 7 [ 0.000000s][pid:0,cpu0,swapper]runmode is normal, runmode_factory = 0 8 [ 0.000000s][pid:0,cpu0,swapper][I/HWLOG_TAG] early_parse_logctl_cmdline: p: 0, logctl: 0 9 [ 0.000000s][pid:0,cpu0,swapper]enter recovery p:0, enter_recovery_flag :0 10 [ 0.000000s][pid:0,cpu0,swapper]power down charge p:normal, pd_charge_flag :0 [all …]
|
| /external/webrtc/modules/video_coding/ |
| D | frame_buffer2_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 59 last_render_time_ -= timeDiff; in RenderTime() 68 return render_time - now - kDecodeTime; in MaxWaitingTime() 134 time_controller_.GetTaskQueueFactory()->CreateTaskQueue( in TestFrameBuffer2() 156 frame->SetId(picture_id); in CreateFrame() 157 frame->SetSpatialIndex(spatial_layer); in CreateFrame() 158 frame->SetTimestamp(ts_ms * 90); in CreateFrame() 159 frame->num_references = references.size(); in CreateFrame() 160 frame->is_last_spatial_layer = last_spatial_layer; in CreateFrame() 162 frame->SetEncodedData(EncodedImageBuffer::Create(frame_size_bytes)); in CreateFrame() [all …]
|
| /external/curl/tests/ |
| D | processhelp.pm | 21 # SPDX-License-Identifier: curl 90 # pidfromfile returns the pid stored in the given pidfile. The value 91 # of the returned pid will never be a negative value. It will be zero 92 # on any file related error or if a pid can not be extracted from the 97 my $pid = 0; 99 if(-f $pidfile && -s $pidfile && open(my $pidfh, "<", "$pidfile")) { 100 $pid = 0 + <$pidfh>; 102 $pid = 0 if($pid < 0); 104 return $pid; 108 # pidexists checks if a process with a given pid exists and is alive. [all …]
|
| /external/ltp/testcases/kernel/controllers/cpuctl_fj/ |
| D | run_cpuctl_test_fj.sh | 19 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ## 40 if [ -e $CPUCTL ] 45 exit -1; 49 mkdir -p "$CPUCTL" || return 1 51 mount -t cgroup -o cpu cpuctl "$CPUCTL" || { 62 rm -rf "$CPUCTL" > /dev/null 2>&1 66 find $CPUCTL -type d | sort | sed -n '2,$p' | tac | while read -r tmpdir 82 taskset -p 1 $! >/dev/null 2>&1 98 # ps -p $1 pcpu | awk -F. '{ print $1 }' 99 top -bn1 -p $1 | sed -n "8p" | awk '{ print $9 }' | awk -F. '{ print $1 }' [all …]
|
| /external/strace/tests/ |
| D | ptrace.c | 5 * Copyright (c) 2016-2018 The strace developers. 48 do_ptrace(unsigned long request, unsigned long pid, in do_ptrace() argument 51 long rc = syscall(__NR_ptrace, request, pid, addr, data); in do_ptrace() 57 test_peeksiginfo(unsigned long pid, const unsigned long bad_request) in test_peeksiginfo() argument 59 do_ptrace(PTRACE_PEEKSIGINFO, pid, 0, bad_request); in test_peeksiginfo() 61 (unsigned) pid, bad_request, errstr); in test_peeksiginfo() 69 psi->off = 0xdeadbeeffacefeedULL; in test_peeksiginfo() 70 psi->flags = 1; in test_peeksiginfo() 71 psi->nr = 42; in test_peeksiginfo() 73 do_ptrace(PTRACE_PEEKSIGINFO, pid, (unsigned long) psi, bad_request); in test_peeksiginfo() [all …]
|
| /external/strace/tests-mx32/ |
| D | ptrace.c | 5 * Copyright (c) 2016-2018 The strace developers. 48 do_ptrace(unsigned long request, unsigned long pid, in do_ptrace() argument 51 long rc = syscall(__NR_ptrace, request, pid, addr, data); in do_ptrace() 57 test_peeksiginfo(unsigned long pid, const unsigned long bad_request) in test_peeksiginfo() argument 59 do_ptrace(PTRACE_PEEKSIGINFO, pid, 0, bad_request); in test_peeksiginfo() 61 (unsigned) pid, bad_request, errstr); in test_peeksiginfo() 69 psi->off = 0xdeadbeeffacefeedULL; in test_peeksiginfo() 70 psi->flags = 1; in test_peeksiginfo() 71 psi->nr = 42; in test_peeksiginfo() 73 do_ptrace(PTRACE_PEEKSIGINFO, pid, (unsigned long) psi, bad_request); in test_peeksiginfo() [all …]
|
| /external/strace/tests-m32/ |
| D | ptrace.c | 5 * Copyright (c) 2016-2018 The strace developers. 48 do_ptrace(unsigned long request, unsigned long pid, in do_ptrace() argument 51 long rc = syscall(__NR_ptrace, request, pid, addr, data); in do_ptrace() 57 test_peeksiginfo(unsigned long pid, const unsigned long bad_request) in test_peeksiginfo() argument 59 do_ptrace(PTRACE_PEEKSIGINFO, pid, 0, bad_request); in test_peeksiginfo() 61 (unsigned) pid, bad_request, errstr); in test_peeksiginfo() 69 psi->off = 0xdeadbeeffacefeedULL; in test_peeksiginfo() 70 psi->flags = 1; in test_peeksiginfo() 71 psi->nr = 42; in test_peeksiginfo() 73 do_ptrace(PTRACE_PEEKSIGINFO, pid, (unsigned long) psi, bad_request); in test_peeksiginfo() [all …]
|
| /external/bcc/tools/ |
| D | runqlat.py | 2 # @lint-avoid-python-3-compatibility-imports 7 # USAGE: runqlat [-h] [-T] [-m] [-P] [-L] [-p PID] [interval] [count] 10 # on-CPU, and shows this time as a histogram. This time should be small, but a 15 # and execution. This traces ttwu_do_wakeup(), wake_up_new_task() -> 25 # 07-Feb-2016 Brendan Gregg Created this. 36 ./runqlat -mT 1 # 1s summaries, milliseconds, and timestamps 37 ./runqlat -P # show each PID separately 38 ./runqlat -p 185 # trace PID 185 only 44 parser.add_argument("-T", "--timestamp", action="store_true", 46 parser.add_argument("-m", "--milliseconds", action="store_true", [all …]
|
| D | runqslower.py | 2 # @lint-avoid-python-3-compatibility-imports 10 # USAGE: runqslower [-p PID] [-t TID] [-P] [min_us] 15 # on-CPU, and shows this time as a individual events. This time should be small, 20 # and execution. This traces ttwu_do_wakeup(), wake_up_new_task() -> 30 # 02-May-2018 Ivan Babrou Created this. 31 # 18-Nov-2019 Gergely Bod BUG fix: Use bpf_probe_read_kernel_str() to extract the 45 ./runqslower -p 123 # trace pid 123 46 ./runqslower -t 123 # trace tid 123 (use for threads only) 47 ./runqslower -P # also show previous task comm and TID 55 parser.add_argument("-P", "--previous", action="store_true", [all …]
|
| /external/rust/crates/rustix/src/backend/linux_raw/process/ |
| D | syscalls.rs | 21 use crate::pid::RawPid; 23 Cpuid, MembarrierCommand, MembarrierQuery, Pid, PidfdFlags, PidfdGetfdFlags, Resource, Rlimit, 56 pub(crate) fn sched_getcpu() -> usize { in sched_getcpu() 67 pub(crate) fn chdir(filename: &CStr) -> io::Result<()> { in chdir() 72 pub(crate) fn fchdir(fd: BorrowedFd<'_>) -> io::Result<()> { in fchdir() 78 pub(crate) fn chroot(filename: &CStr) -> io::Result<()> { in chroot() 84 pub(crate) fn getcwd(buf: &mut [MaybeUninit<u8>]) -> io::Result<usize> { in getcwd() 90 pub(crate) fn membarrier_query() -> MembarrierQuery { in membarrier_query() 104 pub(crate) fn membarrier(cmd: MembarrierCommand) -> io::Result<()> { in membarrier() 109 pub(crate) fn membarrier_cpu(cmd: MembarrierCommand, cpu: Cpuid) -> io::Result<()> { in membarrier_cpu() [all …]
|
| /external/perfetto/test/trace_processor/diff_tests/metrics/android/ |
| D | android_blocking_calls_cuj_metric.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 57 def add_main_thread_atrace(trace, ts, ts_end, buf, pid): argument 58 trace.add_atrace_begin(ts=ts, tid=pid, pid=pid, buf=buf) 59 trace.add_atrace_end(ts=ts_end, tid=pid, pid=pid) 62 def add_async_trace(trace, ts, ts_end, buf, pid): argument 63 trace.add_atrace_async_begin(ts=ts, tid=pid, pid=pid, buf=buf) 64 trace.add_atrace_async_end(ts=ts_end, tid=pid, pid=pid, buf=buf) 73 pid=tx_pid, 83 def add_cuj_with_blocking_calls(trace, cuj_name, pid): argument 89 add_async_trace(trace, ts=cuj_begin, ts_end=cuj_end, buf=cuj_name, pid=pid) [all …]
|
| /external/python/bumble/bumble/ |
| D | avctp.py | 1 # Copyright 2021-2023 Google LLC 7 # https://www.apache.org/licenses/LICENSE-2.0 15 # ----------------------------------------------------------------------------- 17 # ----------------------------------------------------------------------------- 28 # ----------------------------------------------------------------------------- 30 # ----------------------------------------------------------------------------- 34 # ----------------------------------------------------------------------------- 36 # ----------------------------------------------------------------------------- 41 # ----------------------------------------------------------------------------- 46 pid: int [all …]
|
| /external/linux-kselftest/tools/testing/selftests/rlimits/ |
| D | rlimits-per-userns.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 pid_t pid = getpid(); in setrlimit_nproc() local 38 warnx("(pid=%d): Setting RLIMIT_NPROC=%ld", pid, n); in setrlimit_nproc() 41 err(EXIT_FAILURE, "(pid=%d): setrlimit(RLIMIT_NPROC)", pid); in setrlimit_nproc() 46 pid_t pid = fork(); in fork_child() local 48 if (pid < 0) in fork_child() 51 if (pid > 0) in fork_child() 52 return pid; in fork_child() 54 pid = getpid(); in fork_child() 56 warnx("(pid=%d): New process starting ...", pid); in fork_child() [all …]
|
| /external/bcc/examples/usdt_sample/ |
| D | usdt_sample.sh | 3 # sudo apt-get install linux-headers-$(uname -r) "llvm-13*" libclang-13-dev luajit luajit-5.1-dev l… 4 # mkdir -p build && cd build 5 # cmake .. -DPYTHON_CMD=python3 6 # make -j4 9 gcc --version 10 rm -rf examples/usdt_sample/build_gcc 11 mkdir -p examples/usdt_sample/build_gcc && pushd examples/usdt_sample/build_gcc 16 # sudo dnf install systemtap-sdt-dev # For Ubuntu 21.10, other distro's might have differently nam… 17 # dtrace -h -s usdt_sample_lib1/src/lib1_sdt.d -o usdt_sample_lib1/include/usdt_sample_lib1/lib1_sd… 18 # dtrace -G -s usdt_sample_lib1/src/lib1_sdt.d -o lib1_sdt.o [all …]
|
| /external/sandboxed-api/sandboxed_api/sandbox2/ |
| D | monitor_ptrace.cc | 7 // https://www.apache.org/licenses/LICENSE-2.0 95 // Returns the PID of a thread that needs attention, populating 'status' with 97 // require attention at the moment, or -1 if there was an error, in which case 106 return -1; in Wait() 110 pid_t pid = entry.first; in Wait() local 113 return pid; in Wait() 117 bool CheckStatus(pid_t pid) { in CheckStatus() argument 119 // It should be a non-blocking operation (hence WNOHANG), so this function in CheckStatus() 122 waitpid(pid, &status, __WNOTHREAD | __WALL | WUNTRACED | WNOHANG); in CheckStatus() 145 if (!CheckStatus(-1)) { in RefillStatuses() [all …]
|
| /external/ltp/testcases/kernel/numa/ |
| D | numa01.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Copyright (c) Linux Test Project, 2016-2020 26 # $1 - Pid number 27 # $2 - Node number 30 local pid=$1 32 echo $(numastat -p $pid | sed '3q;d' | awk -F '[[:space:]][[:space:]]+' \ 33 -v node="$nid" '{ for (i = 1; i <= NF; ++i) if($i==node) print i; exit }') 36 # Convert the value of given NUMA node from the `numastat -p` output, 38 # $1 - Pid number 39 # $2 - Node number [all …]
|
| /external/llvm-libc/test/integration/src/unistd/ |
| D | fork_test.cpp | 1 //===-- Unittests for fork ------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 29 pid_t pid = LIBC_NAMESPACE::fork(); in fork_and_wait_normal_exit() local 30 if (pid == 0) in fork_and_wait_normal_exit() 32 ASSERT_TRUE(pid > 0); in fork_and_wait_normal_exit() 36 ASSERT_EQ(cpid, pid); in fork_and_wait_normal_exit() 41 pid_t pid = LIBC_NAMESPACE::fork(); in fork_and_wait4_normal_exit() local 42 if (pid == 0) in fork_and_wait4_normal_exit() 44 ASSERT_TRUE(pid > 0); in fork_and_wait4_normal_exit() [all …]
|
| /external/rust/crates/rustix/src/backend/libc/process/ |
| D | syscalls.rs | 39 use crate::process::Pid; 79 pub(crate) fn sched_getcpu() -> usize { in sched_getcpu() 87 pub(crate) fn chdir(path: &CStr) -> io::Result<()> { in chdir() 92 pub(crate) fn fchdir(dirfd: BorrowedFd<'_>) -> io::Result<()> { in fchdir() 98 pub(crate) fn chroot(path: &CStr) -> io::Result<()> { in chroot() 104 pub(crate) fn getcwd(buf: &mut [MaybeUninit<u8>]) -> io::Result<()> { in getcwd() 115 ) via SYS_membarrier -> c::c_int 119 pub(crate) fn membarrier_query() -> MembarrierQuery { in membarrier_query() 123 // [the documentation]: https://man7.org/linux/man-pages/man2/membarrier.2.html#NOTES in membarrier_query() 134 pub(crate) fn membarrier(cmd: MembarrierCommand) -> io::Result<()> { in membarrier() [all …]
|
| /external/selinux/python/sepolgen/tests/ |
| D | audit.txt | 1 type=AVC msg=audit(1158584779.745:708): avc: denied { dac_read_search } for pid=8132 comm="sh" c… 2 …: arch=40000003 syscall=195 success=no exit=-13 a0=80d2437 a1=bf9132f8 a2=4c56cff4 a3=0 items=0 pp… 3 type=AVC msg=audit(1158584779.753:709): avc: denied { dac_override } for pid=8133 comm="vpnc-scr… 4 type=AVC msg=audit(1158584779.753:709): avc: denied { dac_read_search } for pid=8133 comm="vpnc-… 5 …-13 a0=80d2437 a1=bf910a48 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8133 auid=500 uid=0 gid=0 euid=0… 6 type=AVC msg=audit(1158584779.825:710): avc: denied { dac_override } for pid=8134 comm="vpnc-scr… 7 type=AVC msg=audit(1158584779.825:710): avc: denied { dac_read_search } for pid=8134 comm="vpnc-… 8 …-13 a0=80d2437 a1=bf910a48 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8134 auid=500 uid=0 gid=0 euid=0… 9 type=AVC msg=audit(1158584780.793:711): avc: denied { dac_override } for pid=8144 comm="sh" capa… 10 type=AVC msg=audit(1158584780.793:711): avc: denied { dac_read_search } for pid=8144 comm="sh" c… [all …]
|
| /external/perfetto/src/traced/probes/ps/ |
| D | process_stats_data_source.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 40 // The notion of PID in the Linux kernel is a bit confusing. 41 // - PID: is really the thread id (for the main thread: PID == TID). 42 // - TGID (thread group ID): is the Unix Process ID (the actual PID). 43 // - PID == TGID for the main thread: the TID of the main thread is also the PID 45 // So, in this file, |pid| might refer to either a process id or a thread id. 47 // Dealing with PID reuse: the knowledge of which PIDs were already scraped is 51 // /proc/pid/cmdline needs updating. 65 if (dir_ent->d_type != DT_DIR) in ReadNextNumericDir() 67 auto int_value = base::CStringToInt32(dir_ent->d_name); in ReadNextNumericDir() [all …]
|
| /external/libcap/goapps/captree/ |
| D | captree.go | 3 // of all the dependent PID values. 14 // $ bash -c 'exec captree $$' 15 // --captree(9758+{9759,9760,9761,9762}) 25 // --polkitd(551) "=ep" 26 // :>-gmain{552} "=ep" 27 // :>-gdbus{555} "=ep" 33 // displayed on a subsequent line prefixed with ":>-" and threads 35 // have two sub-threads with the same capability state, but unique 41 // --dnsmasq(1368) "cap_net_bind_service,cap_net_admin,cap_net_raw=ep" 42 // +-dnsmasq(1369) "=ep" [all …]
|
| /external/linux-kselftest/tools/testing/selftests/clone3/ |
| D | clone3_set_tid.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * PID namespace. 47 pid_t pid = -1; in call_clone3_set_tid() local 56 pid = sys_clone3(&args, sizeof(args)); in call_clone3_set_tid() 57 if (pid < 0) { in call_clone3_set_tid() 58 ksft_print_msg("%s - Failed to create new process\n", in call_clone3_set_tid() 60 return -errno; in call_clone3_set_tid() 63 if (pid == 0) { in call_clone3_set_tid() 68 ksft_print_msg("I am the child, my PID is %d (expected %d)\n", in call_clone3_set_tid() 98 if (expected_pid == 0 || expected_pid == pid) { in call_clone3_set_tid() [all …]
|
| /external/selinux/python/sepolgen/tests/test_data/ |
| D | audit.log | 1 …} for pid=6314 comm="pam_timestamp_c" name="[96391]" dev=pipefs ino=96391 scontext=staff_u:staff_… 2 …8): arch=40000003 syscall=54 success=no exit=-22 a0=2 a1=5401 a2=bfb6479c a3=bfb647dc items=0 ppid… 4 …it(1162850332.318:979): avc: denied { read } for pid=6306 comm="beagled" name=".gdmDOM7HT" dev=… 5 …success=yes exit=0 a0=bfdb2fde a1=4 a2=4db18a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500 uid=5… 6 …50333.186:980): avc: denied { read } for pid=6306 comm="beagled" name="max_user_instances" dev=… 7 …yscall=5 success=yes exit=24 a0=11833c a1=0 a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500 uid=5… 8 …81): avc: denied { read write } for pid=6336 comm="clock-applet" name="bonobo-activation-regist… 9 …d=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=… 10 ….022:982): avc: denied { lock } for pid=6336 comm="clock-applet" name="bonobo-activation-regist… 11 …d=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=… [all …]
|