ACPICA: Dispatcher: Move stack traversal code to dispatcher
authorLv Zheng <lv.zheng@intel.com>
Thu, 23 Jul 2015 04:52:46 +0000 (12:52 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Jul 2015 21:09:06 +0000 (23:09 +0200)
commit0bac4295526c67e87ec24b29762140c38de7c86a
tree7bb435cab7d15dae1b193465c3f5091077a9b6dc
parentd1e7ffe50ba588ddf7de520990815c37f31776d8
ACPICA: Dispatcher: Move stack traversal code to dispatcher

ACPICA commit c8275e243b58fd4adfc0362bd704af41ed14bc75

This patch moves parts of acpi_dm_dump_method_info() to the dispatcher
component.

This patch also makes the new function dependent on ACPI_DEBUG_OUTPUT
compile-stage definition so that it can be used by the trace facility.

acpi_dm_dump_method_info() traverses method stack when an exception is
encountered. Such traversal is needed to support method tracing for the
exceptions. When an exception is encountered, the end indications of the
aborted methods should be logged in order not to break the user space
analysis tool. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/c8275e24
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/Makefile
drivers/acpi/acpica/acdispat.h
drivers/acpi/acpica/dsdebug.c [new file with mode: 0644]
drivers/acpi/acpica/dsmethod.c