• P
    perf/core: Disallow uncore-cgroup events · 09f4e8f0
    Peter Zijlstra 提交于
    While discussing uncore event scheduling, I noticed we do not in fact
    seem to dis-allow making uncore-cgroup events. Such events make no
    sense what so ever because the cgroup is a CPU local state where
    uncore counts across a number of CPUs.
    
    Disallow them.
    Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Vince Weaver <vincent.weaver@maine.edu>
    Signed-off-by: NIngo Molnar <mingo@kernel.org>
    09f4e8f0
core.c 292.2 KB