]> www.infradead.org Git - users/jedix/linux-maple.git/commit
DTrace-independent CTF.
authorNick Alcock <nick.alcock@oracle.com>
Wed, 10 Oct 2012 18:37:49 +0000 (19:37 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 10 Oct 2012 18:38:48 +0000 (19:38 +0100)
commit79da995c9ac7ee9f24bc6484f8bf22be31a43a89
treecfdcb630d669c847af6493c10031f4c3c8f8d764
parente6de6416a8f7d5ffb4bc5724bdfc8cc78e52eed2
DTrace-independent CTF.

These largely cosmetic changes remove mention of DTrace from the CTF code,
making it clear that it is freely usable by non-DTrace consumers.

The changes are:

 - dtrace_ctf.ko is now named ctf.ko, and is stored in kernel/ctf rather than
   kernel/dtrace, controlled by a new CONFIG_CTF Kconfig option select'ed by
   CONFIG_DTRACE.  (CONFIG_DT_DISABLE_CTF, being largely a DTrace debugging
   option, remains under DTrace configure control).  The function used to
   trigger loading of ctf.ko has changed name similarly, from
   dtrace_ctf_forceload() to ctf_forceload().

 - The CTF section names have changed, from .dtrace_ctf.* to .ctf.* (which as a
   bonus is more obviously related to the .ctf directory long used to store the
   CTF data during the build process).

 - The shared CTF repository is now stored in .ctf.shared_ctf instead of
   .dtrace_ctf.dtrace_ctf, making its intended use somewhat clearer.

These changes depend on a suitably changed libdtrace-ctf: a suitably changed
userspace is needed to take advantage of them.  The dtrace-kernel-interface is
bumped accordingly.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
dtrace/dtrace-module.spec
dtrace/dtrace.h
dtrace/dtrace_dev.c