summaryrefslogtreecommitdiff
path: root/pagecache
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2016-03-29 11:12:33 -0700
committerTim Murray <timmurray@google.com>2016-03-29 11:13:02 -0700
commitf6602403e98e6e88e336d1849e1291fac30bb31a (patch)
treee00dc8f8bf9cedafd3fc370b168979248c26a661 /pagecache
parent7c4bbdc60586231e9601c6b199ec68317269ddd6 (diff)
downloadextras-f6602403e98e6e88e336d1849e1291fac30bb31a.tar.gz
Fix pagecache live stats.
Broke this while adding app filtering. Change-Id: Ie9d4ae3b7f99169a15c04b9e2bc11d1cb2a62a95
Diffstat (limited to 'pagecache')
-rwxr-xr-xpagecache/pagecache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pagecache/pagecache.py b/pagecache/pagecache.py
index e7d07744..c822ff00 100755
--- a/pagecache/pagecache.py
+++ b/pagecache/pagecache.py
@@ -320,7 +320,7 @@ def read_and_parse_trace_data_live(stdout, stderr, pagecache_stats, app_name):
while True:
try:
line = stdout_queue.get(True, STATS_UPDATE_INTERVAL)
- parse_atrace_line(line, pagecache_stats)
+ parse_atrace_line(line, pagecache_stats, app_name)
except Queue.Empty:
break
@@ -398,7 +398,7 @@ def main():
print >> sys.stderr, ('The command failed')
sys.exit(1)
- read_and_parse_trace_data_live(atrace.stdout, atrace.stderr, pagecache_stats, app_name)
+ read_and_parse_trace_data_live(atrace.stdout, atrace.stderr, pagecache_stats, options.app_name)
if __name__ == "__main__":
main()