LIBMINICOREDUMPER(7)

NAME
libminicoredumper - a library for registering application data for dumping with the minicoredumper(8)

DESCRIPTION
libminicoredumper provides an interface for registering binary and text data for dumping with the minicoredumper(8). The data can be dumped into a core(5) file (in case this application crashes), or into separate files for simple access.

If any data is registered for dumping, an anonymous UNIX domain socket is used to send a message to minicoredumper_regd(8), thus registering this application with the minicoredumper(8). When some other application crashes, the minicoredumper(8) will dump the registered data from this application as well. This feature allows variable information from multiple applications to be dumped soon after any application crashes. To minimize the time between an application crash and the dumping of other registered applications, the minicoredumper(8) uses PTRACE_SEIZE and PTRACE_INTERRUPT to temporarily pause registered applications until all dumping is complete.

SEE ALSO
mcd_dump_data_register_bin(3), mcd_dump_data_register_text(3), mcd_dump_data_unregister(3), minicoredumper(8), minicoredumper.cfg.json(5), minicoredumper.recept.json(5), minicoredumper_regd(8), minicoredumper_trigger(8), coreinject(1) ptrace(2)

The DiaMon Workgroup: <http://www.diamon.org>