Home
last modified time | relevance | path

Searched +full:- +full:- +full:pid (Results 1 – 25 of 1160) sorted by relevance

12345678910>>...47

/external/cpuinfo/test/dmesg/
Dhuawei-mate-8.log1 [ 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 …]
Dhuawei-mate-9.log1 [ 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 …]
Dhuawei-p9-lite.log1 [ 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/
Dframe_buffer2_unittest.cc4 * 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/
Dftp.pm21 # SPDX-License-Identifier: curl
73 # pidfromfile returns the pid stored in the given pidfile. The value
74 # of the returned pid will never be a negative value. It will be zero
75 # on any file related error or if a pid can not be extracted from the
80 my $pid = 0;
82 if(-f $pidfile && -s $pidfile && open(PIDFH, "<$pidfile")) {
83 $pid = 0 + <PIDFH>;
85 $pid = 0 unless($pid > 0);
87 return $pid;
91 # pidexists checks if a process with a given pid exists and is alive.
[all …]
/external/ltp/testcases/kernel/controllers/cpuctl_fj/
Drun_cpuctl_test_fj.sh19 ## 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 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/
Dptrace.c5 * 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 …]
Dwait4.c4 * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
5 * Copyright (c) 2016-2017 The strace developers.
64 , (long long) ru->ru_utime.tv_sec in sprint_rusage()
65 , zero_extend_signed_to_ull(ru->ru_utime.tv_usec) in sprint_rusage()
66 , (long long) ru->ru_stime.tv_sec in sprint_rusage()
67 , zero_extend_signed_to_ull(ru->ru_stime.tv_usec) in sprint_rusage()
69 , (long) ru->ru_maxrss in sprint_rusage()
70 , (long) ru->ru_ixrss in sprint_rusage()
71 , (long) ru->ru_idrss in sprint_rusage()
72 , (long) ru->ru_isrss in sprint_rusage()
[all …]
/external/strace/tests-mx32/
Dptrace.c5 * 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 …]
Dwait4.c4 * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
5 * Copyright (c) 2016-2017 The strace developers.
64 , (long long) ru->ru_utime.tv_sec in sprint_rusage()
65 , zero_extend_signed_to_ull(ru->ru_utime.tv_usec) in sprint_rusage()
66 , (long long) ru->ru_stime.tv_sec in sprint_rusage()
67 , zero_extend_signed_to_ull(ru->ru_stime.tv_usec) in sprint_rusage()
69 , (long) ru->ru_maxrss in sprint_rusage()
70 , (long) ru->ru_ixrss in sprint_rusage()
71 , (long) ru->ru_idrss in sprint_rusage()
72 , (long) ru->ru_isrss in sprint_rusage()
[all …]
/external/strace/tests-m32/
Dptrace.c5 * 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 …]
Dwait4.c4 * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
5 * Copyright (c) 2016-2017 The strace developers.
64 , (long long) ru->ru_utime.tv_sec in sprint_rusage()
65 , zero_extend_signed_to_ull(ru->ru_utime.tv_usec) in sprint_rusage()
66 , (long long) ru->ru_stime.tv_sec in sprint_rusage()
67 , zero_extend_signed_to_ull(ru->ru_stime.tv_usec) in sprint_rusage()
69 , (long) ru->ru_maxrss in sprint_rusage()
70 , (long) ru->ru_ixrss in sprint_rusage()
71 , (long) ru->ru_idrss in sprint_rusage()
72 , (long) ru->ru_isrss in sprint_rusage()
[all …]
/external/bcc/tools/
Drunqlat.py2 # @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 …]
Dsslsniff.py7 # USAGE: sslsniff.py [-h] [-p PID] [-u UID] [-x] [-c COMM] [-o] [-g] [-n] [-d]
8 # [--hexdump] [--max-buffer-size SIZE] [-l] [--handshake]
12 # 12-Aug-2016 Adrian Lopez Created this.
13 # 13-Aug-2016 Mark Drayton Fix SSL_Read
14 # 17-Aug-2016 Adrian Lopez Capture GnuTLS and add options
27 ./sslsniff -p 181 # sniff PID 181 only
28 ./sslsniff -u 1000 # sniff only UID 1000
29 ./sslsniff -c curl # sniff curl command only
30 ./sslsniff --no-openssl # don't show OpenSSL calls
31 ./sslsniff --no-gnutls # don't show GnuTLS calls
[all …]
Drunqslower.py2 # @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("--ebpf", action="store_true",
[all …]
Dcpudist.py2 # @lint-avoid-python-3-compatibility-imports
4 # cpudist Summarize on- and off-CPU time per task as a histogram.
6 # USAGE: cpudist [-h] [-O] [-T] [-m] [-P] [-L] [-p PID] [-I] [interval] [count]
9 # as a histogram, optionally per-process.
11 # By default CPU idle time are excluded by simply excluding PID 0.
16 # 27-Mar-2022 Rocky Xing Changed to exclude CPU idle time by default.
24 cpudist # summarize on-CPU time as a histogram
25 cpudist -O # summarize off-CPU time as a histogram
27 cpudist -mT 1 # 1s summaries, milliseconds, and timestamps
28 cpudist -P # show each PID separately
[all …]
/external/perfetto/test/trace_processor/diff_tests/android/
Dandroid_blocking_calls_cuj_metric.py8 # http://www.apache.org/licenses/LICENSE-2.0
38 def add_main_thread_atrace(trace, ts, ts_end, buf, pid): argument
39 trace.add_atrace_begin(ts=ts, tid=pid, pid=pid, buf=buf)
40 trace.add_atrace_end(ts=ts_end, tid=pid, pid=pid)
43 def add_async_trace(trace, ts, ts_end, buf, pid): argument
44 trace.add_atrace_async_begin(ts=ts, tid=pid, pid=pid, buf=buf)
45 trace.add_atrace_async_end(ts=ts_end, tid=pid, pid=pid, buf=buf)
54 pid=tx_pid,
63 def add_cuj_with_blocking_calls(trace, cuj_name, pid): argument
69 add_async_trace(trace, ts=cuj_begin, ts_end=cuj_end, buf=cuj_name, pid=pid)
[all …]
/external/linux-kselftest/tools/testing/selftests/rlimits/
Drlimits-per-userns.c1 // 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/
Dusdt_sample.sh3 # 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/ltp/testcases/kernel/numa/
Dnuma01.sh2 # 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/selinux/python/sepolgen/tests/
Daudit.txt1 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/selinux/python/sepolgen/tests/test_data/
Daudit.log1 …} 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 …]
/external/linux-kselftest/tools/testing/selftests/clone3/
Dclone3_set_tid.c1 // 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/rust/crates/nix/src/sys/ptrace/
Dlinux.rs5 use crate::unistd::Pid;
187 pid: Pid, in ptrace_peek() argument
190 ) -> Result<c_long> { in ptrace_peek()
193 libc::ptrace(request as RequestType, libc::pid_t::from(pid), addr, data) in ptrace_peek()
212 pub fn getregs(pid: Pid) -> Result<user_regs_struct> { in getregs()
213 ptrace_get_data::<user_regs_struct>(Request::PTRACE_GETREGS, pid) in getregs()
227 pub fn setregs(pid: Pid, regs: user_regs_struct) -> Result<()> { in setregs() argument
231 libc::pid_t::from(pid), in setregs()
243 fn ptrace_get_data<T>(request: Request, pid: Pid) -> Result<T> { in ptrace_get_data()
248 libc::pid_t::from(pid), in ptrace_get_data()
[all …]
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.cc8 * http://www.apache.org/licenses/LICENSE-2.0
44 // The notion of PID in the Linux kernel is a bit confusing.
45 // - PID: is really the thread id (for the main thread: PID == TID).
46 // - TGID (thread group ID): is the Unix Process ID (the actual PID).
47 // - PID == TGID for the main thread: the TID of the main thread is also the PID
49 // So, in this file, |pid| might refer to either a process id or a thread id.
57 if (dir_ent->d_type != DT_DIR) in ReadNextNumericDir()
59 auto int_value = base::CStringToInt32(dir_ent->d_name); in ReadNextNumericDir()
131 task_runner_->PostTask(std::bind(&ProcessStatsDataSource::Tick, weak_this)); in Start()
150 while (int32_t pid = ReadNextNumericDir(*proc_dir)) { in WriteAllProcesses() local
[all …]

12345678910>>...47