Lines Matching full:ppid
70 * the comm, tgid and ppid.
73 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids() argument
82 *ppid = -1; in perf_event__get_comm_ids()
95 pr_warning("Couldn't get COMM, tigd and ppid for pid %d\n", in perf_event__get_comm_ids()
103 ppids = strstr(bf, "PPid:"); in perf_event__get_comm_ids()
130 ppids += 5; /* strlen("PPid:") */ in perf_event__get_comm_ids()
131 *ppid = atoi(ppids); in perf_event__get_comm_ids()
133 pr_debug("PPid: string not found for pid %d\n", pid); in perf_event__get_comm_ids()
141 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm() argument
145 *ppid = -1; in perf_event__prepare_comm()
152 tgid, ppid) != 0) { in perf_event__prepare_comm()
181 pid_t tgid, ppid; in perf_event__synthesize_comm() local
183 if (perf_event__prepare_comm(event, pid, machine, &tgid, &ppid) != 0) in perf_event__synthesize_comm()
246 pid_t pid, pid_t tgid, pid_t ppid, in perf_event__synthesize_fork() argument
253 * for main thread set parent to ppid from status file. For other in perf_event__synthesize_fork()
258 event->fork.ppid = ppid; in perf_event__synthesize_fork()
259 event->fork.ptid = ppid; in perf_event__synthesize_fork()
261 event->fork.ppid = tgid; in perf_event__synthesize_fork()
657 pid_t tgid, ppid; in __event__synthesize_thread() local
706 &tgid, &ppid) != 0) in __event__synthesize_thread()
710 ppid, process, machine) < 0) in __event__synthesize_thread()