kubectl-trace
kubectl-trace copied to clipboard
Ability to obtain flame graphs
Since flame graph supports bpftrace I propose to create a new feature making users of kubectl-trace able to obtain flame graphs.
Not sure yet whether such feature should be implemented from a flag or from a new command.
We'll investigate further cc @fntlnz.
Flame graphs support is not in bpftrace but in the Flamegraph repo from @brendangregg there's an utility to convert profiles from a bpftrace output to an input that can be fed into a Flame graph.
https://github.com/brendangregg/FlameGraph/blob/master/stackcollapse-bpftrace.pl
To me sounds exactly what I was saying :')
lol sorry didn't understand
Bump - still interested in this :)
i still interests too any progress?
i planned make kube-flame project especially to run pyflame, py-spy, rbspy and go-torch inside Pods, like https://github.com/aylei/kubectl-debug
There's a poc in this PR #74 @Slach - still have to find some time to finish it :)