|
@@ -1008,6 +1008,12 @@ static int perf_session__process_user_event(struct perf_session *session, union
|
|
|
if (err == 0)
|
|
|
perf_session__set_id_hdr_size(session);
|
|
|
return err;
|
|
|
+ case PERF_RECORD_HEADER_EVENT_TYPE:
|
|
|
+ /*
|
|
|
+ * Depreceated, but we need to handle it for sake
|
|
|
+ * of old data files create in pipe mode.
|
|
|
+ */
|
|
|
+ return 0;
|
|
|
case PERF_RECORD_HEADER_TRACING_DATA:
|
|
|
/* setup for reading amidst mmap */
|
|
|
lseek(fd, file_offset, SEEK_SET);
|