diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2011-09-02 23:23:41 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-09-07 01:26:47 +0200 |
commit | 7f0e93060e720149bb59023d608a67cfc21542b1 (patch) | |
tree | a61f1b7a530b517948529506a6dec73e8a4db19c /src/Kconfig | |
parent | f73535c089564864eb92628c351f76b0c556ab91 (diff) | |
download | coreboot-7f0e93060e720149bb59023d608a67cfc21542b1.tar.xz |
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>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index f96c903e69..e9ceed5e10 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -845,6 +845,15 @@ config LLSHELL Put llshell() in your (romstage) code to start the shell. See src/arch/x86/llshell/llshell.inc for details. +config TRACE + bool "Trace function calls" + default n + help + If enabled, every function will print information to console once + the function is entered. The syntax is ~0xaaaabbbb(0xccccdddd) + the 0xaaaabbbb is the actual function and 0xccccdddd is EIP + of calling function. Please note some printk releated functions + are omitted from trace to have good looking console dumps. endmenu config LIFT_BSP_APIC_ID |