freebsd-dev/sys/ddb
Mark Johnston 78f57a9cde Generalize the gzio API.
We currently use a set of subroutines in kern_gzio.c to perform
compression of user and kernel core dumps. In the interest of adding
support for other compression algorithms (zstd) in this role without
complicating the API consumers, add a simple compressor API which can be
used to select an algorithm.

Also change the (non-default) GZIO kernel option to not enable
compressed user cores by default. It's not clear that such a default
would be desirable with support for multiple algorithms implemented,
and it's inconsistent in that it isn't applied to kernel dumps.

Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D13632
2018-01-08 21:27:41 +00:00
..
db_access.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_access.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_break.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_break.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_capture.c SPDX: oops .. not from CMU. 2017-11-30 15:58:38 +00:00
db_command.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_command.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_examine.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_expr.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_input.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_lex.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_lex.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_main.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_output.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_output.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_print.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_ps.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
db_run.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_script.c sys/ddb: further adoption of SPDX licensing ID tags. 2017-11-27 15:14:46 +00:00
db_sym.c ddb: fix validation of cpu id in 'set db_cpu=x' 2017-12-05 14:22:08 +00:00
db_sym.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_textdump.c Generalize the gzio API. 2018-01-08 21:27:41 +00:00
db_thread.c sys/ddb: further adoption of SPDX licensing ID tags. 2017-11-27 15:14:46 +00:00
db_variables.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_variables.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_watch.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_watch.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
db_write_cmd.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
ddb.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00