Home | History | Annotate | Download | only in memcheck

Lines Matching refs:pid

97  *  pid - Process ID of the process that's being created.
103 create_new_process(uint32_t pid, uint32_t parent_pid)
114 new_proc->pid = pid;
127 ME("memcheck: Unable to get parent process pid=%u for new process pid=%u",
128 parent_pid, pid);
139 ME("memcheck: Unable to copy process' %s[pid=%u] allocation map to new process pid=%u",
140 parent->image_path, parent_pid, pid);
149 ME("memcheck: Unable to copy process' %s[pid=%u] mmrange map to new process pid=%u",
150 parent->image_path, parent_pid, pid);
159 if(create_new_thread(new_proc, pid) == NULL) {
279 ME("memcheck: Unable to allocate %u bytes for image path %s to set it for pid=%u",
280 strlen(image_path) + 1, image_path, proc->pid);
321 get_process_from_pid(uint32_t pid)
325 /* Chances are that pid addresses the current process. Lets check this,
327 if (current_thread != NULL && current_thread->process->pid == pid) {
333 if (pid == proc->pid) {
369 ME("memcheck: Unable to find mapping for guest PC 0x%08X in process %s[pid=%u]",
370 from, thread->process->image_path, thread->process->pid);
379 MD("memcheck: Thread stack for %s[pid=%u, tid=%u] is too big: %u",
380 thread->process->image_path, thread->process->pid, thread->tid,
456 T(PROC_NEW_PID, "memcheck: init_pid(pid=%u) in current thread tid=%u\n",
491 if (parent_proc->pid != get_current_process()->pid) {
492 MD("memcheck: FORK(%u, %u): parent %s[pid=%u] is not the current process %s[pid=%u]",
493 tgid, new_pid, parent_proc->image_path, parent_proc->pid,
494 get_current_process()->image_path, get_current_process()->pid);
497 new_proc = create_new_process(new_pid, parent_proc->pid);
506 T(PROC_FORK, "memcheck: FORK(tgid=%u, new_pid=%u) by %s[pid=%u] (tid=%u)\n",
507 tgid, new_pid, parent_proc->image_path, parent_proc->pid, current_tid);
530 if (parent_proc->pid != get_current_process()->pid) {
531 ME("memcheck: CLONE(%u, %u): parent %s[pid=%u] is not the current process %s[pid=%u]",
532 tgid, new_tid, parent_proc->image_path, parent_proc->pid,
533 get_current_process()->image_path, get_current_process()->pid);
538 T(PROC_CLONE, "memcheck: CLONE(tgid=%u, new_tid=%u) by %s[pid=%u] (tid=%u)\n",
539 tgid, new_tid, parent_proc->image_path, parent_proc->pid, current_tid);
576 T(PROC_START, "memcheck: Executing process %s[pid=%u]\n",
577 current_proc->image_path, current_proc->pid);
623 T(CHECK_LEAK, "memcheck: Process %s[pid=%u] is exiting leaking allocated blocks:\n",
624 proc->image_path, proc->pid);
679 T(CHECK_LEAK, "memcheck: Process %s[pid=%u] is leaking %u allocated blocks.\n",
680 proc->image_path, proc->pid, leaks_reported);
683 T(PROC_EXIT, "memcheck: Exiting process %s[pid=%u] in thread %u. Memory leaks detected: %u\n",
684 proc->image_path, proc->pid, current_tid, leaks_reported);
733 ME("memcheck: %s[pid=%u] unable to insert memory mapping entry: 0x%08X - 0x%08X",
734 proc->image_path, proc->pid, vstart, vend);
740 MD("memcheck: %s[pid=%u] MMRANGE %s[0x%08X - 0x%08X] is replaced with %s[0x%08X - 0x%08X]",
741 proc->image_path, proc->pid, replaced.path, replaced.map_start,
746 T(PROC_MMAP, "memcheck: %s[pid=%u] %s is mapped: 0x%08X - 0x%08X + 0x%08X\n",
747 proc->image_path, proc->pid, path, vstart, vend, exec_offset);
767 T(PROC_MMAP, "memcheck: %s[pid=%u] %s is unmapped: [0x%08X - 0x%08X + 0x%08X]\n",
768 proc->image_path, proc->pid, desc.path, vstart, vend, desc.exec_offset);