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

Side by Side Diff: tools/memory_inspector/classification_rules/default/mmap-android.py

Issue 867263002: [memory-inspector] UI fixes + bump version number for release. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This is a generic rule-tree for classifying memory maps on Android. It is a 5 # This is a generic rule-tree for classifying memory maps on Android. It is a
6 # simple hierarchical python data structure (list of dictionaries). Some rules: 6 # simple hierarchical python data structure (list of dictionaries). Some rules:
7 # - Order matters: what is caught by a node is not caught by its siblings. 7 # - Order matters: what is caught by a node is not caught by its siblings.
8 # - Hierarchy matters: what is caught by a node is propagated to its children 8 # - Hierarchy matters: what is caught by a node is propagated to its children
9 # (if any). Only one of its children, though, will get the data. 9 # (if any). Only one of its children, though, will get the data.
10 # - Non leaf nodes have an extra implicit node called {node-name}-other: if 10 # - Non leaf nodes have an extra implicit node called {node-name}-other: if
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'mmap_file': r'\.jar', 69 'mmap_file': r'\.jar',
70 }, 70 },
71 ], 71 ],
72 }, 72 },
73 { 73 {
74 'name': 'Devices', 74 'name': 'Devices',
75 'mmap_file': r'^/dev/', 75 'mmap_file': r'^/dev/',
76 'children': [ 76 'children': [
77 { 77 {
78 'name': 'GPU', 78 'name': 'GPU',
79 'mmap_file': r'(nv)|(mali)', 79 'mmap_file': r'(nv)|(mali)|(kgsl)',
80 }, 80 },
81 ], 81 ],
82 }, 82 },
83 ] 83 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698