Signed-off-by: geraldo netto <geraldone...@gmail.com>
---
 scripts/post-processing/scheduler/trace_sched_timings.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/post-processing/scheduler/trace_sched_timings.py 
b/scripts/post-processing/scheduler/trace_sched_timings.py
index 189940d..addc3d1 100644
--- a/scripts/post-processing/scheduler/trace_sched_timings.py
+++ b/scripts/post-processing/scheduler/trace_sched_timings.py
@@ -1,6 +1,6 @@
 import re
 
-l = file("gdb.txt", "rt").readlines()
+lines = file("gdb.txt", "rt").readlines()
 
 # thread->[(time, duration), ...]
 threads = {}
@@ -11,7 +11,7 @@ sched = {}
 # regular expression pattern
 pattern = "(0x.*?)\s+([0-9]+)\s+([0-9]+)\.([0-9]+)\s+(\S+)\s+(.*)\n"
 
-for tr in l:
+for tr in lines:
     (threadp, cpu, sec, microsec, event, info) = re.match(pattern, tr).groups()
     sec = int(sec)
     microsec = int(microsec)
-- 
2.7.4

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to