]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf tools: Flush remaining samples w/o deferred callchains
authorNamhyung Kim <namhyung@kernel.org>
Thu, 20 Nov 2025 23:48:04 +0000 (15:48 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 05:59:14 +0000 (21:59 -0800)
commit405f5756bbd231e6b70949909a526bdaf538e2fc
tree6ea340dfee572a8f6b6265494b71ec30f6e0f6fc
parent9b4525fd089decf3557eff4a3ef348cdc2b68353
perf tools: Flush remaining samples w/o deferred callchains

It's possible that some kernel samples don't have matching deferred
callchain records when the profiling session was ended before the
threads came back to userspace.  Let's flush the samples before
finish the session.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/session.c