diff options
-rw-r--r-- | builtin/gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/gc.c b/builtin/gc.c index 4db853c561..090959350e 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -927,10 +927,12 @@ static int maintenance_run_tasks(struct maintenance_run_opts *opts) !tasks[i].auto_condition())) continue; + trace2_region_enter("maintenance", tasks[i].name, r); if (tasks[i].fn(opts)) { error(_("task '%s' failed"), tasks[i].name); result = 1; } + trace2_region_leave("maintenance", tasks[i].name, r); } rollback_lock_file(&lk); |