Skip to content

Commit 016a14c

Browse files
jeffhostetlerdscho
authored andcommitted
trace2:gvfs:experiment: add region to apply_virtualfilesystem()
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
1 parent efbce4b commit 016a14c

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
@@ -263,6 +263,8 @@ void apply_virtualfilesystem(struct index_state *istate)
263263
if (!git_config_get_virtualfilesystem())
264264
return;
265265

266+
trace2_region_enter("vfs", "apply", the_repository);
267+
266268
if (!virtual_filesystem_data.len)
267269
get_virtual_filesystem_data(&virtual_filesystem_data);
268270

@@ -333,6 +335,8 @@ void apply_virtualfilesystem(struct index_state *istate)
333335
trace2_data_intmax("vfs", the_repository, "apply/nr_bulk_skip", nr_bulk_skip);
334336
trace2_data_intmax("vfs", the_repository, "apply/nr_explicit_skip", nr_explicit_skip);
335337
}
338+
339+
trace2_region_leave("vfs", "apply", the_repository);
336340
}
337341

338342
/*

0 commit comments

Comments
 (0)