diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-02-09 10:59:11 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-16 21:41:41 -0800 |
commit | 971ef1e03c791e95fe7e1ad8d0ea54da5c4f88d0 (patch) | |
tree | a6e3739fcef24e1199d61e0c9a04999d0e693ee3 /include | |
parent | 142f511ed172b9fb1f7c378753c06ea136fe572d (diff) | |
download | chrome-ec-971ef1e03c791e95fe7e1ad8d0ea54da5c4f88d0.tar.gz |
host_command: Count suppressed host commands individually
BUG=chromium:803955
BRANCH=none
TEST=Verify counters are printed every hour and before sysjump as follows:
[12.540051 HC Suppressed: 0x97=25 0x98=0 0x115=0]
Change-Id: I1c1aecf316d233f967f1d2f6ee6c9c16cc59bece
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/912150
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 4 | ||||
-rw-r--r-- | include/host_command.h | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h index a1d197c014..2d7cd658ee 100644 --- a/include/config.h +++ b/include/config.h @@ -1637,8 +1637,8 @@ /* Set SKU ID from AP */ #undef CONFIG_HOSTCMD_AP_SET_SKUID -/* Suppress debug output for commands in host_command_suppressed */ -#undef CONFIG_SUPPRESS_HOST_COMMANDS +/* List of host commands whose debug output will be suppressed */ +#undef CONFIG_SUPPRESSED_HOST_COMMANDS /*****************************************************************************/ diff --git a/include/host_command.h b/include/host_command.h index de99a6894e..f83ffcc616 100644 --- a/include/host_command.h +++ b/include/host_command.h @@ -337,7 +337,4 @@ void host_send_sysrq(uint8_t key); uint32_t get_feature_flags0(void); uint32_t get_feature_flags1(void); -/* Used to define the end of host_command_suppressed */ -#define HOST_COMMAND_SUPPRESS_DELIMITER 0xFFFF - #endif /* __CROS_EC_HOST_COMMAND_H */ |