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.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 file changed