Searched refs:curr_pid (Results 1 – 2 of 2) sorted by relevance
36 __u32 curr_pid, zero = 0; in add_to_list_in_inner_array() local40 curr_pid = (u32)bpf_get_current_pid_tgid(); in add_to_list_in_inner_array()41 if (done || curr_pid != pid) in add_to_list_in_inner_array()45 map = bpf_map_lookup_elem(&outer_map, &curr_pid); in add_to_list_in_inner_array()
182 u32 *curr_pid; member1795 if (sched->curr_pid[this_cpu] != (u32)-1) { in process_sched_switch_event()1800 if (sched->curr_pid[this_cpu] != prev_pid) in process_sched_switch_event()1807 sched->curr_pid[this_cpu] = next_pid; in process_sched_switch_event()3418 sched->curr_pid = malloc(MAX_CPUS * sizeof(*(sched->curr_pid))); in setup_cpus_switch_event()3419 if (!sched->curr_pid) { in setup_cpus_switch_event()3425 sched->curr_pid[i] = -1; in setup_cpus_switch_event()3432 zfree(&sched->curr_pid); in free_cpus_switch_event()