Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: tools/deep_memory_profiler/dmprof.py

Issue 148133003: Better grouping of data in Deep Memory Profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/deep_memory_profiler/policy.linux.browser.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/deep_memory_profiler/dmprof.py
diff --git a/tools/deep_memory_profiler/dmprof.py b/tools/deep_memory_profiler/dmprof.py
index 0cb030a32fe7f3adaa401897413f5e93401efdff..9a8a367d79e7f777056a2febd9619baeff021865 100644
--- a/tools/deep_memory_profiler/dmprof.py
+++ b/tools/deep_memory_profiler/dmprof.py
@@ -61,12 +61,7 @@ Quick Reference:
sys.exit(1)
action = sys.argv.pop(1)
- LOGGER.setLevel(logging.DEBUG)
- handler = logging.StreamHandler()
- handler.setLevel(logging.INFO)
- formatter = logging.Formatter('%(message)s')
- handler.setFormatter(formatter)
- LOGGER.addHandler(handler)
+ logging.basicConfig()
Dai Mikurube (NOT FULLTIME) 2014/01/28 01:49:29 No. Here, I name LOGGER as 'dmprof' at line 17. Th
try:
errorcode = COMMANDS[action]().do(sys.argv)
« no previous file with comments | « no previous file | tools/deep_memory_profiler/policy.linux.browser.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698