diff options
author | Che-yu Wu <cheyuw@google.com> | 2017-08-14 11:46:29 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-15 00:25:20 -0700 |
commit | 64ecddfd861002cb5cff04b22211d23cf5fbcb5d (patch) | |
tree | df0868c2ebd61189da143727f68f0f21f4ae2028 /include/task_filter.h | |
parent | d2a06c36b13d62ef47e625067a4b7747bcf1a8f1 (diff) | |
download | chrome-ec-64ecddfd861002cb5cff04b22211d23cf5fbcb5d.tar.gz |
ec: Add a task information library for the stack analyzer.
Add a shared library to export task information.
Modified the stack analyzer to get information from the shared library.
Show allocated stack sizes of tasks in the stack analyzer.
To get the all task information (including the allocated stack size),
A shared library is added and compiled with the board to export all
configurations of the tasklist.
BUG=chromium:648840
BRANCH=none
TEST=extra/stack_analyzer/stack_analyzer_unittest.py
make BOARD=elm && extra/stack_analyzer/stack_analyzer.py \
--objdump=arm-none-eabi-objdump \
--addr2line=arm-none-eabi-addr2line \
--export_taskinfo=./build/elm/util/export_taskinfo.so \
--section=RW \
./build/elm/RW/ec.RW.elf
make BOARD=${BOARD} SECTION=${SECTION} analyzestack
Change-Id: I72f01424142bb0a99c6776a55735557308e2cab6
Signed-off-by: Che-yu Wu <cheyuw@google.com>
Reviewed-on: https://chromium-review.googlesource.com/611693
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/task_filter.h')
-rw-r--r-- | include/task_filter.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/task_filter.h b/include/task_filter.h index 2840a01e13..af80194e7f 100644 --- a/include/task_filter.h +++ b/include/task_filter.h @@ -46,11 +46,5 @@ CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST CONFIG_CTS_TASK_LIST #endif -/* If included directly from Makefile, dump details of task list. */ -#ifdef _MAKEFILE_DUMP_INFO -#define TASK(n, r, d, s) (#n, r, s) -CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST CONFIG_CTS_TASK_LIST -#endif - #endif /* __CROS_EC_TASK_FILTER_H */ |