Re: [PATCH] perf hist: Don't update the map of a hist entry to a NULL map

From: Namhyung Kim

Date: Thu Nov 19 2026 - 22:54:14 EST


On Wed, 11 Nov 2026 16:41:56 -0700, Casey Chen wrote:
> perf c2c report, including --stats, segfaults on c2c data recorded on
> a loaded system:
>
> map__find_symbol
> hists__findnew_entry
> __hists__add_entry
> process_sample_event (builtin-c2c.c)
> perf_session__deliver_event
> ordered_events__deliver_event
> __ordered_events__flush
> perf_session__process_user_event
> perf_session__process_events
> perf_c2c__report
>
> [...]

Applied to perf-tools-next, thanks!

Best regards
Namhyung