aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-01-12 12:42:42 -0800
committerTakashi Iwai <tiwai@suse.de>2015-01-12 22:24:01 +0100
commita23a8bff1535ddf2f7b9f358f3eb47973d757c54 (patch)
tree64b379b32a3b0f33fca21b8ec1296d6a9873f2ae /tools/perf/scripts/python/call-graph-from-postgresql.py
parentstaging: line6: Index properties array with device type (diff)
downloadwireguard-linux-a23a8bff1535ddf2f7b9f358f3eb47973d757c54.tar.xz
wireguard-linux-a23a8bff1535ddf2f7b9f358f3eb47973d757c54.zip
staging: line6: Key off of device type
The driver currently uses the device's idProduct as input to several switch statements. In some cases this is not sufficiently granular and the interface number must be taken into account. Store the device type in `usb_line6' and key off of it instead. New types can then be added that map to specific interfaces on the device so that this conditional logic can be flattened out. Signed-off-by: Chris Rorvick <chris@rorvick.com> Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions