aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2023-04-20 23:17:35 +0200
committerGreg Kroah-Hartman <[email protected]>2023-05-31 20:35:21 +0100
commitb866e7e7f995e14500d316a2e70977dee48cf690 (patch)
tree5b74128dfdab8c59f67f2dbc51518b5ad946cde1 /tools/perf/scripts/python/bin/flamegraph-record
parentca3222ac4477250f74bcb324652e92563d606439 (diff)
misc: sram: Generate unique names for subpools
The current code will, if we do not specify unique labels for the SRAM subnodes, fail to register several nodes named the same. Example: sram@40020000 { (...) sram@0 { (...) }; sram@1000 { (...) }; }; Since the child->name in both cases will be "sram" the gen_pool_create() will fail because the name is not unique. Use dev_name() for the device as this will have bus ID set to the fully translated address for the node, and that will always be unique. Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions