• Vicent Marti's avatar
    offcputime: Resolve stacks using a StackTrace table · e82fb1ba
    Vicent Marti authored
    The manual walking for kernel stacks in the eBPF code has been replaced
    with a `BPF_STACK_TRACE` table; the stack ID is now stored as an integer
    in the main key.
    
    Thanks to the `StackTrace.walk` iterator, the printing code can also be
    significantly simplified for both folded and full stack modes.
    e82fb1ba
offcputime.py 6.28 KB