From 5d5f15325f87f0387e0dc2184c55682f7684822bd2cb13eda93bbf988fdfc808 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 2 May 2019 13:17:16 +0000 Subject: [PATCH 1/3] Accepting request 700132 from home:dsterba:branches:devel:tools - version 1.13 OBS-URL: https://build.opensuse.org/request/show/700132 OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=27 --- dwarves.changes | 13 +++++++++++++ dwarves.spec | 6 +++--- pahole-1.12.tar.gz | 3 --- pahole-1.13.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 pahole-1.12.tar.gz create mode 100644 pahole-1.13.tar.gz diff --git a/dwarves.changes b/dwarves.changes index 772bef1..10f87f6 100644 --- a/dwarves.changes +++ b/dwarves.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu May 2 00:00:00 CEST 2019 - dsterba@suse.cz + +- version 1.13 + - Use of the recently introduced BTF deduplication algorithm + - Introduce a 'btfdiff' utility + - Add a BTF loader, i.e. 'pahole -F btf' allows pretty printing of structs + and unions in the same fashion as with DWARF info + - Better union support + - Infer __attribute__((__packed__)) when structs have no alignment holes + - Support DWARF5's DW_AT_alignment + - Add a '--compile' option to 'pfunct' + ------------------------------------------------------------------- Thu Aug 16 21:20:17 UTC 2018 - jengelh@inai.de diff --git a/dwarves.spec b/dwarves.spec index 4019f5e..255e5dc 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -1,7 +1,7 @@ # # spec file for package dwarves # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: dwarves -Version: 1.12 +Version: 1.13 Release: 0 Summary: DWARF utilities License: GPL-2.0-only diff --git a/pahole-1.12.tar.gz b/pahole-1.12.tar.gz deleted file mode 100644 index e9b0db8..0000000 --- a/pahole-1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2452464cbfdbaece6187d7860000fe8ef24b7271f88122cf540d3e0ab4a644d1 -size 148485 diff --git a/pahole-1.13.tar.gz b/pahole-1.13.tar.gz new file mode 100644 index 0000000..42ed488 --- /dev/null +++ b/pahole-1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de69a68d21acee11bc5138a97873c959832bf68a271dea0c60c0f55dcf3f6664 +size 290915 From bc2db24a707cefed8391688bfc810fdd5a7489564d6460ab45ac4efc124758fe Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 3 May 2019 08:58:45 +0000 Subject: [PATCH 2/3] redownload upstream tarball OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=28 --- pahole-1.13.tar.gz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pahole-1.13.tar.gz b/pahole-1.13.tar.gz index 42ed488..4cb4fb9 100644 --- a/pahole-1.13.tar.gz +++ b/pahole-1.13.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:de69a68d21acee11bc5138a97873c959832bf68a271dea0c60c0f55dcf3f6664 -size 290915 +oid sha256:bf8eea5e11e203aac4dc3374bd80318b2c19435da80c255bdb8e1ac6a39a9e74 +size 168038 From 1f6a18bce7100e8b844eee6a0117c591fb73f5ff434bf90c9931344770da5723 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 3 May 2019 09:05:29 +0000 Subject: [PATCH 3/3] download required libbpf OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=29 --- _service | 12 ++++++++++++ dwarves.spec | 6 ++++-- libbpf-0.tar.xz | 3 +++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 _service create mode 100644 libbpf-0.tar.xz diff --git a/_service b/_service new file mode 100644 index 0000000..7d7de42 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + git + https://github.com/libbpf/libbpf + 816253000e918f22e3b395d1bf743503d3508b41 + 0 + + + *.tar + xz + + diff --git a/dwarves.spec b/dwarves.spec index 255e5dc..50a1358 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -26,7 +26,8 @@ Url: http://acmel.wordpress.com/ #Git-Clone: git://git.kernel.org/pub/scm/devel/pahole/pahole #Git-Web: http://git.kernel.org/cgit/devel/pahole/pahole.git Source: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-%version.tar.gz -Source2: baselibs.conf +Source2: libbpf-0.tar.xz +Source9: baselibs.conf BuildRequires: cmake BuildRequires: libdw-devel >= 0.142 BuildRequires: libebl-devel @@ -79,7 +80,8 @@ This package contains the development files for libdwarves, a library for processing DWARF, a debugging data format for ELF files. %prep -%setup -qn pahole-%version +%setup -qn pahole-%version -a2 +mv libbpf-0/* lib/bpf/ %build %cmake diff --git a/libbpf-0.tar.xz b/libbpf-0.tar.xz new file mode 100644 index 0000000..521b4c5 --- /dev/null +++ b/libbpf-0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8919e310ea250466c3ea1a33c6cb77df1ee983770a6e4aa8b70ba25db8ebb5c +size 104312