Home
last modified time | relevance | path

Searched full:pid (Results 1 – 25 of 4482) sorted by relevance

12345678910>>...180

/external/webrtc/modules/video_coding/
Drtp_frame_reference_finder_unittest.cc75 int64_t pid = frame->id.picture_id; in OnCompleteFrame() local
77 auto frame_it = frames_from_callback_.find(std::make_pair(pid, sidx)); in OnCompleteFrame()
79 ADD_FAILURE() << "Already received frame with (pid:sidx): (" << pid << ":" in OnCompleteFrame()
85 std::make_pair(std::make_pair(pid, sidx), std::move(frame))); in OnCompleteFrame()
101 int32_t pid = kNoPictureId, in InsertVp8() argument
106 vp8_header.pictureId = pid % (1 << 15); in InsertVp8()
120 int32_t pid = kNoPictureId, in InsertVp9Gof() argument
129 vp9_header.picture_id = pid % (1 << 15); in InsertVp9Gof()
149 int32_t pid = kNoPictureId, in InsertVp9Flex() argument
157 vp9_header.picture_id = pid % (1 << 15); in InsertVp9Flex()
[all …]
Dframe_buffer2_unittest.cc259 uint16_t pid = Rand(); in TEST_F() local
263 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
265 CheckFrame(0, pid, 0); in TEST_F()
269 uint16_t pid = Rand(); in TEST_F() local
272 InsertFrame(pid, 0, ts, false, false, kFrameSize); in TEST_F()
273 InsertFrame(pid, 1, ts, true, true, kFrameSize); in TEST_F()
276 CheckFrame(0, pid, 1); in TEST_F()
295 uint16_t pid = Rand(); in TEST_F() local
299 InsertFrame(pid, 1, ts, true, true, kFrameSize); in TEST_F()
300 InsertFrame(pid, 0, ts, false, false, kFrameSize); in TEST_F()
[all …]
/external/cpuinfo/test/dmesg/
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 …]
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 …]
/external/llvm-project/lldb/tools/debugserver/source/
DDNB.h54 nub_process_t DNBProcessAttach(nub_process_t pid, struct timespec *timeout,
75 nub_bool_t DNBProcessResume(nub_process_t pid,
78 nub_bool_t DNBProcessHalt(nub_process_t pid) DNB_EXPORT;
79 nub_bool_t DNBProcessDetach(nub_process_t pid) DNB_EXPORT;
80 nub_bool_t DNBProcessSignal(nub_process_t pid, int signal) DNB_EXPORT;
81 nub_bool_t DNBProcessInterrupt(nub_process_t pid) DNB_EXPORT;
82 nub_bool_t DNBProcessKill(nub_process_t pid) DNB_EXPORT;
83 nub_bool_t DNBProcessSendEvent(nub_process_t pid, const char *event) DNB_EXPORT;
84 nub_size_t DNBProcessMemoryRead(nub_process_t pid, nub_addr_t addr,
86 uint64_t DNBProcessMemoryReadInteger(nub_process_t pid, nub_addr_t addr,
[all …]
DDNB.cpp80 // Add PID to the shared process pointer map.
85 static nub_bool_t AddProcessToMap(nub_process_t pid, MachProcessSP &procSP) { in AddProcessToMap() argument
88 process_map->insert(std::make_pair(pid, procSP)); in AddProcessToMap()
94 // Remove the shared pointer for PID from the process map.
98 // RemoveProcessFromMap (nub_process_t pid)
103 // return process_map->erase(pid);
108 // Get the shared pointer for PID from the existing process map.
112 static nub_bool_t GetProcessSP(nub_process_t pid, MachProcessSP &procSP) { in GetProcessSP() argument
115 ProcessMapIter pos = process_map->find(pid); in GetProcessSP()
163 const pid_t pid = (pid_t)death_event.ident; in kqueue_thread() local
[all …]
/external/curl/tests/
Dftp.pm71 # pidfromfile returns the pid stored in the given pidfile. The value
72 # of the returned pid will never be a negative value. It will be zero
73 # on any file related error or if a pid can not be extracted from the
78 my $pid = 0;
81 $pid = 0 + <PIDFH>;
83 $pid = 0 unless($pid > 0);
85 return $pid;
89 # pidexists checks if a process with a given pid exists and is alive.
90 # This will return the positive pid if the process exists and is alive.
91 # This will return the negative pid if the process exists differently.
[all …]
/external/perfetto/test/trace_processor/graphics/
Dandroid_jank.py22 trace.add_atrace_begin(ts=ts, tid=PID, pid=PID, buf=buf)
23 trace.add_atrace_end(ts=ts_end, tid=PID, pid=PID)
27 trace.add_atrace_begin(ts=ts, tid=RTID, pid=PID, buf=buf)
28 trace.add_atrace_end(ts=ts_end, tid=RTID, pid=PID)
42 trace.add_process(pid=1000, ppid=1, cmdline="com.android.systemui", uid=10001)
46 pid=2000, ppid=1, cmdline="com.google.android.inputmethod.latin", uid=10002)
55 ts=1_000_000, tid=1000, pid=1000, buf='Choreographer#doFrame')
56 trace.add_atrace_begin(ts=1_000_100, tid=1000, pid=1000, buf='traversal')
57 trace.add_atrace_begin(ts=1_000_500, tid=1000, pid=1000, buf='measure')
58 trace.add_atrace_end(ts=4_000_000, tid=1000, pid=1000)
[all …]
Dg2d_metrics.textproto6 pid: 237
8 pid: 237
16 pid: 237
18 pid: 237
26 pid: 237
28 pid: 237
36 pid: 237
38 pid: 237
46 pid: 237
48 pid: 237
[all …]
Dcomposer_execution.py32 trace.add_atrace_begin(ts=100, tid=10335, pid=10335, buf="onMessageRefresh")
33 trace.add_atrace_begin(ts=200, tid=10335, pid=10335, buf="HwcPresentOrValidateDisplay")
34 trace.add_atrace_end(ts=300, tid=10335, pid=10335)
35 trace.add_atrace_begin(ts=400, tid=10335, pid=10335, buf="HwcPresentDisplay")
36 trace.add_atrace_end(ts=500, tid=10335, pid=10335)
37 trace.add_atrace_end(ts=600, tid=10335, pid=10335)
40 trace.add_atrace_begin(ts=1_100, tid=10335, pid=10335, buf="onMessageRefresh")
41 trace.add_atrace_begin(ts=1_200, tid=10335, pid=10335, buf="HwcPresentOrValidateDisplay")
42 trace.add_atrace_end(ts=1_300, tid=10335, pid=10335)
43 trace.add_atrace_end(ts=1_400, tid=10335, pid=10335)
[all …]
/external/strace/tests-mx32/
Dptrace.c48 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()
73 do_ptrace(PTRACE_PEEKSIGINFO, pid, (unsigned long) psi, bad_request); in test_peeksiginfo()
76 (unsigned) pid, psi->off, psi->nr, bad_request, errstr); in test_peeksiginfo()
78 pid = fork(); in test_peeksiginfo()
79 if ((pid_t) pid < 0) in test_peeksiginfo()
82 if (!pid) { in test_peeksiginfo()
[all …]
/external/strace/tests/
Dptrace.c48 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()
73 do_ptrace(PTRACE_PEEKSIGINFO, pid, (unsigned long) psi, bad_request); in test_peeksiginfo()
76 (unsigned) pid, psi->off, psi->nr, bad_request, errstr); in test_peeksiginfo()
78 pid = fork(); in test_peeksiginfo()
79 if ((pid_t) pid < 0) in test_peeksiginfo()
82 if (!pid) { in test_peeksiginfo()
[all …]
/external/strace/tests-m32/
Dptrace.c48 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()
73 do_ptrace(PTRACE_PEEKSIGINFO, pid, (unsigned long) psi, bad_request); in test_peeksiginfo()
76 (unsigned) pid, psi->off, psi->nr, bad_request, errstr); in test_peeksiginfo()
78 pid = fork(); in test_peeksiginfo()
79 if ((pid_t) pid < 0) in test_peeksiginfo()
82 if (!pid) { in test_peeksiginfo()
[all …]
Dwait4.c89 do_wait4(pid_t pid, int *wstatus, int options, struct rusage *ru) in do_wait4() argument
95 pid_t rc = wait4(pid, wstatus, options, ru); in do_wait4()
109 pid_t pid; in main() local
110 pid = fork(); in main()
111 if (pid < 0) in main()
114 if (!pid) { in main()
124 if (wait4(pid, s, WNOHANG|__WALL, NULL)) in main()
126 tprintf("wait4(%d, %p, WNOHANG|__WALL, NULL) = 0\n", pid, s); in main()
129 if (wait4(pid, s, WNOHANG|__WALL, rusage)) in main()
131 tprintf("wait4(%d, %p, WNOHANG|__WALL, %p) = 0\n", pid, s, rusage); in main()
[all …]
/external/ltp/testcases/kernel/controllers/cpuctl_fj/
Drun_cpuctl_test_fj.sh132 ps -eo pid,rtprio > /tmp/pids_file1 &
138 while read pid
140 task=`cat $CPUCTL/tasks | grep "\b$pid\b"`
285 pid=$!
287 echo $pid > $CPUCTL/tmp/tasks
289 /bin/kill -s SIGUSR1 $pid
291 /bin/kill -s SIGUSR1 $pid
292 wait $pid
313 pid=$!
315 echo $pid > $CPUCTL/tmp/tasks
[all …]
/external/bcc/tools/
Dsslsniff.py7 # USAGE: sslsniff.py [-h] [-p PID] [-c COMM] [-o] [-g] [-d]
24 ./sslsniff -p 181 # sniff PID 181 only
34 parser.add_argument("-p", "--pid", type=int, help="sniff this PID only.")
56 u32 pid;
65 u32 pid = bpf_get_current_pid_tgid();
70 __data.pid = pid;
88 u32 pid = bpf_get_current_pid_tgid();
91 bufs.update(&pid, (u64*)&buf);
96 u32 pid = bpf_get_current_pid_tgid();
99 u64 *bufp = bufs.lookup(&pid);
[all …]
Drunqslower.py10 # USAGE: runqslower [-p PID] [min_us]
42 ./runqslower -p 123 # trace pid 123 only
48 parser.add_argument("-p", "--pid", type=int, metavar="PID", dest="pid",
49 help="trace this PID only")
70 u32 pid;
78 static int trace_enqueue(u32 tgid, u32 pid)
80 if (FILTER_PID || pid == 0)
83 start.update(&pid, &ts);
91 return trace_enqueue(p->tgid, p->pid);
97 return trace_enqueue(p->tgid, p->pid);
[all …]
Drunqlat.py7 # USAGE: runqlat [-h] [-T] [-m] [-P] [-L] [-p PID] [interval] [count]
37 ./runqlat -P # show each PID separately
38 ./runqlat -p 185 # trace PID 185 only
50 # PID options are --pid and --pids, so namespaces should be --pidns (not done
53 help="print a histogram per PID namespace")
56 parser.add_argument("-p", "--pid",
57 help="trace this PID only")
91 static int trace_enqueue(u32 tgid, u32 pid)
93 if (FILTER || pid == 0)
96 start.update(&pid, &ts);
[all …]
/external/perfetto/test/trace_processor/startup/
Dandroid_startup_attribution.py55 pid=SYSTEM_SERVER_PID,
59 ts=LAUNCH_START_TS + 1, tid=SYSTEM_SERVER_TID, pid=SYSTEM_SERVER_PID)
64 pid=SYSTEM_SERVER_PID,
70 ts=150, pid=APP_PID, tid=APP_TID, buf='OpenDexFilesFromOat(something)')
71 trace.add_atrace_end(ts=165, pid=APP_PID, tid=APP_TID)
74 ts=170, pid=APP_PID, tid=APP_TID, buf='OpenDexFilesFromOat(something else)')
75 trace.add_atrace_end(ts=175, pid=APP_PID, tid=APP_TID)
79 ts=5, pid=APP_PID, tid=APP_TID, buf='OpenDexFilesFromOat(nothing)')
80 trace.add_atrace_end(ts=35, pid=APP_PID, tid=APP_TID)
85 pid=SYSTEM_SERVER_PID,
[all …]
/external/ltp/testcases/kernel/numa/
Dnuma01.sh29 # $1 - Pid number.
33 local pid=$1
36 echo $(numastat -p $pid |awk '/^Total/ {print $'$node'}')
41 local pid=$1
43 local state=$(awk '{print $3}' /proc/$pid/stat)
79 pid=$!
81 TST_RETRY_FUNC "check_for_support_numa $pid" 0
83 Mem_curr=$(echo "$(extract_numastat_p $pid $node) * $MB" |bc)
87 kill -CONT $pid >/dev/null 2>&1
91 kill -CONT $pid >/dev/null 2>&1
[all …]
/external/rust/crates/nix/src/sys/ptrace/
Dbsd.rs6 use crate::unistd::Pid;
59 pid: Pid, in ptrace_other() argument
65 libc::pid_t::from(pid), in ptrace_other()
76 unsafe { ptrace_other(Request::PT_TRACE_ME, Pid::from_raw(0), ptr::null_mut(), 0).map(drop) } in traceme()
81 /// Attaches to the process specified by `pid`, making it a tracee of the calling process.
82 pub fn attach(pid: Pid) -> Result<()> { in attach()
83 unsafe { ptrace_other(Request::PT_ATTACH, pid, ptr::null_mut(), 0).map(drop) } in attach()
88 /// Detaches from the process specified by `pid` allowing it to run freely, optionally delivering a
90 pub fn detach<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in detach() argument
96 ptrace_other(Request::PT_DETACH, pid, ptr::null_mut(), data).map(drop) in detach()
[all …]
Dlinux.rs8 use crate::unistd::Pid;
177 fn ptrace_peek(request: Request, pid: Pid, addr: AddressType, data: *mut c_void) -> Result<c_long> { in ptrace_peek() argument
180 libc::ptrace(request as RequestType, libc::pid_t::from(pid), addr, data) in ptrace_peek()
195 pub fn getregs(pid: Pid) -> Result<user_regs_struct> { in getregs()
196 ptrace_get_data::<user_regs_struct>(Request::PTRACE_GETREGS, pid) in getregs()
206 pub fn setregs(pid: Pid, regs: user_regs_struct) -> Result<()> { in setregs() argument
209 libc::pid_t::from(pid), in setregs()
220 fn ptrace_get_data<T>(request: Request, pid: Pid) -> Result<T> { in ptrace_get_data()
224 libc::pid_t::from(pid), in ptrace_get_data()
232 unsafe fn ptrace_other(request: Request, pid: Pid, addr: AddressType, data: *mut c_void) -> Result<… in ptrace_other() argument
[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 …cess=no exit=-13 a0=80d2437 a1=bf9132f8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8132 auid=500 uid=0…
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 …cess=no exit=-13 a0=80d2437 a1=bf910a48 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8133 auid=500 uid=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 …cess=no exit=-13 a0=80d2437 a1=bf910a48 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8134 auid=500 uid=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/linux-kselftest/tools/testing/selftests/clone3/
Dclone3_set_tid.c6 * PID namespace.
47 pid_t pid = -1; in call_clone3_set_tid() local
56 pid = sys_clone3(&args, sizeof(struct clone_args)); in call_clone3_set_tid()
57 if (pid < 0) { 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()
99 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3_set_tid()
100 getpid(), pid); in call_clone3_set_tid()
103 "Expected child pid %d does not match actual pid %d\n", in call_clone3_set_tid()
[all …]

12345678910>>...180