public inbox for dwarves@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix segfaults related to missing BTF support
@ 2024-11-18 20:41 Arnaldo Carvalho de Melo
       [not found] ` <20241118204146.772762-5-acme@kernel.org>
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Arnaldo Carvalho de Melo @ 2024-11-18 20:41 UTC (permalink / raw)
  To: Alan Maguire
  Cc: Jiri Olsa, Clark Williams, Kate Carcia, Arnaldo Carvalho de Melo,
	Matthias Schwarzott, Andrii Nakryiko, Eduard Zingerman, Song Liu,
	Yonghong Song, dwarves

Hi,

	While looking for reports to fix before release 1.28 I got to
Matthias reports about segfaults in systems where BTF isn't present, so
I introduced a regression test and infrastructure to allow testing
handling such a system, please take a look.

Thanks,

- Arnaldo

Arnaldo Carvalho de Melo (5):
  core: Add method to get the vmlinux BTF filename, allow overriding it via env var
  tests default_vmlinux_btf: Introduce test for using BTF by default
  pahole: Honour exclusive BTF loading
  tests default_vmlinux_btf: Cover the no args segfault too
  core, libctf: Check if constructor arguments are NULL before using them

 dwarves.c                    | 33 ++++++++++++++++++++++++++++++---
 dwarves.h                    |  2 ++
 libctf.c                     |  3 +++
 man-pages/pahole.1           |  4 ++++
 pahole.c                     | 11 +++++++++--
 tests/default_vmlinux_btf.sh | 32 ++++++++++++++++++++++++++++++++
 6 files changed, 80 insertions(+), 5 deletions(-)
 create mode 100755 tests/default_vmlinux_btf.sh

-- 
2.47.0


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/5] Fix segfaults related to missing BTF support
@ 2024-11-19 13:40 Arnaldo Carvalho de Melo
  2024-11-19 13:40 ` [PATCH 2/5] tests default_vmlinux_btf: Introduce test for using BTF by default Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 14+ messages in thread
From: Arnaldo Carvalho de Melo @ 2024-11-19 13:40 UTC (permalink / raw)
  To: Alan Maguire
  Cc: Jiri Olsa, Clark Williams, Kate Carcia, dwarves,
	Arnaldo Carvalho de Melo, Matthias Schwarzott, Andrii Nakryiko,
	Eduard Zingerman, Song Liu, Yonghong Song

Sorry for the top post: Only the cover letter ended up reaching the
mailing list, so resending to have it there :-\

Hi,

	While looking for reports to fix before release 1.28 I got to
Matthias reports about segfaults in systems where BTF isn't present, so
I introduced a regression test and infrastructure to allow testing
handling such a system, please take a look.

Thanks,

- Arnaldo

Arnaldo Carvalho de Melo (5):
  core: Add method to get the vmlinux BTF filename, allow overriding it via env var
  tests default_vmlinux_btf: Introduce test for using BTF by default
  pahole: Honour exclusive BTF loading
  tests default_vmlinux_btf: Cover the no args segfault too
  core, libctf: Check if constructor arguments are NULL before using them

 dwarves.c                    | 33 ++++++++++++++++++++++++++++++---
 dwarves.h                    |  2 ++
 libctf.c                     |  3 +++
 man-pages/pahole.1           |  4 ++++
 pahole.c                     | 11 +++++++++--
 tests/default_vmlinux_btf.sh | 32 ++++++++++++++++++++++++++++++++
 6 files changed, 80 insertions(+), 5 deletions(-)
 create mode 100755 tests/default_vmlinux_btf.sh

-- 
2.47.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-11-19 20:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-18 20:41 [PATCH 0/5] Fix segfaults related to missing BTF support Arnaldo Carvalho de Melo
     [not found] ` <20241118204146.772762-5-acme@kernel.org>
     [not found]   ` <20f6d8af-5c4e-4eb4-925e-7a6b10efcb55@oracle.com>
2024-11-19 17:46     ` [PATCH 4/5] tests default_vmlinux_btf: Cover the no args segfault too Arnaldo Carvalho de Melo
2024-11-19 17:51     ` Arnaldo Carvalho de Melo
     [not found] ` <20241118204146.772762-3-acme@kernel.org>
     [not found]   ` <90d7282a-60af-4087-8e08-fed3fbe348ee@oracle.com>
2024-11-19 17:50     ` [PATCH 2/5] tests default_vmlinux_btf: Introduce test for using BTF by default Arnaldo Carvalho de Melo
     [not found]   ` <33b85d2c1adafb5a46a874dfcfd43682395e1564.camel@gmail.com>
2024-11-19 19:49     ` Arnaldo Carvalho de Melo
2024-11-19 19:54       ` Eduard Zingerman
2024-11-19 19:55         ` Arnaldo Carvalho de Melo
2024-11-19 20:12         ` Arnaldo Carvalho de Melo
2024-11-19 20:13           ` Eduard Zingerman
2024-11-19 20:15             ` Arnaldo Carvalho de Melo
     [not found] ` <20241118204146.772762-6-acme@kernel.org>
     [not found]   ` <4b465bfc-8214-41ab-8b6d-bbdf7421e19b@oracle.com>
2024-11-19 18:29     ` [PATCH 5/5] core, libctf: Check if constructor arguments are NULL before using them Arnaldo Carvalho de Melo
     [not found] ` <20241118204146.772762-2-acme@kernel.org>
     [not found]   ` <ac93d9fe-2e84-4e00-94ef-50a3074d49fc@oracle.com>
     [not found]     ` <ZzyO9aibti18J6sK@x1>
2024-11-19 17:48       ` [PATCH 1/5] core: Add method to get the vmlinux BTF filename, allow overriding it via env var Arnaldo Carvalho de Melo
     [not found]   ` <9992d2487775011278aef17d1a2db98b8cc74e7d.camel@gmail.com>
2024-11-19 18:32     ` Arnaldo Carvalho de Melo
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19 13:40 [PATCH 0/5] Fix segfaults related to missing BTF support Arnaldo Carvalho de Melo
2024-11-19 13:40 ` [PATCH 2/5] tests default_vmlinux_btf: Introduce test for using BTF by default Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox