summaryrefslogtreecommitdiff
path: root/trace2.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-04-04 10:56:23 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-04-04 10:56:23 -0700
commitfe496dc5b9b527a85d381a3fc8e5f2fda9439842 (patch)
tree86aaf60c13375db007b695c41f8053783cf892d2 /trace2.c
parentMerge branch 'gc/branch-recurse-submodules-fix' (diff)
parenttrace2: add stats for fsync operations (diff)
downloadtgif-fe496dc5b9b527a85d381a3fc8e5f2fda9439842.tar.xz
Merge branch 'ns/trace2-fsync-stat'
Trace2 code has been taught to report stats for fsync operations. * ns/trace2-fsync-stat: trace2: add stats for fsync operations
Diffstat (limited to 'trace2.c')
-rw-r--r--trace2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace2.c b/trace2.c
index 179caa72cf..e01cf77f1a 100644
--- a/trace2.c
+++ b/trace2.c
@@ -214,6 +214,7 @@ int trace2_cmd_exit_fl(const char *file, int line, int code)
if (!trace2_enabled)
return code;
+ trace_git_fsync_stats();
trace2_collect_process_info(TRACE2_PROCESS_INFO_EXIT);
tr2main_exit_code = code;