automated: linux: rtla: ignore summary info

The rtla tool puts out starting with the "ALL:" line a summary. This
confused the parser and we only report per thread/cpu anyway. So just
ignore it.

Signed-off-by: Daniel Wagner <wagi@monom.org>
diff --git a/automated/linux/rtla/parse_rtla.py b/automated/linux/rtla/parse_rtla.py
index a4dc0d0..f2de95a 100755
--- a/automated/linux/rtla/parse_rtla.py
+++ b/automated/linux/rtla/parse_rtla.py
@@ -55,13 +55,19 @@
     return sysinfo
 
 
+def get_field_name(col):
+    if col[0].endswith(":"):
+        return col[0][:-1]
+    return None
+
+
 def parse_histogram(col, sel, i, hist):
     if i not in hist:
         hist[i] = {}
         hist[i]["histogram"] = {}
 
-    if col[0].endswith(":"):
-        name = col[0][:-1]
+    name = get_field_name(col)
+    if name:
         hist[i][name] = int(col[sel])
     else:
         hist[i]["histogram"][col[0]] = int(col[sel])
@@ -70,11 +76,16 @@
 def parse_osnoise(result_file):
     data = {}
     threads = {}
+    num_cols = 0
+
     for line in result_file.readlines():
         if line.startswith(" "):
             continue
 
         col = line.split()
+        name = get_field_name(col)
+        if name == "ALL":
+            break
 
         num_cols = len(col) - 1
 
@@ -96,11 +107,15 @@
     threads = {}
     irqs = {}
     num_cols = 0
+
     for line in result_file.readlines():
         if line.startswith(" "):
             continue
 
         col = line.split()
+        name = get_field_name(col)
+        if name == "ALL":
+            break
 
         num_cols = len(col) - 1