mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ACPI: document method tracing hooks
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
4169c45f17
commit
b4d2730a0d
2 changed files with 29 additions and 0 deletions
|
@ -14,6 +14,7 @@ Following translations are available on the WWW:
|
||||||
- this file.
|
- this file.
|
||||||
ABI/
|
ABI/
|
||||||
- info on kernel <-> userspace ABI and relative interface stability.
|
- info on kernel <-> userspace ABI and relative interface stability.
|
||||||
|
|
||||||
BUG-HUNTING
|
BUG-HUNTING
|
||||||
- brute force method of doing binary search of patches to find bug.
|
- brute force method of doing binary search of patches to find bug.
|
||||||
Changes
|
Changes
|
||||||
|
@ -66,6 +67,8 @@ VGA-softcursor.txt
|
||||||
- how to change your VGA cursor from a blinking underscore.
|
- how to change your VGA cursor from a blinking underscore.
|
||||||
accounting/
|
accounting/
|
||||||
- documentation on accounting and taskstats.
|
- documentation on accounting and taskstats.
|
||||||
|
acpi/
|
||||||
|
- info on ACPI-specific hooks in the kernel.
|
||||||
aoe/
|
aoe/
|
||||||
- description of AoE (ATA over Ethernet) along with config examples.
|
- description of AoE (ATA over Ethernet) along with config examples.
|
||||||
applying-patches.txt
|
applying-patches.txt
|
||||||
|
|
26
Documentation/acpi/method-tracing.txt
Normal file
26
Documentation/acpi/method-tracing.txt
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
/sys/module/acpi/parameters/:
|
||||||
|
|
||||||
|
trace_method_name
|
||||||
|
The AML method name that the user wants to trace
|
||||||
|
|
||||||
|
trace_debug_layer
|
||||||
|
The temporary debug_layer used when tracing the method.
|
||||||
|
Using 0xffffffff by default if it is 0.
|
||||||
|
|
||||||
|
trace_debug_level
|
||||||
|
The temporary debug_level used when tracing the method.
|
||||||
|
Using 0x00ffffff by default if it is 0.
|
||||||
|
|
||||||
|
trace_state
|
||||||
|
The status of the tracing feature.
|
||||||
|
|
||||||
|
"enabled" means this feature is enabled
|
||||||
|
and the AML method is traced every time it's executed.
|
||||||
|
|
||||||
|
"1" means this feature is enabled and the AML method
|
||||||
|
will only be traced during the next execution.
|
||||||
|
|
||||||
|
"disabled" means this feature is disabled.
|
||||||
|
Users can enable/disable this debug tracing feature by
|
||||||
|
"echo string > /sys/module/acpi/parameters/trace_state".
|
||||||
|
"string" should be one of "enable", "disable" and "1".
|
Loading…
Reference in a new issue