Lines Matching defs:pid
172 header.pid = bswap_32(header.pid);
185 header.pid,
329 jr->load.pid = bswap_32(jr->load.pid);
340 jr->move.pid = bswap_32(jr->move.pid);
415 pid_t pid, tid;
417 u32 pid, tid;
421 pid = jr->load.pid;
438 pid,
475 event->mmap2.pid = pid;
486 id->pid = pid;
498 sample.pid = pid;
528 pid_t pid, tid;
530 u32 pid, tid;
534 pid = jr->move.pid;
549 pid,
567 event->mmap2.pid = pid;
578 id->pid = pid;
590 sample.pid = pid;
713 jit_detect(char *mmap_name, pid_t pid)
740 * must be followed by a pid
750 * pid does not match mmap pid
751 * pid==0 in system-wide mode (synthesized)
753 if (pid && pid2 != pid)
767 static void jit_add_pid(struct machine *machine, pid_t pid)
769 struct thread *thread = machine__findnew_thread(machine, pid, pid);
772 pr_err("%s: thread %d not found or created\n", __func__, pid);
779 static bool jit_has_pid(struct machine *machine, pid_t pid)
781 struct thread *thread = machine__find_thread(machine, pid, pid);
794 pid_t pid,
804 if (jit_detect(filename, pid)) {
805 // Strip //anon* mmaps if we processed a jitdump for this pid
806 if (jit_has_pid(machine, pid) && (strncmp(filename, "//anon", 6) == 0))
829 jit_add_pid(machine, pid);