---
 python/src/session.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/src/session.py b/python/src/session.py
index f90e541..df22ea6 100644
--- a/python/src/session.py
+++ b/python/src/session.py
@@ -59,7 +59,7 @@ class SystemWideSession(Session):
       self.cpu_fds.append([])
       cur_cpu_fds = self.cpu_fds[-1]
       for e in self.events:
-        cur_cpu_fds.append(perf_event_open(e, 0, c, -1, 0))
+        cur_cpu_fds.append(perf_event_open(e, -1, c, -1, 0))
 
   def read(self, c, i):
     index = self.cpus.index(c)
-- 
1.7.0.1


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to