summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-12-16 19:56:18 +0200
committerBjorn Helgaas <bhelgaas@google.com>2025-02-18 15:40:53 -0600
commit9b54578bc0323e3d4c66c37eb568ecc132fb56b5 (patch)
treeae852290fa787f3ee4f9bca8fa80ee3e63e99f13 /tools/perf/scripts/python/export-to-postgresql.py
parente4728eed24a32f275106c498669a9d3177f9611e (diff)
PCI: Add dev & res local variables to resource assignment funcs
Many PCI resource allocation related functions process struct pci_dev_resource items which hold the struct pci_dev and resource pointers. Reduce the number of lines that need indirection by adding 'dev' and 'res' local variable to hold the pointers. Link: https://lore.kernel.org/r/20241216175632.4175-12-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Tested-by: Xiaochun Lee <lixc17@lenovo.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions