diff options
author | Colin King <[email protected]> | 2010-11-19 15:40:02 +0000 |
---|---|---|
committer | Matthew Garrett <[email protected]> | 2011-01-07 17:03:41 -0500 |
commit | 58f6425eb92f54943878b0b3f9c1e51f99c2cb72 (patch) | |
tree | aa4a5083adbf03561b9aee2d36129e0e7a5e2aa9 /tools/perf/util/trace-event-scripting.c | |
parent | 3098064d3b4a9bf9d2855b2a89599ad77695e324 (diff) |
WMI: Cater for multiple events with same GUID
WMI data blocks can contain WMI events with the same GUID but with
different notifiy_ids, for example volume up/down hotkeys.
This patch enables a single event handler to be registered and
unregistered against all events with same GUID but different
notify_ids. Since an event handler is passed the notify_id of
an event it can can differentiate between the different events.
The patch also ensures we only register and unregister a device per
unique GUID.
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions