diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-10-31 09:30:28 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-31 14:37:33 +0100 |
commit | 9187a415fd119c1d89a5ad2fd05513cd43699ebf (patch) | |
tree | 7f6c80246b49b42b8ae119c090b595c9754f3341 /include/acpi/actypes.h | |
parent | fa5f508f942faaf73ae5020db7a4189d5ca88d2a (diff) | |
download | linux-stable-9187a415fd119c1d89a5ad2fd05513cd43699ebf.tar.gz linux-stable-9187a415fd119c1d89a5ad2fd05513cd43699ebf.tar.bz2 linux-stable-9187a415fd119c1d89a5ad2fd05513cd43699ebf.zip |
ACPICA: Add new statistics interface.
This patch ports new counters and statistics interface, already
implemented in ACPICA upstream, to Linux. That helps to reduce
source code differences between Linux and ACPICA upstream.
[rjw: Changelog]
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/actypes.h')
-rw-r--r-- | include/acpi/actypes.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 8614bc139113..0e32b6cab6e6 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h @@ -973,6 +973,16 @@ struct acpi_system_info { u32 debug_layer; }; +/* + * System statistics returned by acpi_get_statistics() + */ +struct acpi_statistics { + u32 sci_count; + u32 gpe_count; + u32 fixed_event_count[ACPI_NUM_FIXED_EVENTS]; + u32 method_count; +}; + /* Table Event Types */ #define ACPI_TABLE_EVENT_LOAD 0x0 |