perf intel-pt: Add support for efficient time interval filtering
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 4 Jun 2019 13:00:09 +0000 (16:00 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jun 2019 19:20:12 +0000 (16:20 -0300)
commit2c47db90ed71af9c12d5600dbcef864761d76b3d
treec1e3aaa62c0977ad3930f9ee71d9ad3924595da6
parentda9000ae35027fb7305b8cad0b37df71937ad578
perf intel-pt: Add support for efficient time interval filtering

Set up time ranges for efficient time interval filtering using the new
"fast forward" facility.

Because decoding is done in time order, intel_pt_time_filter() needs to
look only at the next start or end timestamp - refer intel_pt_next_time().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190604130017.31207-12-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c