diff options
author | Volodymyr Babchuk <vlad.babchuk@gmail.com> | 2018-05-23 18:58:04 +0300 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-08-01 10:47:26 +0200 |
commit | 64fad262d5454c945c21280100f5135d894009b4 (patch) | |
tree | 2a30c2bdc14802b0c49abb200db3430825045025 /mk/config.mk | |
parent | bed5dcff8dc0e72fb667791b8f00cabfa05cf6fa (diff) |
trace: print core id if in atomic context
If (D|E|I|F)MSG is called with foreign interrupts masked
we can report core ID. "?" will be printed instead, if
foreign interrupts aren't masked.
With this patch log looks like this:
D/TC:2 0 core_mmu_set_user_map:940 0xe181b88 0xeee8003
D/TC:? 0 __wq_rpc:40 wake thread 1 0xe16f028 -3
D/TC:1 thread_handle_std_smc:612 a7: 2
D/TC:3 0 core_mmu_set_user_map:940 0x0 0x0
Where first digit shows core id and second - thread id.
Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r-- | mk/config.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/config.mk b/mk/config.mk index 254563cc..1b37bd16 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -70,8 +70,8 @@ CFG_TEE_CORE_MALLOC_DEBUG ?= n CFG_TEE_TA_MALLOC_DEBUG ?= n # Mask to select which messages are prefixed with long debugging information -# (severity, thread ID, component name, function name, line number) based on -# the message level. If BIT(level) is set, the long prefix is shown. +# (severity, core ID, thread ID, component name, function name, line number) +# based on the message level. If BIT(level) is set, the long prefix is shown. # Otherwise a short prefix is used (severity and component name only). # Levels: 0=none 1=error 2=info 3=debug 4=flow CFG_MSG_LONG_PREFIX_MASK ?= 0x1a |