From 84064a0bccf8cbabd54b76afee890df880c5d581 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 2 Sep 2017 17:05:04 -0400 Subject: Implement -D search --- bfs.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'bfs.h') diff --git a/bfs.h b/bfs.h index 0f782a5..97efb5d 100644 --- a/bfs.h +++ b/bfs.h @@ -63,17 +63,19 @@ typedef bool eval_fn(const struct expr *expr, struct eval_state *state); */ enum debug_flags { /** Print cost estimates. */ - DEBUG_COST = 1 << 0, + DEBUG_COST = 1 << 0, /** Print executed command details. */ - DEBUG_EXEC = 1 << 1, + DEBUG_EXEC = 1 << 1, /** Print optimization details. */ - DEBUG_OPT = 1 << 2, + DEBUG_OPT = 1 << 2, /** Print rate information. */ - DEBUG_RATES = 1 << 3, + DEBUG_RATES = 1 << 3, + /** Trace the filesystem traversal. */ + DEBUG_SEARCH = 1 << 4, /** Trace all stat() calls. */ - DEBUG_STAT = 1 << 4, + DEBUG_STAT = 1 << 5, /** Print the parse tree. */ - DEBUG_TREE = 1 << 5, + DEBUG_TREE = 1 << 6, }; /** -- cgit v1.2.3