Rename IO command for consistency with other commands
authorAntoine Busque <antoinebusque@gmail.com>
Thu, 9 Apr 2015 17:39:49 +0000 (13:39 -0400)
committerAntoine Busque <antoinebusque@gmail.com>
Thu, 9 Apr 2015 17:39:49 +0000 (13:39 -0400)
linuxautomaton/linuxautomaton/io.py
lttnganalysescli/lttnganalysescli/io.py

index 09b29139e830d45fb727a32cad8e02de5e2a4c79..f7bbb40825b570cdba1e353bb3a142005dfdcf02 100644 (file)
@@ -212,7 +212,6 @@ class IoStateProvider(sp.StateProvider):
             current_syscall.io_rq.cloexec = cloexec
 
     def _track_close(self, event, name, proc):
-        # name unused because there's only one close syscall. Remove?
         proc.current_syscall.io_rq = sv.CloseIORequest(
             event.timestamp, proc.tid, event['fd'])
 
index 2c8fb20041a9a494e36899d96989265fe831e336..9f9ebb211534c64dc4af07a7829c3978dfbb3b82 100644 (file)
@@ -31,7 +31,7 @@ import operator
 import statistics
 
 
-class IoAnalysis(Command):
+class IoAnalysisCommand(Command):
     _VERSION = '0.1.0'
     _DESC = """The I/O command."""
 
@@ -796,34 +796,34 @@ class IoAnalysis(Command):
 # entry point
 def runstats():
     # create command
-    iocmd = IoAnalysis()
+    iocmd = IoAnalysisCommand()
     # execute command
     iocmd.run_stats()
 
 
 def runlatencytop():
     # create command
-    iocmd = IoAnalysis()
+    iocmd = IoAnalysisCommand()
     # execute command
     iocmd.run_latencytop()
 
 
 def runlog():
     # create command
-    iocmd = IoAnalysis()
+    iocmd = IoAnalysisCommand()
     # execute command
     iocmd.run_log()
 
 
 def runfreq():
     # create command
-    iocmd = IoAnalysis()
+    iocmd = IoAnalysisCommand()
     # execute command
     iocmd.run_freq()
 
 
 def runusage():
     # create command
-    iocmd = IoAnalysis()
+    iocmd = IoAnalysisCommand()
     # execute command
     iocmd.run_usage()
This page took 0.042087 seconds and 5 git commands to generate.