aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-01-17 08:45:08 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-03-13 21:09:12 -0400
commit9deed3ebca244663530782631834e706a86a8c8f (patch)
tree0585a8e9a7e7588266c4d6a725177fb073bad933 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentea936aeb3ead0551945c85ff7a7d77d9a7259664 (diff)
new helper: traverse_mounts()
common guts of follow_down() and follow_managed() taken to a new helper - traverse_mounts(). The remnants of follow_managed() are folded into its sole remaining caller (handle_mounts()). Calling conventions of handle_mounts() slightly sanitized - instead of the weird "1 for success, -E... for failure" that used to be imposed by the calling conventions of walk_component() et.al. we can use the normal "0 for success, -E... for failure". Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions