summaryrefslogtreecommitdiff
path: root/common/hooks.c
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2014-05-02 12:22:24 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-05-07 03:41:22 +0000
commit4ba7a1502dabc4728d8e68572642dafafbd54692 (patch)
treef6183dfe771668a3c3aa77b42c3002af17dd9235 /common/hooks.c
parent58c50a970ab7df4f0e3f1b188e6b1966a9d47d1d (diff)
downloadchrome-ec-4ba7a1502dabc4728d8e68572642dafafbd54692.tar.gz
cleanup: add square brackets to make test parser easier
This may not contain all. I filtered out possible code by the following command: find . -name "*.h*" -o -name "*.c*" | xargs grep -n CPRINTF | \ grep -v "\[" | grep -v define | less BUG=none BRANCH=none TEST=make buildall tuntests Change-Id: I674f84f5966b34aeb8d4321d22629b450627a120 Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/197997
Diffstat (limited to 'common/hooks.c')
-rw-r--r--common/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks.c b/common/hooks.c
index 3d6ccb695f..b7086a866b 100644
--- a/common/hooks.c
+++ b/common/hooks.c
@@ -83,7 +83,7 @@ static void record_hook_delay(uint64_t now, uint64_t last, uint64_t interval,
/* Warn if delayed by more than 10% */
if (delayed * 10 > interval)
- CPRINTF("Hook at interval %d us delayed by %d us\n",
+ CPRINTF("[%T Hook at interval %d us delayed by %d us]\n",
(uint32_t)interval, (uint32_t)delayed);
}
#endif