From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933161AbcJ3At3 (ORCPT ); Sat, 29 Oct 2016 20:49:29 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:35158 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755338AbcJ3AkB (ORCPT ); Sat, 29 Oct 2016 20:40:01 -0400 From: David Carrillo-Cisneros To: linux-kernel@vger.kernel.org Cc: "x86@kernel.org" , Ingo Molnar , Thomas Gleixner , Andi Kleen , Kan Liang , Peter Zijlstra , Vegard Nossum , Marcelo Tosatti , Nilay Vaish , Borislav Petkov , Vikas Shivappa , Ravi V Shankar , Fenghua Yu , Paul Turner , Stephane Eranian , David Carrillo-Cisneros Subject: [PATCH v3 07/46] perf/core: add RDT Monitoring attributes to struct hw_perf_event Date: Sat, 29 Oct 2016 17:38:04 -0700 Message-Id: <1477787923-61185-8-git-send-email-davidcc@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1477787923-61185-1-git-send-email-davidcc@google.com> References: <1477787923-61185-1-git-send-email-davidcc@google.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add attributes in hw_perf_event that are required by CMT and, in the future, MBM. Signed-off-by: David Carrillo-Cisneros --- include/linux/perf_event.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 345ec20..0202b32 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -139,6 +139,12 @@ struct hw_perf_event { /* for tp_event->class */ struct list_head tp_list; }; +#ifdef CONFIG_INTEL_RDT_M + struct { /* intel_cmt */ + void *cmt_monr; + struct list_head cmt_list; + }; +#endif struct { /* itrace */ int itrace_started; }; -- 2.8.0.rc3.226.g39d4020