]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: 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>
Mon, 29 Jun 2015 21:40:35 +0000 (22:40 +0100)
commitd6568790224ddff1f39c3bda859e3782887f515a
tree06b02a07812dbf2a69176fc3b7a5b64679f32134
parent3a8d99729fbdaca543392a006fa3168ca09d1b8d
ctf: 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>
Documentation/dwarf2ctf
kernel/Makefile
kernel/ctf/Kconfig [new file with mode: 0644]
kernel/ctf/Makefile [new file with mode: 0644]
kernel/ctf/ctf.c [moved from kernel/dtrace/dtrace_ctf.c with 71% similarity]
kernel/dtrace/Kconfig
kernel/dtrace/Makefile
lib/Kconfig
scripts/Makefile.modpost
scripts/dwarf2ctf/dwarf2ctf.c