diff options
author | Adrian Hunter | 2019-06-04 15:00:06 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2019-06-10 21:20:12 +0200 |
commit | a7fa19f5a255cc8970202d5c54092089a01fc042 (patch) | |
tree | 7476c08f3c457fae97acc7355b6b101d70637348 /tools/perf/util/intel-pt.c | |
parent | perf intel-pt: Add reposition parameter to intel_pt_get_data() (diff) | |
download | kernel-qcow2-linux-a7fa19f5a255cc8970202d5c54092089a01fc042.tar.gz kernel-qcow2-linux-a7fa19f5a255cc8970202d5c54092089a01fc042.tar.xz kernel-qcow2-linux-a7fa19f5a255cc8970202d5c54092089a01fc042.zip |
perf intel-pt: Add intel_pt_fast_forward()
Intel PT decoding is done in time order. In order to support efficient time
interval filtering, add a facility to "fast forward" towards a particular
timestamp. That involves finding the right buffer, stepping to that buffer,
and then stepping forward PSBs. Because decoding must begin at a PSB,
"fast forward" stops at the last PSB that has a timestamp before the target
timestamp.
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-9-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt.c')
0 files changed, 0 insertions, 0 deletions