diff options
author | Tyrel Datwyler <[email protected]> | 2013-08-14 22:23:52 -0700 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2013-08-27 14:45:16 +1000 |
commit | 5935ff4343a689fbb382d64408bc6955c6589830 (patch) | |
tree | 4f56074bb231126945315d94e2ad68b03a1ca1fa /tools/perf/util/trace-event-scripting.c | |
parent | 14cd820a2a45a1f7b216c6ca9104c91d52564fbf (diff) |
powerpc/pseries: Child nodes are not detached by dlpar_detach_node
Calls to dlpar_detach_node do not iterate over child nodes detaching them as
well. By iterating and detaching the child nodes we ensure that they have the
OF_DETACHED flag set and that their reference counts are decremented such that
the node will be freed from memory by of_node_release.
Signed-off-by: Tyrel Datwyler <[email protected]>
Acked-by: Nathan Fontenot <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions