Skip to content

Commit 4f1fe1b

Browse files
committed
trace2:gvfs:experiment: add region to apply_virtualfilesystem()
Signed-off-by: Jeff Hostetler <[email protected]>
1 parent e703eda commit 4f1fe1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

virtualfilesystem.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ void apply_virtualfilesystem(struct index_state *istate)
259259
if (!git_config_get_virtualfilesystem())
260260
return;
261261

262+
trace2_region_enter("vfs", "apply", the_repository);
263+
262264
if (!virtual_filesystem_data.len)
263265
get_virtual_filesystem_data(&virtual_filesystem_data);
264266

@@ -329,6 +331,8 @@ void apply_virtualfilesystem(struct index_state *istate)
329331
trace2_data_intmax("vfs", the_repository, "apply/nr_bulk_skip", nr_bulk_skip);
330332
trace2_data_intmax("vfs", the_repository, "apply/nr_explicit_skip", nr_explicit_skip);
331333
}
334+
335+
trace2_region_leave("vfs", "apply", the_repository);
332336
}
333337

334338
/*

0 commit comments

Comments
 (0)