perf/x86: Use update attribute groups for default attributes
authorJiri Olsa <jolsa@kernel.org>
Sun, 12 May 2019 15:55:18 +0000 (17:55 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 3 Jun 2019 09:58:27 +0000 (11:58 +0200)
commit6a9f4efe78af6069a11946c64d3d4c86cb42046b
treeeb9acf8e1678524d620a69ec75498a5dfa6dc86a
parentb657688069a24c3c81b6de22e0e57e1785d9211f
perf/x86: Use update attribute groups for default attributes

Using the new pmu::update_attrs attribute group for default
attributes - freeze_on_smi, allow_tsx_force_abort.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190512155518.21468-10-jolsa@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/core.c
arch/x86/events/intel/core.c
arch/x86/events/perf_event.h