aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2024-10-25 13:24:55 +0530
committerKrzysztof Wilczyński <[email protected]>2024-11-21 16:01:20 +0000
commit681725afb6b91dfa581f4eba5f256ac5e953b463 (patch)
tree376bb77a20c02df2236fdc70b5b5fbef0cbde45d /tools/perf/scripts/python/flamegraph.py
parentb458ff7e8176523b9d5a8d33f2487f29d7096eb1 (diff)
PCI/pwrctl: Remove pwrctl device without iterating over all children of pwrctl parent
There is no need to iterate over all children of the pwrctl device parent to remove the pwrctl device. Since the pwrctl device associated with the PCI device can be found using of_find_device_by_node() API, use it directly instead. Any pwrctl devices lying around without getting associated with the PCI devices will be removed once their parent device gets removed. Link: https://lore.kernel.org/r/[email protected] Tested-by: Bartosz Golaszewski <[email protected]> Tested-by: Krishna chaitanya chundru <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> [bhelgaas: commit log] Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions