commit | 5e79b8a92ea621d13e862155d943d2f4fa447d65 | [log] [tgz] |
---|---|---|
author | Ioannis Ilkos <ilkos@google.com> | Thu May 23 18:09:54 2019 +0100 |
committer | Ioannis Ilkos <ilkos@google.com> | Thu May 23 18:09:54 2019 +0100 |
tree | d0ab58a1419c5615cd8846fc772adb93f13b50d8 | |
parent | 297c7a246caf223aad538505dea5fa28ec19556c [diff] [blame] |
Simplify error and data loss stats Bug: b/133324726 Change-Id: I9fd657025f3f1ece3c46c02eeaf4ef559edcbf43
diff --git a/src/trace_processor/trace_processor_shell.cc b/src/trace_processor/trace_processor_shell.cc index 98ce901..8edba60 100644 --- a/src/trace_processor/trace_processor_shell.cc +++ b/src/trace_processor/trace_processor_shell.cc
@@ -144,7 +144,7 @@ bool PrintStats() { auto it = g_tp->ExecuteQuery( "SELECT name, idx, source, value from stats " - "where severity = 'error' and value > 0"); + "where severity IN ('error', 'data_loss') and value > 0"); bool first = true; for (uint32_t rows = 0; it.Next(); rows++) {