Documentation/acpi/method-tracing.txt

来源:互联网 发布:类似360软件管家 编辑:程序博客网 时间:2024/05/07 13:38

Chinese translated version of Documentation/acpi/method-tracing.txt

 

If you have any comment or update to the content, please contact the

original document maintainer directly.  However, if you have a problem

communicating in English you can also ask the Chinese maintainer for

help.  Contact the Chinese maintainer if this translation is outdated

or if there is a problem with the translation.

Chinese maintainer: 屠鹏  285585997@qq.com

---------------------------------------------------------------------

Documentation/acpi/method-tracing.txt的中文翻译

如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文

交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻

译存在问题,请联系中文版维护者。

中文版维护者: 屠鹏  285585997@qq.com

中文版翻译者: 屠鹏  285585997@qq.com

中文版校译者: 屠鹏  285585997@qq.com

 

以下为正文

---------------------------------------------------------------------

/sys/module/acpi/parameters/:

 

trace_method_name

The AML method name that the user wants to trace

用户想要跟踪的AML方法名称

trace_debug_layer

The temporary debug_layer used when tracing the method.

临时调试层时使用的跟踪方法。

Using 0xffffffff by default if it is 0.

如果是0,默认情况下使用0xffffffff 

trace_debug_level

The temporary debug_level used when tracing the method.

临时调试水平时使用的跟踪方法。

Using 0x00ffffff by default if it is 0. 

如果是0,默认情况下使用0x00ffffff 

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.

AML方法追踪每一次它的执行。

"1" means this feature is enabled and the AML method

“1”指启用此特性和AML的方法

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".

用户可以通过"echo string > /sys/module/acpi/parameters/trace_state"启用/禁用这个调试跟踪功能

字符串应该是启用禁用“1”当中之一

原创粉丝点击