diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-19 23:24:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-19 23:24:12 -0700 |
commit | 0d7f242110dc71666780a85fca14fbc8223879d4 (patch) | |
tree | 3154b4ef00a4b665f7b1dc94be1fa313c8db58cd /cache.h | |
parent | dc7f96f1f4a071150d2c817e6ca72ecfb7edd72d (diff) | |
parent | 7e2342d0987f7f78bc8582e97bbfbafd80d327ef (diff) | |
download | git-0d7f242110dc71666780a85fca14fbc8223879d4.tar.gz git-0d7f242110dc71666780a85fca14fbc8223879d4.tar.xz |
Merge branch 'jk/trace-sifter'
* jk/trace-sifter:
trace: give repo_setup trace its own key
add packet tracing debug code
trace: add trace_strbuf
trace: factor out "do we want to trace" logic
trace: refactor to support multiple env variables
trace: add trace_vprintf
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1083,9 +1083,14 @@ extern void alloc_report(void); /* trace.c */ __attribute__((format (printf, 1, 2))) extern void trace_printf(const char *format, ...); +extern void trace_vprintf(const char *key, const char *format, va_list ap); __attribute__((format (printf, 2, 3))) extern void trace_argv_printf(const char **argv, const char *format, ...); extern void trace_repo_setup(const char *prefix); +extern int trace_want(const char *key); +extern void trace_strbuf(const char *key, const struct strbuf *buf); + +void packet_trace_identity(const char *prog); /* convert.c */ /* returns 1 if *dst was used */ |