aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <[email protected]>2021-05-31 14:22:22 +0200
committerGreg Kroah-Hartman <[email protected]>2021-06-03 13:55:00 +0200
commita8534cb092d7c19ab5ce9f2cd3f7fc1385a73664 (patch)
tree8e4afd4b9e31d625a1fcdc35c09eb2976eed5736 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent309f5d7944627bd61550c880833a3e9c543018bb (diff)
usb: phy: introduce usb_phy device type with its own uevent handler
The USB charger type and status was already propagated to userspace through kobject_uevent_env during charger notify work. Nevertheless the uevent could be lost e.g. because it could be fired at an early kernel boot stage, way before udev daemon or any other user-space app was able to catch it. Registering uevent hook for introduced usb_phy_dev_type will allow to query sysfs 'uevent' file to restore that information at any time. Reviewed-by: Peter Chen <[email protected]> Signed-off-by: Grzegorz Jaszczyk <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions