Lines Matching refs:pid
670 u32 pid, enum pid_type type) in cpumsf_pid_type() argument
675 if (!pid) in cpumsf_pid_type()
678 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in cpumsf_pid_type()
679 pid = -1; in cpumsf_pid_type()
687 pid = __task_pid_nr_ns(tsk, type, event->ns); in cpumsf_pid_type()
692 if (!pid && !pid_alive(tsk)) in cpumsf_pid_type()
693 pid = -1; in cpumsf_pid_type()
696 return pid; in cpumsf_pid_type()
703 u32 pid; in cpumsf_output_event_pid() local
711 pid = data->tid_entry.pid; in cpumsf_output_event_pid()
722 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()
723 data->tid_entry.tid = cpumsf_pid_type(event, pid, PIDTYPE_PID); in cpumsf_output_event_pid()
1166 data.tid_entry.pid = basic->hpp & LPP_PID_MASK; in perf_push_sample()