aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2024-09-13 06:31:28 +0000
committerAndrew Morton <[email protected]>2024-11-06 20:11:13 -0800
commit0cc8d68abe2fdcb7039ece95f784698c0b0dc51e (patch)
tree60d085a3b921ba09b0d481fda0a79740c6bf70d5 /tools/perf/scripts/python/stat-cpi.py
parent0f85eb3395c74d7cc823169bbacc670c6645ae80 (diff)
maple_tree: root node could be handled by !p_slot too
For a root node, mte_parent_slot() return 0, this exactly fits the following !p_slot check. So we can remove the special handling for root node. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Wei Yang <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions