Home
last modified time | relevance | path

Searched refs:ppid (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
Dandroid_parser.js90 var ppid = parseInt(eventData[1]);
93 var thread = this.model_.getOrCreateProcess(ppid)
102 this.ppids_[pid] = ppid;
108 var ppid = this.ppids_[pid];
109 if (ppid === undefined) {
114 var thread = this.model_.getOrCreateProcess(ppid)
136 var ppid = parseInt(eventData[1]);
141 var ctr = this.model_.getOrCreateProcess(ppid)
156 var ppid = parseInt(eventData[1]);
159 var thread = this.model_.getOrCreateProcess(ppid)
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/rand/
Durandom.c67 pid_t ppid; /* ppid contains the parent pid in order to try and reduce member
142 pid_t pid, ppid; in RAND_bytes() local
169 ppid = getppid(); in RAND_bytes()
173 if (buf && buf->pid == pid && buf->ppid == ppid && in RAND_bytes()
197 buf->ppid = ppid; in RAND_bytes()
200 if (buf->pid == pid && buf->ppid == ppid) { in RAND_bytes()
/external/chromium_org/chrome/browser/
Dprocess_info_snapshot_mac_unittest.cc36 EXPECT_EQ(0, static_cast<int64>(proc_info.ppid)); in TEST_F()
63 base::ProcessId ppid = static_cast<base::ProcessId>(getppid()); in TEST_F() local
66 EXPECT_NE(static_cast<int64>(ppid), 0); in TEST_F()
70 pid_list.push_back(ppid); in TEST_F()
78 EXPECT_EQ(ppid, proc_info.ppid); in TEST_F()
96 ASSERT_TRUE(snapshot.GetProcInfo(ppid, &proc_info)); in TEST_F()
97 EXPECT_EQ(ppid, proc_info.pid); in TEST_F()
98 EXPECT_NE(static_cast<int64>(proc_info.ppid), 0); in TEST_F()
Dprocess_info_snapshot.h50 base::ProcessId ppid; member
Dprocess_info_snapshot_mac.cc297 proc_info.ppid = kinfo.kp_eproc.e_ppid; in Sample()
342 ppid(0), in ProcInfoEntry()
/external/chromium_org/chrome/tools/
Dchrome-process-identifier.sh40 ppid="$(ps h --format ppid --pid "$pid" 2>/dev/null)"
41 [ -n "$ppid" ] || {
43 ls -l "/proc/$ppid/exe" 2>/dev/null|egrep -q '/chrome( .deleted.)?$' &&
44 pid="$ppid" || break
53 for child in $(ps h --format pid --ppid $1); do
138 for i in $(ps h --format pid --ppid 1); do
/external/libcap-ng/libcap-ng-0.7/utils/
Dpscap.c69 int pid, ppid, uid = -1, euid = -1; in main() local
103 sscanf(buf, "%d (%15c", &ppid, cmd); in main()
104 sscanf(tmp+2, "%c %d", &state, &ppid); in main()
107 if (pid == 2 || ppid == 2) in main()
170 printf("%-5d %-5d %-10s %-16s ", ppid, pid, in main()
173 printf("%-5d %-5d %-10d %-16s ", ppid, pid, in main()
Dnetcap.c59 int pid, ppid; in collect_process_info() local
89 sscanf(buf, "%d (%15c", &ppid, cmd); in collect_process_info()
90 sscanf(tmp+2, "%c %d", &state, &ppid); in collect_process_info()
93 if (pid == 2 || ppid == 2) in collect_process_info()
194 node.ppid = ppid; in collect_process_info()
237 printf("%-5d %-5d %-10s", n->ppid, n->pid, tacct); in report_finding()
239 printf("%-5d %-5d %-10d", n->ppid, n->pid, last_uid); in report_finding()
Dproc-llist.c47 newnode->ppid = node->ppid; in list_append()
Dproc-llist.h33 pid_t ppid; // parent process ID member
/external/lldb/source/Host/linux/
DHost.cpp47 lldb::pid_t ppid; // Parent Process ID member
122 int ppid = LLDB_INVALID_PROCESS_ID; in ReadProcPseudoFileStat() local
125 sscanf (filename_end + 1, " %c %d", &state, &ppid); in ReadProcPseudoFileStat()
127 stat_info.ppid = ppid; in ReadProcPseudoFileStat()
360 stat_info.ppid = LLDB_INVALID_PROCESS_ID; in GetProcessAndStatInfo()
424 process_info.SetParentProcessID (stat_info.ppid); in GetProcessAndStatInfo()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_indata.h46 uint32_t tsn, uint32_t ppid,
52 #define sctp_build_readq_entry_mac(_ctl, in_it, context, net, tsn, ppid, stream_no, stream_seq, fla… argument
58 (_ctl)->sinfo_ppid = ppid; \
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dthread.c18 self->ppid = -1; in thread__new()
88 self->ppid = parent->tid; in thread__fork()
Dthread.h17 pid_t ppid; member
Dbuild-id.c56 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
Devent.h41 u32 pid, ppid; member
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-timechart.c77 int ppid; member
205 static void pid_fork(int pid, int ppid, u64 timestamp) in pid_fork() argument
209 pp = find_create_pid(ppid); in pid_fork()
210 p->ppid = ppid; in pid_fork()
288 pid_fork(event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event()
635 if (cursor->ppid > p->ppid || in sort_pids()
636 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
/external/chromium_org/tools/valgrind/
Dvalgrind_test.py486 for ppid in ppids:
489 f = open(self.log_dir + ("/testcase.%d.name" % ppid))
499 print " Below is the report for valgrind wrapper PID=%d." % ppid
504 print " by searching the above log for 'PID=%d'" % ppid
508 if re.search("\.%d\.[0-9]+$" % ppid, f)]
1009 for ppid in ppids:
1012 f = open("%s/testcase.%s.name" % (self.log_dir, ppid))
1018 print " Below is the report for drmemory wrapper PID=%s." % ppid
1024 print " by searching the above log for 'PID=%s'" % ppid
1027 (self.log_dir, ppid))
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dlinuxthreads.cc248 pid_t clone_pid = sys_gettid(), ppid = sys_getppid(); in ListerThread() local
278 local_itoa(strrchr(strcpy(proc_self_task, "/proc/"), '\000'), ppid); in ListerThread()
456 found_parent |= pid == ppid; in ListerThread()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dlinuxthreads.cc248 pid_t clone_pid = sys_gettid(), ppid = sys_getppid(); in ListerThread() local
278 local_itoa(strrchr(strcpy(proc_self_task, "/proc/"), '\000'), ppid); in ListerThread()
456 found_parent |= pid == ppid; in ListerThread()
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/
Dsctpdataengine.cc152 SctpDataMediaChannel::PayloadProtocolIdentifier ppid, in GetDataMediaType() argument
155 switch (ppid) { in GetDataMediaType()
207 const SctpDataMediaChannel::PayloadProtocolIdentifier ppid = in OnSctpInboundPacket() local
211 if (!GetDataMediaType(ppid, &type) && !(flags & MSG_NOTIFICATION)) { in OnSctpInboundPacket()
213 LOG(LS_ERROR) << "Received an unknown PPID " << ppid in OnSctpInboundPacket()
/external/mksh/src/
Djobs.c84 pid_t ppid; /* pid of process that forked job */ member
285 if (j->ppid == procpid && in j_exit()
490 j->ppid = procpid; in exchild()
721 if (j->ppid == procpid && j->state == PRUNNING) in waitfor()
732 if (j->ppid != procpid) { in waitfor()
916 if (j->ppid == procpid && j->state == PSTOPPED) in j_stopped_running()
920 j->ppid == procpid && j->state == PRUNNING) in j_stopped_running()
1332 if (j->ppid == procpid && !(j->flags & JF_STARTED)) { in j_sigchld()
1813 if ((j->flags & JF_ZOMBIE) && j->ppid == procpid) in remove_job()
/external/elfutils/0.153/backends/
Dlinux-core-note.c126 FIELD (identity, PID_T, ppid, 'd'),
161 FIELD (identity, PID_T, ppid, 'd'),
/external/chromium_org/tools/telemetry/telemetry/core/platform/
Dcros_interface.py322 for pid, process, ppid, _ in procs:
323 if ppid != session_manager_pid:
/external/chromium_org/base/process/
Dprocess_util_unittest.cc904 base::ProcessId ppid = base::GetParentProcessId(base::GetCurrentProcId()); in TEST_F() local
905 EXPECT_EQ(ppid, getppid()); in TEST_F()

12