aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2018-07-30 10:18:37 -0600
committerBjorn Helgaas <[email protected]>2018-08-09 16:23:06 -0500
commit07d8d7e57c28ca9a07dab4efd75dad3a654aeb85 (patch)
tree53592de54320ccabbfd94f043769cc3881ad0b41 /tools/perf/scripts/python/export-to-postgresql.py
parentbd2e9567db72e37f7f4b90faa5133bc7365b5f65 (diff)
PCI: Make specifying PCI devices in kernel parameters reusable
Separate out the code to match a PCI device with a string (typically originating from a kernel parameter) from the pci_specified_resource_alignment() function into its own helper function. While we are at it, this change fixes the kernel style of the function (fixing a number of long lines and extra parentheses). Additionally, make the analogous change to the kernel parameter documentation: Separate the description of how to specify a PCI device into its own section at the head of the "pci=" parameter. This patch should have no functional alterations. Signed-off-by: Logan Gunthorpe <[email protected]> [bhelgaas: use "device" instead of "slot" in documentation since that's the usual language in the PCI specs] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Stephen Bates <[email protected]> Reviewed-by: Alex Williamson <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions