diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-09-02 17:05:04 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-09-02 17:05:04 -0400 |
commit | 84064a0bccf8cbabd54b76afee890df880c5d581 (patch) | |
tree | dc2f9a99cf197afc87a4e2da4582969072c2c688 /bfs.h | |
parent | 2741f580ffb6a05f52f0e2b05fa77ff3a15d967f (diff) | |
download | bfs-84064a0bccf8cbabd54b76afee890df880c5d581.tar.xz |
Implement -D search
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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, }; /** |