From 381baeef7aa4f2c8758a9910ebb97af46c0dd7eb Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 13 May 2013 01:30:24 -0400 Subject: Add new --trace[=MODE] flags, with --trace=dir This mode replaces the previous heuristic setting enabled with -O, where we would log directory enter/leave for each synchronized output. Now we only do that if --trace=dir is given. --- makeint.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'makeint.h') diff --git a/makeint.h b/makeint.h index 6bff07a..ae7e813 100644 --- a/makeint.h +++ b/makeint.h @@ -544,6 +544,10 @@ int strncasecmp (const char *s1, const char *s2, int n); #define OUTPUT_SYNC_TARGET 2 #define OUTPUT_SYNC_RECURSE 3 +#define TRACE_NONE 0x0 +#define TRACE_RULE 0x1 +#define TRACE_DIRECTORY 0x2 + extern const gmk_floc *reading_file; extern const gmk_floc **expanding_var; -- cgit v1.2.3