public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] perf bench: Fix core dumps on s390 z/VM
@ 2025-03-18  9:51 Thomas Richter
  2025-03-18  9:51 ` [PATCH 1/2] perf/bench: Fix perf bench internals pmu-scan core dump Thomas Richter
  2025-03-18  9:51 ` [PATCH 2/2] perf/bench: Double free of dynamic allocated memory Thomas Richter
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Richter @ 2025-03-18  9:51 UTC (permalink / raw)
  To: linux-kernel, linux-s390, linux-perf-users, acme, namhyung,
	irogers, acme
  Cc: agordeev, gor, sumanthk, hca

On s390 z/VM command 'perf bench internals pmu-scan' dumps core,
due to a
- double free of the same memory chunck
- free of memory chunk located to read-only data segment

Thomas Richter (2):
  perf/bench: perf bench internals pmu-scan dumps core
  perf/bench: Double free of dynamic allocated memory

 tools/perf/util/cpumap.c |  7 +------
 tools/perf/util/pmu.c    | 11 +++++++----
 2 files changed, 8 insertions(+), 10 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-03-18 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18  9:51 [PATCH 0/2] perf bench: Fix core dumps on s390 z/VM Thomas Richter
2025-03-18  9:51 ` [PATCH 1/2] perf/bench: Fix perf bench internals pmu-scan core dump Thomas Richter
2025-03-18 16:28   ` Ian Rogers
2025-03-18  9:51 ` [PATCH 2/2] perf/bench: Double free of dynamic allocated memory Thomas Richter
2025-03-18 16:37   ` Ian Rogers

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