OLD | NEW |
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 Loading... |
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 ] |
OLD | NEW |