aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJoanne Koong <[email protected]>2024-08-26 14:19:03 -0700
committerMiklos Szeredi <[email protected]>2024-08-29 11:43:12 +0200
commitc04e3b2118192384153b4eac595768e2ffb7ac4a (patch)
tree3bd0d904fa8e94fc44ea5020d212068791b54c4e /tools/perf/util/scripting-engines/trace-event-python.c
parent509a6458b44f72bb6854854c89cf76e56f11c9f1 (diff)
fuse: refactor finished writeback stats updates into helper function
Move the logic for updating the bdi and page stats for a finished writeback into a separate helper function, where it can be called from both fuse_writepage_finish() and fuse_writepage_add() (in the case where there is already an auxiliary write request for the page). No functional changes added. Suggested by: Jingbo Xu <[email protected]> Signed-off-by: Joanne Koong <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions