Hi Here are 3 patches related to the "getting stuck at end" problem.
The first patch dodges the deadlock. The second patch stops fork from messing up i.e. prevents the deadlock condition from arising in the first place. The third patch processes the data in order i.e. prevents fork from having to deal with weird data anyway. Adrian Hunter (3): perf tools: Avoid deadlock when map_groups are broken perf tools: Make fork event processing more resilient perf tools: Fix buildid processing tools/perf/builtin-record.c | 11 +++++++++++ tools/perf/util/machine.c | 20 ++++++++++++++++++-- tools/perf/util/thread.c | 6 ++++++ 3 files changed, 35 insertions(+), 2 deletions(-) Regards Adrian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/