]> git.michaelhowe.org Git - packages/o/openafs.git/commit
autoconf: detect ctf-tools and add ctf to libafs
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Mon, 5 Feb 2018 21:16:17 +0000 (21:16 +0000)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 9 Feb 2018 13:55:16 +0000 (08:55 -0500)
commit96ce04c78b5f745424165494c9b76d7ce227eeaa
treec0488bceaf110d0c0dc540166ce0931a5fc50e9d
parent0247eb0a8c154811f495142276029a617ae0825a
autoconf: detect ctf-tools and add ctf to libafs

CTF is a reduced form of debug information similar to DWARF and stab. It
describes types and function prototypes. The principal objective of the
format is to shrink the data size as much as possible so that it could
be included in a production environment. MDB, DTrace, and other tools
use CTF debug information to read and display structures correctly.

This commit introduces a new configure option called --with-ctf-tools.
This option can be used to specify an alternative path where the tools
can be found. If the path is not provided, the tools will be searched
in a set of default directories (including $PATH). The CTF debugging
information will only be included if the corresponding --enable-debug /
--enable-debug-kernel is specified.

Note: at the moment, the Solaris kernel module is the only module
benefited by this commit.

Reviewed-on: https://gerrit.openafs.org/12680
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 88cb536f99dc58fdbeb9fa6c47c26774241a0cb6)

Change-Id: I174347370a83b31f68d2631c965e17d72b438cd1
Reviewed-on: https://gerrit.openafs.org/12902
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
INSTALL
acinclude.m4
src/cf/ctf-tools.m4 [new file with mode: 0644]
src/cf/summary.m4
src/config/Makefile.config.in
src/libafs/MakefileProto.SOLARIS.in