[DTrace-devel] [PATCH v2 0/2 v6.12-rc1] CTF rework to work with modules.builtin.ranges

Nick Alcock nick.alcock at oracle.com
Tue Oct 1 19:54:50 UTC 2024


This is the same as the non-v2 patch, only squashed back into the previous
commits.  I also squashed away the iterator, since it's now basically part
of the CTF stuff and unlikely to be used elsewhere: so this is now the
*entire* CTF series (modulo specfile adjustments that don't belong in a
vanilla tree). I fixed a couple of tiny .gitignore bugs in the process (one
unnecessary line, one stupid typo).

... perhaps I should move scripts/module_objnames.* into scripts/ctf?
WDYT?

Nick Alcock (2):
  ctf: generate CTF information for the kernel
  ctf: work around binutils bug in ctf_link_add_cu_mapping()

 .gitignore                        |   2 +
 Documentation/process/changes.rst |   3 +
 Makefile                          |   8 +-
 arch/arm/vdso/Makefile            |   4 +
 arch/arm64/kernel/vdso/Makefile   |   4 +
 arch/loongarch/vdso/Makefile      |   3 +-
 arch/mips/vdso/Makefile           |   3 +-
 arch/sparc/vdso/Makefile          |   2 +-
 arch/x86/entry/vdso/Makefile      |   2 +
 arch/x86/um/vdso/Makefile         |   2 +-
 include/asm-generic/vmlinux.lds.h |   1 +
 init/Kconfig                      |   6 +
 lib/Kconfig                       |  11 +
 scripts/.gitignore                |   1 +
 scripts/Makefile                  |   1 +
 scripts/Makefile.ctfa             |  92 +++++++
 scripts/Makefile.ctfa-toplevel    |  51 ++++
 scripts/Makefile.modfinal         |   7 +-
 scripts/Makefile.vmlinux_o        |  20 +-
 scripts/ctf-module-objnames.sh    |  35 +++
 scripts/ctf/.gitignore            |   1 +
 scripts/ctf/Makefile              |   5 +
 scripts/ctf/ctfarchive.c          | 393 ++++++++++++++++++++++++++++++
 scripts/ctf/module_objnames.c     |   2 +
 scripts/ctf/module_objnames.h     |   2 +
 scripts/mod/modpost.c             |   1 +
 scripts/module_objnames.c         | 160 ++++++++++++
 scripts/module_objnames.h         |  48 ++++
 scripts/package/kernel.spec       |   6 +
 scripts/package/mkspec            |   5 +
 scripts/remove-ctf-lds.awk        |  12 +
 31 files changed, 883 insertions(+), 10 deletions(-)
 create mode 100644 scripts/Makefile.ctfa
 create mode 100644 scripts/Makefile.ctfa-toplevel
 create mode 100755 scripts/ctf-module-objnames.sh
 create mode 100644 scripts/ctf/.gitignore
 create mode 100644 scripts/ctf/Makefile
 create mode 100644 scripts/ctf/ctfarchive.c
 create mode 100644 scripts/ctf/module_objnames.c
 create mode 100644 scripts/ctf/module_objnames.h
 create mode 100644 scripts/module_objnames.c
 create mode 100644 scripts/module_objnames.h
 create mode 100644 scripts/remove-ctf-lds.awk

-- 
2.46.0.278.g36e3a12567




More information about the DTrace-devel mailing list