MCPcopy Create free account
hub / github.com/git/git / trace_strbuf_fl

Function trace_strbuf_fl

trace.c:177–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void trace_strbuf_fl(const char *file, int line, struct trace_key *key,
178 const struct strbuf *data)
179{
180 struct strbuf buf = STRBUF_INIT;
181
182 if (!prepare_trace_line(file, line, key, &buf))
183 return;
184
185 strbuf_addbuf(&buf, data);
186 print_trace_line(key, &buf);
187 strbuf_release(&buf);
188}
189
190static uint64_t perf_start_times[10];
191static int perf_indent;

Callers

nothing calls this directly

Calls 4

prepare_trace_lineFunction · 0.85
strbuf_addbufFunction · 0.85
print_trace_lineFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected