diff options
| author | Zheng Zengkai <[email protected]> | 2023-08-11 18:20:39 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-08-16 23:54:47 +1000 |
| commit | 075a88d5eb2806712c64bed98c30b6890ec30311 (patch) | |
| tree | dff505c26e0a1a3ca74b5f46b9c3ebfacb91ec59 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cd50430ceb3598957803934068531a274349bcf9 (diff) | |
ocxl: 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: Zheng Zengkai <[email protected]>
Acked-by: Andrew Donnellan <[email protected]>
Acked-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