aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-05 23:39:20 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-05 23:39:20 +0200
commit89ec2f2ee104970329139e6526a075113c92f650 (patch)
treefd362576d9a9a1b16d6f12df9c595734cb89b6f9 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'pm-cpufreq' (diff)
downloadlinux-dev-89ec2f2ee104970329139e6526a075113c92f650.tar.xz
linux-dev-89ec2f2ee104970329139e6526a075113c92f650.zip
ACPI / hotplug / PCI: Don't trim devices before scanning the namespace
In acpiphp_bus_add() we first remove device objects corresponding to the given handle and the ACPI namespace branch below it, which are then re-created by acpi_bus_scan(). This used to be done to clean up after surprise removals, but now we do the cleanup through trim_stale_devices() which checks if the devices in question are actually gone before removing them, so the device hierarchy trimming in acpiphp_bus_add() is not necessary any more and, moreover, it may lead to problems if it removes device objects corresponding to devices that are actually present. For this reason, remove the leftover acpiphp_bus_trim() from acpiphp_bus_add(). Reported-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions