Thread (5 messages) 5 messages, 3 authors, 2016-03-11

Re: [PATCH 2/2] powerpc/perf: Export Power8 generic and cache events to sysfs

From: Sukadev Bhattiprolu <hidden>
Date: 2016-01-15 19:44:39
Also in: lkml

Madhavan Srinivasan [maddy@linux.vnet.ibm.com] wrote:
quoted
+enum {
+#include "power8-events-list.h"
+};
 
IIUC we dont use this enum as a index to
some array, so can we do something like this?
Possibly, but its already a macro soup and we would add another
layer of indirection? I agree though that the #define and #undefs
are not intuitive. Since it is only a few entries for Power8, was
keeping it consistent with Power7.

Sukadev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help