perf/x86/intel: Use ->is_visible callback for default group
authorJiri Olsa <jolsa@redhat.com>
Fri, 24 May 2019 13:21:52 +0000 (15:21 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 17 Jun 2019 10:36:23 +0000 (12:36 +0200)
commitb7c9b3927337b43b3c854064b9c17b84cb7ef0dc
treedc147b882bb2f48a709eb493b45eba626fa2615a
parentee49532b38dd084650bf715eabe7e3828fb8d275
perf/x86/intel: Use ->is_visible callback for default group

It's preffered to use group's ->is_visible callback, so
we do not need to use condition attribute assignment.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
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: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190524132152.GB26617@krava
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/core.c