Attention is currently required from: Tarun Tuli, Martin L Roth, Tim Wawrzynczak, Reka Norman.
Hello build bot (Jenkins), Tarun Tuli, Martin L Roth, Reka Norman,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/65606
to look at the new patch set (#10).
Change subject: profiler: Add basic profiler with cbmem support ......................................................................
profiler: Add basic profiler with cbmem support
How to generate flamegraph: 1. Build and run coreboot with CONFIG_PROFILER 2. `cbmem -p > profiler.dump` 3. `util/profiler_tools/profiler_addr2line.py -e ramstage.debug \ -o collapsed.txt profiler.dump` 4. `flamegraph.pl collapsed.txt > graph.svg`
Overhead is about 8-15% depending on platform.
Signed-off-by: Jakub Czapiga jacz@semihalf.com Change-Id: I5665922b1109ee9305274294c93de577f1bf9ae2 --- M Makefile.inc M src/Kconfig M src/arch/arm64/arch_timer.c M src/arch/arm64/armv8/exception.c M src/arch/arm64/transition.c M src/arch/x86/c_start.S M src/arch/x86/cpu.c M src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h M src/commonlib/bsd/include/commonlib/bsd/compiler.h A src/commonlib/bsd/include/commonlib/bsd/profiler.h M src/lib/Makefile.inc A src/lib/profiler.c M util/cbmem/cbmem.c A util/profiler_tools/profiler_addr2line.py 14 files changed, 551 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/65606/10