Skip to content

Commit c1e7a38

Browse files
jeffhostetlerdscho
authored andcommitted
gvfs:trace2:data: status serialization
Add trace information around status serialization. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
1 parent dc2a957 commit c1e7a38

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wt-status-serialize.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "trace.h"
88
#include "read-cache-ll.h"
99
#include "path.h"
10+
#include "trace2.h"
1011

1112
static struct trace_key trace_serialize = TRACE_KEY_INIT(SERIALIZE);
1213

@@ -303,6 +304,8 @@ void wt_status_serialize_v1(int fd, struct wt_status *s)
303304
struct string_list_item *iter;
304305
int k;
305306

307+
trace2_region_enter("status", "serialize", the_repository);
308+
306309
/*
307310
* version header must be first line.
308311
*/
@@ -336,4 +339,6 @@ void wt_status_serialize_v1(int fd, struct wt_status *s)
336339
}
337340
packet_flush(fd);
338341
}
342+
343+
trace2_region_leave("status", "serialize", the_repository);
339344
}

0 commit comments

Comments
 (0)