aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2016-02-15 08:32:33 -0800
committerDarren Hart <[email protected]>2016-03-23 10:05:44 -0700
commit18b6f80f5095036bd2204c54c89a5a0f5a785e3d (patch)
treede5e85f413d4c0a5eadf0dd9e2251abbd74c2b01 /tools/perf/scripts/python/event_analyzing_sample.py
parent0c41a08e131d753af48ae6f052aed8d530b9c976 (diff)
dell-wmi: Stop storing pointers to DMI tables
The dmi_walk function maps the DMI table, walks it, and unmaps it. This means that the dell_bios_hotkey_table that find_hk_type stores points to unmapped memory by the time it gets read. I've been able to trigger crashes caused by the stale pointer a couple of times, but never on a stock kernel. Fix it by generating the keymap in the dmi_walk callback instead of storing a pointer. Signed-off-by: Andy Lutomirski <[email protected]> Acked-by: Pali Rohár <[email protected]> Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions