Commits

Lukas Diekmann  committed 59184f4

check track_memory capability with own process, so we don't have to run it with root anymore

  • Participants
  • Parent commits 0a63cb1

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: