The event processing relies on all events having the same sample_type.
This is being checked when the session is being opened read only.
It also needs to be checked when we do record, since events could be
read during processing build IDs at the end of the record command.
If we process events with different sample_type the processing might
skip some events or hang.
Following command hangs on my setup:
./perf record -o perf.data -e ext4:ext4_mb_new_group_pa \
-e LLC-loads -- date '+%F'
because hardware and tracepoint events have different sample type.
With the patch applied the record command displays
"Non matching sample_type" message and exits.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/