aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorTyler Hicks <[email protected]>2022-05-26 19:00:01 -0500
committerDominique Martinet <[email protected]>2022-07-02 18:52:21 +0900
commitc58c72d301d3d16ba1167d56417af39761829030 (patch)
tree8117c84e87e8f6167eb1137e230dc8782f641626 /tools/perf/scripts/python/bin/stackcollapse-record
parentcba83f47fc0ef52638870890e9e352afcc56dd73 (diff)
9p: Make the path walk logic more clear about when cloning is required
Cloning during a path component walk is only needed when the old fid used for the walk operation is the root fid. Make that clear by comparing the two fids rather than using an additional variable. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Tyler Hicks <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions