Commits

Carl Friedrich Bolz  committed ac765b8 Draft

(l.diekmann): check track_memory capability with own process, so we don't have to
run it with root anymore

  • Participants
  • Parent commits 50f5366

Comments (0)

Files changed (1)

File unladen_swallow/perf.py

             pass
 
     try:
-        _ReadSmapsFile(pid=1)
+        import os
+        _ReadSmapsFile(pid=os.getpid())
     except IOError:
         pass
     else: