[libvirt] [PATCH 5/6] Add an an internal API for emergency dump of debug buffer
Daniel Veillard
veillard at redhat.com
Fri Mar 4 10:30:56 UTC 2011
virLogEmergencyDumpAll() allows to dump the content of the
debug buffer from within a signal handler. It saves to all
log file or stderr if none is found
* src/util/logging.h src/util/logging.c: add the new API
and cleanup the old virLogDump code
* src/libvirt_private.syms: exports it as a private symbol
Signed-off-by: Daniel Veillard <veillard at redhat.com>
---
src/libvirt_private.syms | 1 +
src/util/logging.c | 87 +++++++++++++++++++++++++++------------------
src/util/logging.h | 2 +-
3 files changed, 54 insertions(+), 36 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Add-an-an-internal-API-for-emergency-dump-of-debug-b.patch
Type: text/x-patch
Size: 4387 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110304/d7af89c1/attachment-0001.bin>
More information about the libvir-list
mailing list