You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see, you're saying that a throttle is associated with a whole cgroup and it's impossible to have two traces with the same throttle, even if it affects both. I don't think that keying by thread id would help here, as there might be multiple concurrent traces happening in the same thread as well.
The solution is probably to have a set of traces that are interested in throttle events. I'm not really sure what's the best way to implement this.
In
examples/cfs-throttling-trace.bpf.c
we use cgroup id as the key oftraced_cgroups
map :When unthrottle, we use cgroup id as key to get from the map :
But in a multi-threaded environment. It seems not aways true. May be thread id and cgroup id be composited as key?
The text was updated successfully, but these errors were encountered: