Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: document method tracing hooks

Signed-off-by: Len Brown <len.brown@intel.com>

Len Brown b4d2730a 4169c45f

+29
+3
Documentation/00-INDEX
··· 14 14 - this file. 15 15 ABI/ 16 16 - info on kernel <-> userspace ABI and relative interface stability. 17 + 17 18 BUG-HUNTING 18 19 - brute force method of doing binary search of patches to find bug. 19 20 Changes ··· 67 66 - how to change your VGA cursor from a blinking underscore. 68 67 accounting/ 69 68 - documentation on accounting and taskstats. 69 + acpi/ 70 + - info on ACPI-specific hooks in the kernel. 70 71 aoe/ 71 72 - description of AoE (ATA over Ethernet) along with config examples. 72 73 applying-patches.txt
+26
Documentation/acpi/method-tracing.txt
··· 1 + /sys/module/acpi/parameters/: 2 + 3 + trace_method_name 4 + The AML method name that the user wants to trace 5 + 6 + trace_debug_layer 7 + The temporary debug_layer used when tracing the method. 8 + Using 0xffffffff by default if it is 0. 9 + 10 + trace_debug_level 11 + The temporary debug_level used when tracing the method. 12 + Using 0x00ffffff by default if it is 0. 13 + 14 + trace_state 15 + The status of the tracing feature. 16 + 17 + "enabled" means this feature is enabled 18 + and the AML method is traced every time it's executed. 19 + 20 + "1" means this feature is enabled and the AML method 21 + will only be traced during the next execution. 22 + 23 + "disabled" means this feature is disabled. 24 + Users can enable/disable this debug tracing feature by 25 + "echo string > /sys/module/acpi/parameters/trace_state". 26 + "string" should be one of "enable", "disable" and "1".