Skip to content

Commit f660240

Browse files
author
Tim Murray
committed
Fix pagecache live stats.
Broke this while adding app filtering. Change-Id: Ie9d4ae3b7f99169a15c04b9e2bc11d1cb2a62a95
1 parent 7c4bbdc commit f660240

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pagecache/pagecache.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def read_and_parse_trace_data_live(stdout, stderr, pagecache_stats, app_name):
320320
while True:
321321
try:
322322
line = stdout_queue.get(True, STATS_UPDATE_INTERVAL)
323-
parse_atrace_line(line, pagecache_stats)
323+
parse_atrace_line(line, pagecache_stats, app_name)
324324
except Queue.Empty:
325325
break
326326

@@ -398,7 +398,7 @@ def main():
398398
print >> sys.stderr, ('The command failed')
399399
sys.exit(1)
400400

401-
read_and_parse_trace_data_live(atrace.stdout, atrace.stderr, pagecache_stats, app_name)
401+
read_and_parse_trace_data_live(atrace.stdout, atrace.stderr, pagecache_stats, options.app_name)
402402

403403
if __name__ == "__main__":
404404
main()

0 commit comments

Comments
 (0)