Revert "perf record: Fix crash in pipe mode"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 09:41:46 +0000 (11:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 10:19:59 +0000 (12:19 +0200)
commit48aaff1bcde75b09429d780be4b57d25be4cab9a
treeaa6e2f42ced5a7ad18aedcf4dc8148f102082e22
parentec39812d211737fcd02248d4f8bab6bf77d542cb
Revert "perf record: Fix crash in pipe mode"

This reverts commit f766148e47d7d3b8a7128cae511971c0f793e38e which is
commit ad46e48c65fa1f204fa29eaff1b91174d314a94b upstream.

It breaks the build.  Turns out we don't test perf on stable releases,
we need to fix that :(

Reported-by: Pavlos Parissis <pavlos.parissis@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/builtin-record.c
tools/perf/perf.h
tools/perf/util/record.c