[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1434012217-9776-4-git-send-email-maddy@linux.vnet.ibm.com>
Date: Thu, 11 Jun 2015 14:13:32 +0530
From: Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>
To: benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
sukadev@...ux.vnet.ibm.com, eranian@...gle.com,
khandual@...ux.vnet.ibm.com, rusty@...tcorp.com.au,
Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>
Subject: [PATCH 3/8]powerpc/perf: EVENT macro for exporting generic events
Adding EVENT macro for exporting Power8 generic events
Reviewed-by: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>
---
arch/powerpc/perf/power8-pmu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/perf/power8-pmu.c b/arch/powerpc/perf/power8-pmu.c
index a542310..282ab40 100644
--- a/arch/powerpc/perf/power8-pmu.c
+++ b/arch/powerpc/perf/power8-pmu.c
@@ -21,6 +21,8 @@
/*
* Some power8 event codes.
*/
+#define EVENT(_name, _code) \
+ _name = _code,
enum {
#include "power8-events-list.h"
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists