Add support for the tracing infastructure in coreboot.
authorRudolf Marek <r.marek@assembler.cz>
Fri, 2 Sep 2011 21:23:41 +0000 (23:23 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 6 Sep 2011 23:26:47 +0000 (01:26 +0200)
commit7f0e93060e720149bb59023d608a67cfc21542b1
treea61f1b7a530b517948529506a6dec73e8a4db19c
parentf73535c089564864eb92628c351f76b0c556ab91
Add support for the tracing infastructure in coreboot.

The compiler is forced to emmit special functions on every
entry/exit of the function. Add a compile time option
to support it. Function entries will be printed in
the console. The CONFIG_TRACE has more documentation.

Patch for userspace tools will follow.

Change-Id: I2cbeb3f104892b034c8756f86ed05bf71187c3f3
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Reviewed-on: http://review.coreboot.org/178
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Makefile.inc
src/Kconfig
src/console/printk.c
src/console/vsprintf.c
src/include/trace.h [new file with mode: 0644]
src/lib/Makefile.inc
src/lib/trace.c [new file with mode: 0644]
src/lib/uart8250.c