aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'logger/src/autodep/logfs/fstracer.py')
-rw-r--r--logger/src/autodep/logfs/fstracer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/logger/src/autodep/logfs/fstracer.py b/logger/src/autodep/logfs/fstracer.py
index 66b1de3..c724b61 100644
--- a/logger/src/autodep/logfs/fstracer.py
+++ b/logger/src/autodep/logfs/fstracer.py
@@ -74,7 +74,7 @@ def getparentpid(pid):
if match==None:
print "Failed to get parent process. Format of /proc/<pid>/stat is incorrect. Did you change a kernel?"
return 1
-
+
return int(match.group(1))
except IOError,e:
@@ -200,9 +200,10 @@ def getfsevents(prog_name,arguments,approach="hooklib",filterproc=defaultfilter)
continue
message=record.split("\0")
- #if message[3]!="unknown":
+ #if message[3]=="compile": #and message[1]=="debug":
#print message
+
try:
if message[4]=="ASKING":
if filterproc(message[1],message[2],message[3]):