diff options
author | Lv Zheng <lv.zheng@intel.com> | 2017-06-14 08:59:18 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-28 03:28:22 +0300 |
commit | 4625d752e600c116e6327f9d7fc16e8f5be107e9 (patch) | |
tree | 5472e436016c950da31f7817b7584a73977cf974 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 1ab69f27cbb57e0f970bcd852d9f22ed34259b57 (diff) | |
download | linux-4625d752e600c116e6327f9d7fc16e8f5be107e9.tar.xz |
ACPI: EC: Fix EC command visibility for dynamic debug
acpi_ec_cmd_string() currently is only enabled for "DEBUG" macro, but users
trend to use CONFIG_DYNAMIC_DEBUG and enable ec.c pr_debug() print-outs by
"dyndbg='file ec.c +p'". In this use case, all command names are turned
into UNDEF and the log is confusing. This affects bugzilla triage work.
This patch fixes this issue by enabling acpi_ec_cmd_string() for
CONFIG_DYNAMIC_DEBUG.
Tested-by: Wang Wendy <wendy.wang@intel.com>
Tested-by: Feng Chenzhou <chenzhoux.feng@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions