aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJialin Zhang <[email protected]>2023-08-15 10:42:48 +0800
committerJakub Kicinski <[email protected]>2023-08-17 19:13:09 -0700
commita5e5b2cd47bc7ac853b3ae9d4af97d08caaf585d (patch)
tree879158e5679ca0d385c86ceca9511f5c17df825f /tools/perf/scripts/python/event_analyzing_sample.py
parentb2f8323364abf1b6fcd828851ea8be2f757c052a (diff)
net: ena: 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: Jialin Zhang <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Reviewed-by: Shay Agroskin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions