OSDN Git Service

perf inject: Make --strip keep evsels
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 5 Nov 2019 10:00:57 +0000 (12:00 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Nov 2019 18:49:40 +0000 (15:49 -0300)
commitef5502a1d9bd042dcf457378a6ac96701e498b1b
treef95cf1b2a4cf9c7d9c56ed45ec99eeb492adac6b
parent71f699078b154fcb1c9162fd0208ada9ce532ffc
perf inject: Make --strip keep evsels

create_gcov (refer to the autofdo example in tools/perf/Documentation/intel-pt.txt)
now needs the evsels to read the perf.data file. So don't strip them.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20191105100057.21465-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c