зеркало из https://github.com/microsoft/git.git
trace2:gvfs:experiment: add region around unpack_trees()
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
This commit is contained in:
Родитель
f7d85559da
Коммит
a279272533
|
@ -1889,6 +1889,8 @@ int unpack_trees(unsigned len, struct tree_desc *t, struct unpack_trees_options
|
|||
if (o->dir)
|
||||
BUG("o->dir is for internal use only");
|
||||
|
||||
trace2_region_enter("exp", "unpack_trees", NULL);
|
||||
|
||||
trace_performance_enter();
|
||||
trace2_region_enter("unpack_trees", "unpack_trees", the_repository);
|
||||
|
||||
|
@ -2089,6 +2091,7 @@ done:
|
|||
}
|
||||
trace2_region_leave("unpack_trees", "unpack_trees", the_repository);
|
||||
trace_performance_leave("unpack_trees");
|
||||
trace2_region_leave("exp", "unpack_trees", NULL);
|
||||
return ret;
|
||||
|
||||
return_failed:
|
||||
|
|
Загрузка…
Ссылка в новой задаче