commit | 0dc9e6dca2b32a288dcd272b4606a01fa712010c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Aug 01 11:55:57 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Aug 01 11:59:15 2022 +0200 |
tree | 62268a43f60d08f0c07c792d5f5b8a8ae9fc367b | |
parent | 87aff021dba41715d3a3e0dab9fcd685b38498da [diff] |
DEBUG: tools: provide a tree dump function for ebmbtrees as well It's convenient for debugging IP trees. However we're not dumping the full keys, for the sake of simplicity, only the 4 first bytes are dumped as a u32 hex value. In practice this is sufficient for debugging. As a reminder since it seems difficult to recover the command each time it's needed, the output is converted to an image using dot from Graphviz: dot -o a.png -Tpng dump.txt