chiark / gitweb /
coredump: compress core files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 25 Jun 2014 05:03:03 +0000 (01:03 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 26 Jun 2014 05:41:04 +0000 (01:41 -0400)
commitcfd652ed617282b06ccbdedb7adc6963b901dde7
tree48a3f85ce61a74ecb1d40c6d5ad9a581e592ca1c
parent355b59e252c9910e44a1ad95c045ba8db58a4f6a
coredump: compress core files

Unfortunately the core is first written uncompressed, then compressed
by reading from disk and writing to the output file. This is ugly and
slow, but I don't see a way around, if we want to get the backtrace
without keeping everything in memory.
src/journal/coredump.c