Lines Matching refs:pid
28 __u32 pid; member
161 __u32 pid; in can_record() local
164 pid = t->tgid; in can_record()
166 pid = t->pid; in can_record()
168 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
214 .pid = next->pid, in off_cpu_stat()
241 u32 pid; in on_newtask() local
249 pid = BPF_CORE_READ(task, tgid); in on_newtask()
250 if (!bpf_map_lookup_elem(&task_filter, &pid)) in on_newtask()
256 pid = task->tgid; in on_newtask()
258 bpf_map_update_elem(&task_filter, &pid, &val, BPF_NOEXIST); in on_newtask()