aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2023-04-11 19:00:10 -0700
committerDarrick J. Wong <[email protected]>2023-04-11 19:00:10 -0700
commitbd7e795108ccd8d0f3dc34e16957cbba7e89f342 (patch)
tree626a73a314584b8b417c3cbee096536c0e1c9f7e /tools/perf/scripts/python/Perf-Trace-Util/lib
parentee5fe8ff6d19b35e7547af789cba877dbf04517b (diff)
xfs: refactor ->diff_two_keys callsites
Create wrapper functions around ->diff_two_keys so that we don't have to remember what the return values mean, and adjust some of the code comments to reflect the longtime code behavior. We're going to introduce more uses of ->diff_two_keys in the next patch, so reduce the cognitive load for readers by doing this refactoring now. Suggested-by: Dave Chinner <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions