Kernel coredump file access
  • C 83.8%
  • Shell 11.4%
  • M4 2.4%
  • Makefile 2.1%
  • Python 0.2%
Find a file
Petr Tesarik 5bef826ed5
NEWS: Make heading for a post-0.5.6 release
Signed-off-by: Petr Tesarik <petr@tesarici.cz>
2025-11-05 09:41:02 +01:00
examples Clarify and fix attribute data lifetime 2024-12-03 12:53:49 +01:00
include doc: Fix doxygen group closings 2025-01-02 11:40:15 +01:00
m4 m4/tools.m4: Add uncompress2 to disassembler link test 2025-11-05 09:20:35 +01:00
src Always include addrxlat-priv.h (or config.h) where appropriate 2024-12-26 15:16:05 +00:00
tests Update pykdumpfile URL 2025-08-10 21:34:03 +02:00
tools kdumpid: Unconditionally link with zlib 2025-01-01 16:20:05 +01:00
.gitignore Add compile to .gitignore 2018-08-01 09:54:47 +02:00
attributes.md Documentation: Add a high-level overview of attributes 2024-12-03 13:38:15 +01:00
configure.ac Prepare release 0.5.6 2025-11-05 09:31:40 +01:00
COPYING Rename LICENSE to COPYING 2014-10-21 13:46:15 +02:00
COPYING.GPLv2 Add licensing stuff 2014-10-21 11:42:16 +02:00
COPYING.GPLv3 Add licensing stuff 2014-10-21 11:42:16 +02:00
COPYING.LGPLv3 Add licensing stuff 2014-10-21 11:42:16 +02:00
Doxyfile doc: Update Doxyfile to 1.12.0 2025-01-02 10:49:58 +01:00
libaddrxlat.pc.in Move pkgconfig URL to Codeberg 2025-08-10 21:27:25 +02:00
libkdumpfile.pc.in Move pkgconfig URL to Codeberg 2025-08-10 21:27:25 +02:00
Makefile.am Remove legacy Python bindings 2024-12-26 21:34:22 +01:00
NEWS NEWS: Make heading for a post-0.5.6 release 2025-11-05 09:41:02 +01:00
objects.md Document object lifetime rules 2017-05-09 07:29:53 +02:00
README.md Update pykdumpfile URL 2025-08-10 21:34:03 +02:00
threads.md Rename kdump error status codes 2017-04-11 07:30:11 +02:00

libkdumpfile

Kernel coredump file access

To compile this package, you'll need the following:

  • zlib. You can usually find it in a zlib-devel package.
  • lzo. Often found in a lzo-devel package.
  • snappy. Often found in a snappy-devel package.
  • libzstd. Often found in a libzstd-devel package.
  • GNU C Library. Almost any version will do. Other C libraries may also work, but since there is no standard interface for byte-order macros, this may need some porting.
  • GCC. The source uses a few construct specific to GCC (such as variable attributes). Porting should be easy, though.

If you want to build kdumpid, you'll also need:

  • BFD. Any version with disassemblers for x86, ppc and s390 will do. This usually comes with the distro packaged as binutils-devel or similar.

To create documentation files, you'll need:

  • Doxygen. Usually packaged as doxygen.

Once you've got the prerequisites, simply unpack the tarball and run

./configure
make
make install

To generate documentation files, run:

make doxygen-doc

If you updated directly from git, there is no configure script. That's becuase this script itself is generated by autoconf. To bootstrap this project from scratch, you will need:

To generate the configure script, run

autoreconf -fi

Python

There are official Python bindings for libkdumpfile; see pykdumpfile.

Making Releases

To make a new public release:

  1. Make sure that the NEWS file is updated with all important changes

  2. Update the version information:

    • configure.ac: update pkg_version_* macros
    • src/Makefile.am: libtool versioning (see Libtool info file)
    • src/addrxlat/Makefile.am: addrxlat libtool versioning
  3. Make a new commit ("Prepare release x.y.z")

  4. Run make distcheck

  5. Create a signed tag using git tag -s

  6. Upload the tarballs to GitHub and create a new release

  7. Write an announcement