TimeSampleHistogram: ignore log file
authorDan White <dan@whiteaudio.com>
Sun, 19 Aug 2018 23:09:06 +0000 (18:09 -0500)
committerDan White <dan@whiteaudio.com>
Sun, 19 Aug 2018 23:09:06 +0000 (18:09 -0500)
TimeSampleHistogram

index b50bd108995d01a11012d3d6b5460047b9237c50..b32528b6dbfa48e134a20c17ba1a1bd66f7cd074 100755 (executable)
@@ -162,7 +162,8 @@ files = [f for f in os.listdir(os.environ['HOME'])
             (f.endswith('.pid')
              or f.endswith('.gz')
              or f.endswith('.all')
-             or f.endswith('.tmp'))]
+             or f.endswith('.tmp')
+             or f.endswith('.log'))]
 
 hist = defaultdict(lambda: 0)
 histHier = defaultdict(lambda: 0)