зеркало из https://github.com/microsoft/git.git
gvfs:trace2:data: status serialization
Add trace information around status serialization. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
This commit is contained in:
Родитель
a64d037a8e
Коммит
d9948c9b96
|
@ -7,6 +7,7 @@
|
|||
#include "trace.h"
|
||||
#include "read-cache-ll.h"
|
||||
#include "path.h"
|
||||
#include "trace2.h"
|
||||
|
||||
static struct trace_key trace_serialize = TRACE_KEY_INIT(SERIALIZE);
|
||||
|
||||
|
@ -303,6 +304,8 @@ void wt_status_serialize_v1(int fd, struct wt_status *s)
|
|||
struct string_list_item *iter;
|
||||
int k;
|
||||
|
||||
trace2_region_enter("status", "serialize", the_repository);
|
||||
|
||||
/*
|
||||
* version header must be first line.
|
||||
*/
|
||||
|
@ -336,4 +339,6 @@ void wt_status_serialize_v1(int fd, struct wt_status *s)
|
|||
}
|
||||
packet_flush(fd);
|
||||
}
|
||||
|
||||
trace2_region_leave("status", "serialize", the_repository);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче