Lines Matching refs:pid

178 		header.pid	  = bswap_32(header.pid);  in jit_open()
191 header.pid, in jit_open()
337 jr->load.pid = bswap_32(jr->load.pid); in jit_get_next_entry()
348 jr->move.pid = bswap_32(jr->move.pid); in jit_get_next_entry()
382 return jr->load.pid; in jr_entry_pid()
437 pid_t nspid, pid, tid; in jit_repipe_code_load() local
439 u32 pid, tid; in jit_repipe_code_load() member
443 nspid = jr->load.pid; in jit_repipe_code_load()
444 pid = jr_entry_pid(jd, jr); in jit_repipe_code_load()
498 event->mmap2.pid = pid; in jit_repipe_code_load()
509 id->pid = pid; in jit_repipe_code_load()
521 sample.pid = pid; in jit_repipe_code_load()
553 pid_t nspid, pid, tid; in jit_repipe_code_move() local
555 u32 pid, tid; in jit_repipe_code_move() member
559 nspid = jr->load.pid; in jit_repipe_code_move()
560 pid = jr_entry_pid(jd, jr); in jit_repipe_code_move()
593 event->mmap2.pid = pid; in jit_repipe_code_move()
604 id->pid = pid; in jit_repipe_code_move()
616 sample.pid = pid; in jit_repipe_code_move()
739 jit_detect(char *mmap_name, pid_t pid, struct nsinfo *nsi) in jit_detect() argument
779 if (pid && pid2 != nsinfo__nstgid(nsi)) in jit_detect()
793 static void jit_add_pid(struct machine *machine, pid_t pid) in jit_add_pid() argument
795 struct thread *thread = machine__findnew_thread(machine, pid, pid); in jit_add_pid()
798 pr_err("%s: thread %d not found or created\n", __func__, pid); in jit_add_pid()
806 static bool jit_has_pid(struct machine *machine, pid_t pid) in jit_has_pid() argument
808 struct thread *thread = machine__find_thread(machine, pid, pid); in jit_has_pid()
824 pid_t pid, in jit_process() argument
834 thread = machine__findnew_thread(machine, pid, tid); in jit_process()
846 if (jit_detect(filename, pid, nsi)) { in jit_process()
852 if (jit_has_pid(machine, pid) && in jit_process()
879 jit_add_pid(machine, pid); in jit_process()