From 4a21c5c8db0fcd2a279d067ecfb731596de822d4 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 16 Aug 2018 16:09:14 -0300 Subject: [PATCH] v1.12 - New Release Signed-off-by: Arnaldo Carvalho de Melo --- CMakeLists.txt | 2 +- MANIFEST | 6 ++++++ NEWS | 18 ++++++++++++++++++ rpm/SPECS/dwarves.spec | 13 ++++++++++++- 4 files changed, 37 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 179b308..bd80115 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ if (NOT CMAKE_BUILD_TYPE) FORCE) endif (NOT CMAKE_BUILD_TYPE) -add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.10") +add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.12") find_package(DWARF REQUIRED) find_package(ZLIB REQUIRED) diff --git a/MANIFEST b/MANIFEST index 25037eb..84a0e0e 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,7 @@ config.h.cmake +btf.h +btf_encoder.c +btf_encoder.h ctf_encoder.c ctf_encoder.h ctf_loader.c @@ -22,6 +25,8 @@ elf_symtab.h gobuffer.c gobuffer.h hash.h +libbtf.c +libbtf.h list.h MANIFEST man-pages/pahole.1 @@ -40,6 +45,7 @@ dutil.c dutil.h NEWS README +README.btf README.ctracer rpm/SPECS/dwarves.spec lib/Makefile diff --git a/NEWS b/NEWS index d279f29..7757fba 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,21 @@ +v1.12 + +Thu Aug 16 2018 + +1ca2e351dfa1 README.btf: Add section on validating the .BTF section via the kernel +9eda5e8163ce README.btf: No need to use 'llvm.opts = -mattr=dwarfris' with elfutils >= 0.173 +7818af53f64a dwarves: Add a README.btf file with steps to test the BTF encoder +f727c22191d0 dwarf_loader: Initial support for DW_TAG_partial_unit +e975ff247aa8 dwarves_fprintf: Print cacheline boundaries in multiple union members +68645f7facc2 btf: Add BTF support +81466af0d4f8 pahole: Show the file where a struct was used +2dd87be78bb2 dwarves_fprintf: Show offsets at union members +66cf3983e1ac README.DEBUG: Add an extra step to make the instructions cut'n'exec +2a092d61453c dwarves: Fix cus__load_files() success return value +02a456f5f54c pahole: Search and use running kernel vmlinux when no file is passed +5f057919a0c0 man-pages: Add entry for --hex +[acme@jouet pahole]$ + v1.11 Wed Jun 2017 diff --git a/rpm/SPECS/dwarves.spec b/rpm/SPECS/dwarves.spec index 1cfec30..19f213b 100644 --- a/rpm/SPECS/dwarves.spec +++ b/rpm/SPECS/dwarves.spec @@ -2,7 +2,7 @@ %define libver 1 Name: dwarves -Version: 1.11 +Version: 1.12 Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools @@ -26,6 +26,9 @@ limited to these. It also extracts other information such as CPU cacheline alignment, helping pack those structures to achieve more cache hits. +These tools can also be used to encode the BTF type information format used with +the Linux kernel bpf syscall, using 'pahole -J'. + A diff like tool, codiff can be used to compare the effects changes in source code generate on the resulting binaries. @@ -68,6 +71,7 @@ rm -rf %{buildroot} %files %defattr(0644,root,root,0755) %doc README.ctracer +%doc README.btf %doc NEWS %defattr(0755,root,root,0755) %{_bindir}/codiff @@ -114,6 +118,13 @@ rm -rf %{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog +* Thu Aug 16 2018 Arnaldo Carvalho de Melo - 1.12-1 +- New release: +- union member cacheline boundaries for all inner structs +- print union member offsets +- Document 'pahole --hex' +- Encode BTF type format for use with eBPF + * Wed Jun 28 2017 Arnaldo Carvalho de Melo - 1.11-1 - New release