Add support for PAPI projections tracing on Cray XE
[charm.git] / src / ck-perf / trace-projections.h
index b13dee81764d877a103c56b43ebd93034bd6299f..b2601a4c8aec75c68130dee2a9bbebc94fd50947 100644 (file)
 
 #if CMK_HAS_COUNTER_PAPI
 #include <papi.h>
 
 #if CMK_HAS_COUNTER_PAPI
 #include <papi.h>
+#ifdef USE_SPP_PAPI
+#define NUMPAPIEVENTS 6
+#else
 #define NUMPAPIEVENTS 2
 #endif
 #define NUMPAPIEVENTS 2
 #endif
+#endif
 
 #if CMK_PROJECTIONS_USE_ZLIB
 #include <zlib.h>
 
 #if CMK_PROJECTIONS_USE_ZLIB
 #include <zlib.h>