aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorXiongfeng Wang <[email protected]>2023-08-04 16:04:35 +0800
committerMichael Ellerman <[email protected]>2023-08-16 23:54:48 +1000
commitfe8aa8e3379326ecb77203cae50e8e83c054aedc (patch)
tree5633aae25e261fac053dcc3af58742cbc35a26cc /tools/perf/scripts/python/stackcollapse.py
parent984b07b428994d9e83c6de9a5f1307948188fe71 (diff)
powerpc/powernv/pci: 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: Xiongfeng Wang <[email protected]> Reviewed-by: Frederic Barrat <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions