Changes since v7: [04]: Fixed -Wextra compiler warnings, thanks to Ramsay Jones. [11]: Added #ifndef TRACE_CONTEXT, explained why __FILE__ ":" __FUNCTION__ doesn't work. [17]: New Documentation/technical/api-trace.txt Karsten Blees (17): trace: move trace declarations from cache.h to new trace.h trace: consistently name the format parameter trace: remove redundant printf format attribute trace: improve trace performance Documentation/git.txt: improve documentation of 'GIT_TRACE*' variables sha1_file: change GIT_TRACE_PACK_ACCESS logging to use trace API trace: add infrastructure to augment trace output with additional info trace: disable additional trace output for unit tests trace: add current timestamp to all trace output trace: move code around, in preparation to file:line output trace: add 'file:line' to all trace output trace: add high resolution timer function to debug performance issues trace: add trace_performance facility to debug performance issues git: add performance tracing for git's main() function to debug scripts wt-status: simplify performance measurement by using getnanotime() progress: simplify performance measurement by using getnanotime() api-trace.txt: add trace API documentation Documentation/git.txt | 59 ++++-- Documentation/technical/api-trace.txt | 97 +++++++++ Makefile | 7 + builtin/receive-pack.c | 2 +- cache.h | 13 +- commit.h | 1 + config.mak.uname | 1 + git-compat-util.h | 4 + git.c | 2 + pkt-line.c | 8 +- progress.c | 71 +++---- sha1_file.c | 30 +-- shallow.c | 10 +- t/test-lib.sh | 4 + trace.c | 369 ++++++++++++++++++++++++++++------ trace.h | 113 +++++++++++ wt-status.c | 14 +- 17 files changed, 629 insertions(+), 176 deletions(-) create mode 100644 Documentation/technical/api-trace.txt create mode 100644 trace.h -- 2.0.0.406.g2e9ef9b -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html