diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2022-02-28 16:23:02 +0100 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2022-03-31 23:04:58 +0000 |
commit | 48f6c2b46fec95c255c1f6dafff6b973199596b3 (patch) | |
tree | ff97dca1e14dbcc83b70885ce45be07e0ab058c9 /src/soc/mediatek/mt8192/ddp.c | |
parent | f91366fa6f3a7313f77db7cfd54e2769d007baa3 (diff) |
util/cbmem: Add FlameGraph-compatible timestamps output
Flame graphs are used to visualize hierarchical data, like call stacks.
Timestamps collected by coreboot can be processed to resemble
profiler-like output, and thus can be feed to flame graph generation
tools.
Generating flame graph using https://github.com/brendangregg/FlameGraph:
cbmem -S > trace.txt
FlameGraph/flamegraph.pl --flamechart trace.txt > output.svg
TEST=Run on coreboot-enabled device and extract timestamps using
-t/-T/-S options
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I3a4e20a267e9e0fbc6b3a4d6a2409b32ce8fca33
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62474
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8192/ddp.c')
0 files changed, 0 insertions, 0 deletions