]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add an an internal API for emergency dump of debug buffer
authorDaniel Veillard <veillard@redhat.com>
Thu, 3 Mar 2011 08:32:18 +0000 (16:32 +0800)
committerDaniel Veillard <veillard@redhat.com>
Fri, 4 Mar 2011 14:43:55 +0000 (22:43 +0800)
commit398553c157995f9f5b9f361396ea80312b1017f8
treeded7b1734310cd24f6f509e047ecd0e786628988
parent35708ec151466c25bed427fcdd6071160c6cb707
Add an an internal API for emergency dump of debug buffer

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
src/libvirt_private.syms
src/util/logging.c
src/util/logging.h