summaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2018-03-07 16:02:28 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-03-08 10:05:58 -0300
commit13f89dbafe73e56fd317c078bb1d3a45fd94ab7b (patch)
tree96554b27ee36624c3897aee4d50fa5d3d06a76c7 /tools/perf/util
parent9c6650647de430a6ad9707c51b3342f23af0d2ee (diff)
downloadop-kernel-dev-13f89dbafe73e56fd317c078bb1d3a45fd94ab7b.zip
op-kernel-dev-13f89dbafe73e56fd317c078bb1d3a45fd94ab7b.tar.gz
perf intel-pt: Remove a check for sampling mode
Intel PT code already has some preparation for AUX area sampling mode. However the implementation has changed from the first proposal and one of the side-effects is that it will not be impossible to support snapshot mode and sampling mode at the same time. Although there are no plans to support it, let validation (not yet implemented) control whether it is allowed rather than low-level functions. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1520431349-30689-9-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/intel-pt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c
index 9a4f9cd..5c5c155 100644
--- a/tools/perf/util/intel-pt.c
+++ b/tools/perf/util/intel-pt.c
@@ -2061,9 +2061,6 @@ static int intel_pt_process_auxtrace_event(struct perf_session *session,
struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt,
auxtrace);
- if (pt->sampling_mode)
- return 0;
-
if (!pt->data_queued) {
struct auxtrace_buffer *buffer;
off_t data_offset;
OpenPOWER on IntegriCloud