summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-10-04 13:20:46 +0300
committerDavid S. Miller <davem@davemloft.net>2024-10-09 14:13:11 +0300
commit0397212f930626bd584642454f5c7ad0ba0dca22 (patch)
treea431d3a1a79925f2040fbadd130e6181b8275c9a /tools/perf/scripts/python/task-analyzer.py
parente30993a9ab00464afebfcc205f00eb8a722799ee (diff)
downloadlinux-0397212f930626bd584642454f5c7ad0ba0dca22.tar.xz
net: pcs: xpcs: don't use array for interface
Currently, xpcs uses an array of interfaces that each "compat" entry supports. When looking up the compat entry for an interface, we iterate over the compat entries and then over each interface. Since each compat entry only has a single interface in its interfaces array, replace the array with a single member in the compat structure. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions