perf intel-pt: Move decoder error setting into one condition
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:02 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jun 2017 14:35:43 +0000 (11:35 -0300)
commit22c06892332d8916115525145b78e606e9cc6492
tree91dad2d8ff6580be08e0567f22bb36cc746a794b
parenta7f0fda085870312ab694b19a1304ece161a1217
perf intel-pt: Move decoder error setting into one condition

Move decoder error setting into one condition.

Cc'ed to stable because later fixes depend on it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1495786658-18063-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c