Lines Matching refs:pid
36 u64 pgoff, u32 pid, char *filename,
49 snprintf(newfilename, sizeof(newfilename), "/tmp/perf-%d.map", pid);
542 int machine__init(struct machine *self, const char *root_dir, pid_t pid)
550 self->pid = pid;
580 struct machine *machines__add(struct rb_root *self, pid_t pid,
590 if (machine__init(machine, root_dir, pid) != 0) {
598 if (pid < pos->pid)
610 struct machine *machines__find(struct rb_root *self, pid_t pid)
620 if (pid < machine->pid)
622 else if (pid > machine->pid)
626 if (!machine->pid)
633 struct machine *machines__findnew(struct rb_root *self, pid_t pid)
637 struct machine *machine = machines__find(self, pid);
639 if (!machine || machine->pid != pid) {
640 if (pid == HOST_KERNEL_ID || pid == DEFAULT_GUEST_KERNEL_ID)
645 sprintf(path, "%s/%d", symbol_conf.guestmount, pid);
652 machine = machines__add(self, pid, root_dir);
676 snprintf(bf, size, "[%s.%d]", "guest.kernel.kallsyms", self->pid);