]> git.baikalelectronics.ru Git - kernel.git/commit
x86/events/intel/ds: Add PERF_SAMPLE_PERIOD into PEBS_FREERUNNING_FLAGS
authorJiri Olsa <jolsa@kernel.org>
Thu, 1 Feb 2018 08:38:12 +0000 (09:38 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Feb 2018 16:48:44 +0000 (13:48 -0300)
commitea62028684a7b3d70e48416a70ff2837a00aa395
tree688fd08a68e83adcc03311f84590f7ef3f54aa72
parentb734c764f8d328cfc8ffacc2baa29ba5652a059d
x86/events/intel/ds: Add PERF_SAMPLE_PERIOD into PEBS_FREERUNNING_FLAGS

Stephane reported that we don't support period for enabling large PEBS
data, which there's no reason for. Adding PERF_SAMPLE_PERIOD into
freerunning flags.

Tested it with:

  # perf record -e cycles:P -c 100 --no-timestamp -C 0 --period

Reported-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Kan Liang <kan.liang@intel.com>
Tested-by: Stephane Eranian <eranian@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180201083812.11359-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
arch/x86/events/perf_event.h