summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNatarajan, Janakarajan <Janakarajan.Natarajan@amd.com>2018-09-27 15:51:55 +0000
committerIngo Molnar <mingo@kernel.org>2018-10-02 09:38:04 +0200
commitd7cbbe49a9304520181fb8c9272d1327deec8453 (patch)
tree4c4e6db0a4b0a631b25aeb17e8778be05283af40 /tools
parent9d92cfeaf5215158d26d2991be7f7ff865cb98f3 (diff)
downloadlinux-d7cbbe49a9304520181fb8c9272d1327deec8453.tar.bz2
perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
In Family 17h, some L3 Cache Performance events require the ThreadMask and SliceMask to be set. For other events, these fields do not affect the count either way. Set ThreadMask and SliceMask to 0xFF and 0xF respectively. Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com> 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: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: H . Peter Anvin <hpa@zytor.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Suravee <Suravee.Suthikulpanit@amd.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Link: http://lkml.kernel.org/r/Message-ID: Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions