зеркало из 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:
Родитель
be6911990d
Коммит
0291f87390
|
@ -6,6 +6,7 @@
|
|||
#include "wt-status.h"
|
||||
#include "pkt-line.h"
|
||||
#include "trace.h"
|
||||
#include "trace2.h"
|
||||
|
||||
static struct trace_key trace_serialize = TRACE_KEY_INIT(SERIALIZE);
|
||||
|
||||
|
@ -302,6 +303,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.
|
||||
*/
|
||||
|
@ -335,4 +338,6 @@ void wt_status_serialize_v1(int fd, struct wt_status *s)
|
|||
}
|
||||
packet_flush(fd);
|
||||
}
|
||||
|
||||
trace2_region_leave("status", "serialize", the_repository);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче