aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAshwin Chaugule <[email protected]>2014-11-26 22:01:13 +0800
committerRafael J. Wysocki <[email protected]>2014-11-27 02:06:17 +0100
commitf08bb472bff3c0397fb7d6f47bc5cec41dad76e3 (patch)
treed1e3c7a64a591f9f1c6fa14c38b2d0b595583654 /tools/perf/scripts/python
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9 (diff)
ACPI / table: Add new function to get table entries
The acpi_table_parse() function has a callback that passes a pointer to a table_header. Add a new function which takes this pointer and parses its entries. This eliminates the need to re-traverse all the tables for each call. e.g. as in acpi_table_parse_madt() which is normally called after acpi_table_parse(). Acked-by: Grant Likely <[email protected]> Signed-off-by: Ashwin Chaugule <[email protected]> Signed-off-by: Tomasz Nowicki <[email protected]> Signed-off-by: Hanjun Guo <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions