perf intel-pt/bts: Do not swap when synthesizing samples
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 16 Jan 2018 13:14:50 +0000 (15:14 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 18 Jan 2018 12:00:16 +0000 (09:00 -0300)
commita10eb530ae497e2411525fc1f5ec73f39eb11c11
treee4ac2050ddcb21eef7b2d3ea5261a6dc0ecad50b
parenta72594ca5c70ef4a94fab8ad541beda0d0a94139
perf intel-pt/bts: Do not swap when synthesizing samples

Both 'perf inject' and internal tools consume cpu endian samples, so
there is never a need to do any swapping when synthesizing samples.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1516108492-21401-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-bts.c
tools/perf/util/intel-pt.c