Lines Matching full:pid
28 static int trace_enqueue(u32 tgid, u32 pid) in trace_enqueue() argument
32 if (!pid || (targ_pid && targ_pid != pid)) in trace_enqueue()
36 bpf_map_update_elem(&start, &pid, &ts, 0); in trace_enqueue()
46 return trace_enqueue(p->tgid, p->pid); in handle__sched_wakeup()
55 return trace_enqueue(p->tgid, p->pid); in handle__sched_wakeup_new()
69 u32 pid; in handle__sched_switch() local
73 trace_enqueue(prev->tgid, prev->pid); in handle__sched_switch()
75 pid = next->pid; in handle__sched_switch()
78 tsp = bpf_map_lookup_elem(&start, &pid); in handle__sched_switch()
86 event.pid = pid; in handle__sched_switch()
94 bpf_map_delete_elem(&start, &pid); in handle__sched_switch()