commit | adef0b5112a8b1b36eb05dccfdde4f120607197b | [log] [tgz] |
---|---|---|
author | Mark Hansen <markhansen@google.com> | Thu Oct 07 15:41:23 2021 +1100 |
committer | Mark Hansen <markhansen@google.com> | Fri Oct 08 08:44:25 2021 +1100 |
tree | f55200c0c11f735375eee81db79d26291bb54752 | |
parent | 324e661a814ce9439dc464809499d4ae9351ff53 [diff] |
Add: stackcollapse.py converter to Folded Stacks This converts to Brendan Gregg's Folded Stack Format: https://queue.acm.org/detail.cfm?id=2927301#:~:text=The%20folded%20stack%2Dtrace%20format,trace%2C%20followed%20by%20a%20semicolon. This tries to be consistent with https://github.com/brendangregg/FlameGraph/blob/master/stackcollapse-perf.pl, outputting annotations for kernel and JIT code for colour-coding in flamegraph.pl downstream. BUG=201571852 Change-Id: I9083299f5662f87d059b5881d5127e23dbe9e7e3 Test: Ran test/test.py -p TestStackCollapse.\*