aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJialin Zhang <zhangjialin11@huawei.com>2023-08-15 10:33:03 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2023-08-25 08:39:30 +1000
commit664ec38673bef18bbcc4ede02274c8977470823f (patch)
treeae1f267d87e12a14c11cfaa6bf62d7ff00fed235 /tools/perf/scripts/python
parent50832720ec54c39ab189cd5e057aec1c514978ce (diff)
powerpc/eeh: 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 mannually. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230815023303.3515503-1-zhangjialin11@huawei.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions