diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index ef09f26e67da0b95b9455a8fc10167fcb70bbb8d..2ccc7f06db799446a6b06d06a692d77dd2410ed7 100644 --- a/tools/perf/util/header.c +++ b/tools/perf/util/header.c @@ -2270,6 +2270,9 @@ int perf_header__fprintf_info(struct perf_session *session, FILE *fp, bool full) perf_header__process_sections(header, fd, &hd, perf_file_section__fprintf_info); + if (session->file->is_pipe) + return 0; + fprintf(fp, "# missing features: "); for_each_clear_bit(bit, header->adds_features, HEADER_LAST_FEATURE) { if (bit)