commit | 072931cdcbe29e4b4abe525831641cd44a0481c3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Aug 27 11:55:39 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Aug 27 17:14:19 2019 +0200 |
tree | caa64ed6eed6de0c38dc3ca874825a4a7c33643b | |
parent | be97853c2f9f5d93a0724941034cefcdbf77ebac [diff] |
MINOR: ring: add a generic CLI io_handler to dump a ring buffer The three functions (attach, IO handler, and release) are meant to be called by any CLI command which requires to dump the contents of a ring buffer. We do not implement anything generic to dump any ring buffer on the CLI since it's meant to be used by other functionalities above. However these functions deal with locking and everything so it's trivial to embed them in other code.