perf intel-pt: Remove a check for sampling mode
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 7 Mar 2018 14:02:28 +0000 (16:02 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 8 Mar 2018 13:05:58 +0000 (10:05 -0300)
commit13f89dbafe73e56fd317c078bb1d3a45fd94ab7b
tree96554b27ee36624c3897aee4d50fa5d3d06a76c7
parent9c6650647de430a6ad9707c51b3342f23af0d2ee
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>
tools/perf/util/intel-pt.c