kepler
kepler copied to clipboard
fix(bpf): fix pid key for querying processes map
bpf_get_current_pid_tgid gives both process id and group id, need to use mask to extract pid from the return value.
Same is used while creating the map entry in kepler_sched_switch_trace
Cc: @rootfs @dave-tucker