]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msgr: add ms_dump_on_send option
authorSage Weil <sage@inktank.com>
Wed, 2 Apr 2014 15:49:33 +0000 (08:49 -0700)
committerSage Weil <sage@inktank.com>
Sun, 6 Apr 2014 20:19:11 +0000 (13:19 -0700)
commit2f7522c83a35b2726e73d110ab07a25308f5ea13
tree0bd7472b88143bd2ad976d2517f30aa4e57c014e
parent87e6a62e4fbb7dcc7e173b8ffacc4cf233e3af6e
msgr: add ms_dump_on_send option

This is useful only for debugging.  The encoded contents of a message are
dumped to the log on message send.  This is useful when valgrind is
triggering warnings about uninitialized memory in messages because the
call chain will indicate which message type is to blame, whereas the
usual writer thread context does not tell us any useful information.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h
src/msg/SimpleMessenger.cc