summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>2017-08-29 08:11:51 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-31 14:26:40 +1000
commitf9df74dfce542ad2aea2e601ef1a1281e01fad6a (patch)
treecdb7211e8e7351715492b86003a9f891e6bd7036 /tools/perf/scripts/python/export-to-postgresql.py
parent22259a6e800cdb8e06e65432fcd019983214be0c (diff)
powerpc/kernel: Change retrieval of pci_dn
For a PCI device it's pci_dn can be retrieved from pdev->dev.archdata.firmware_data, PCI_DN(devnode), or parent's list. Thus, we should just use the existing function pci_get_pdn_by_devfn to get the pci_dn. Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com> Reviewed-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions