]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel-pt: Remove redundant initial_skip checks
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:17 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jun 2017 14:35:51 +0000 (11:35 -0300)
commit3a40d3bdb15bb338ef64804b836fdc7edb2bad00
treed41dcfe7340b78ecd0c024d14d7fda10b4083e0e
parent58623847adc39730edb8e9c9bda110e83c2dcbac
perf intel-pt: Remove redundant initial_skip checks

'initial_skip' is checked inside the sample synthesis functions which means
it is actually being done twice for 'instructions' and 'transactions'
samples. Remove the redundant checks.

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