summaryrefslogtreecommitdiff
path: root/core/host/panic.c
diff options
context:
space:
mode:
authorVic (Chun-Ju) Yang <victoryang@chromium.org>2014-01-21 17:18:33 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-22 04:52:49 +0000
commit7c686dd68ba382a01040f5cf23c5e416ee39e65e (patch)
treeefc0e15822d4ba10ff7520e16098b44dc8168c75 /core/host/panic.c
parenta02d7fa1480380ef402118395870d742b3910fd9 (diff)
downloadchrome-ec-7c686dd68ba382a01040f5cf23c5e416ee39e65e.tar.gz
emulator: Move trace dump to a separate module
The implementation of trace dump has little to do with task scheduling, so we should move it to a separate module for cleaner code. This requires exposing some emulator-specific task info, as defined in host_task.h. BUG=chrome-os-partner:19235 TEST=Pass all tests BRANCH=None Change-Id: Iba9bc0794a4e1dd4ddb92b98345162b398fa6a8d Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/183238
Diffstat (limited to 'core/host/panic.c')
-rw-r--r--core/host/panic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/host/panic.c b/core/host/panic.c
index 260329cc39..ee21577aec 100644
--- a/core/host/panic.c
+++ b/core/host/panic.c
@@ -8,6 +8,7 @@
#include "common.h"
#include "panic.h"
+#include "stack_trace.h"
#include "test_util.h"
#include "util.h"