diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-08-05 11:23:51 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-08-07 03:42:21 +0300 |
commit | 7901a052a981691d18f4e8f91fc27e40849b7336 (patch) | |
tree | 2d2adcd79d8a13bcafc420105918459236c223a0 /net/netrom/nr_in.c | |
parent | 93d988310bb2f5ed16ba075bbc4281aa06907e72 (diff) | |
download | linux-7901a052a981691d18f4e8f91fc27e40849b7336.tar.xz |
ACPI / sysfs: Update method tracing facility.
This patch updates the method tracing facility as the acpi_debug_trace()
API has been updated to allow it to trace AML interpreter execution, the
meanings and the usages of the API parameters are changed due to the
updates.
The new API:
1. Uses ACPI_TRACE_ENABLED flag to indicate the enabling of the tracer;
2. Allows tracer still can be enabled when method name is not specified so
that the AML interpreter execution can be traced without knowing the
method name, which is useful for kernel boot tracing;
3. Supports arbitrary full path name, it doesn't need to be a name related
to an entrance of acpi_evaluate_object().
Note that the sysfs parameters are also updated so that when reading the
attribute files, ACPICA internal settings are returned.
In order to make the sysfs parameters (acpi.trace_state) available during
boot, this patch adds code to bypass ACPICA semaphore/mutex invocations
when acpi mutex utilities haven't been initialized.
This patch doesn't update documentation of method tracing facility, it will
be updated by further patches.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/netrom/nr_in.c')
0 files changed, 0 insertions, 0 deletions