aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRoy Luo <[email protected]>2024-03-07 03:09:22 +0000
committerGreg Kroah-Hartman <[email protected]>2024-03-26 10:43:15 +0100
commit0ef40f399aa2be8c04aee9b7430705612c104ce5 (patch)
tree6e8cf6adbc6cb7cbbc3a36c0927604fb34af71a7 /tools/perf/scripts/python/task-analyzer.py
parent2f550553e23c889b54440bf05e2484d84105e48d (diff)
USB: gadget: core: create sysfs link between udc and gadget
udc device and gadget device are tightly coupled, yet there's no good way to corelate the two. Add a sysfs link in udc that points to the corresponding gadget device. An example use case: userspace configures a f_midi configfs driver and bind the udc device, then it tries to locate the corresponding midi device, which is a child device of the gadget device. The gadget device that's associated to the udc device has to be identified in order to index the midi device. Having a sysfs link would make things much easier. Signed-off-by: Roy Luo <[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions