Skip to content

Commit

Permalink
trace2:gvfs:experiment: add region to apply_virtualfilesystem()
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
  • Loading branch information
jeffhostetler authored and mjcheetham committed Jul 29, 2024
1 parent 4ee89cd commit bec8264
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions virtualfilesystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ void apply_virtualfilesystem(struct index_state *istate)
if (!git_config_get_virtualfilesystem())
return;

trace2_region_enter("vfs", "apply", the_repository);

if (!virtual_filesystem_data.len)
get_virtual_filesystem_data(&virtual_filesystem_data);

Expand Down Expand Up @@ -339,6 +341,8 @@ void apply_virtualfilesystem(struct index_state *istate)
trace2_data_intmax("vfs", the_repository, "apply/nr_bulk_skip", nr_bulk_skip);
trace2_data_intmax("vfs", the_repository, "apply/nr_explicit_skip", nr_explicit_skip);
}

trace2_region_leave("vfs", "apply", the_repository);
}

/*
Expand Down

0 comments on commit bec8264

Please sign in to comment.