summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJialin Zhang <zhangjialin11@huawei.com>2023-08-15 05:33:03 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-08-25 01:39:30 +0300
commit664ec38673bef18bbcc4ede02274c8977470823f (patch)
treeae1f267d87e12a14c11cfaa6bf62d7ff00fed235 /tools/perf/scripts/python/exported-sql-viewer.py
parent50832720ec54c39ab189cd5e057aec1c514978ce (diff)
downloadlinux-664ec38673bef18bbcc4ede02274c8977470823f.tar.xz
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions