perf/x86/intel: Fix intel_get_event_constraints() for dynamic constraints
authorStephane Eranian <eranian@google.com>
Mon, 17 Nov 2014 19:07:01 +0000 (20:07 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Apr 2015 15:33:14 +0000 (17:33 +0200)
commita90738c2cb0dceb882e0d7f7f9141e0062809b4d
tree1c33d912569bd30396ef7c9b91cc80e35792177a
parentb63b4b459a78a9a45ea47a4803b8d1868e9d17d5
perf/x86/intel: Fix intel_get_event_constraints() for dynamic constraints

With dynamic constraint, we need to restart from the static
constraints each time the intel_get_event_constraints() is called.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Maria Dimakopoulou <maria.n.dimakopoulou@gmail.com>
Cc: bp@alien8.de
Cc: jolsa@redhat.com
Cc: kan.liang@intel.com
Link: http://lkml.kernel.org/r/1416251225-17721-10-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel.c