aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZheng Zengkai <[email protected]>2023-08-11 19:06:58 +0800
committerDavid S. Miller <[email protected]>2023-08-13 12:30:39 +0100
commitfcbb797458e123b3f304606199ded27b042118b1 (patch)
tree6c3279f72f9e5ed66f48689488f318d4ce058ac3 /tools/perf/scripts/python/task-analyzer.py
parent2045b3938ffad5bc986f68b9bb44acb188c73792 (diff)
et131x: Use pci_dev_id() to simplify the code
PCI core API pci_dev_id() can be used to get the BDF number for a pci device. We don't need to compose it manually. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Zheng Zengkai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions