From 7699304f9b4301c1dbe07c7304514c0d422b1e06 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 26 Nov 2018 17:37:04 -0500 Subject: [PATCH] graphstats: Change stats filter to use print_time instead of bytes_write=0 Signed-off-by: Kevin O'Connor --- scripts/graphstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/graphstats.py b/scripts/graphstats.py index 26e6c606..b018bb12 100755 --- a/scripts/graphstats.py +++ b/scripts/graphstats.py @@ -43,7 +43,7 @@ def parse_log(logname, mcu): if name in apply_prefix: name = prefix + name keyparts[name] = val - if keyparts.get('bytes_write', '0') == '0': + if 'print_time' not in keyparts: continue keyparts['#sampletime'] = float(parts[1][:-1]) out.append(keyparts)