Commit 8ea9fb9
mm/slub: distinguish and print stack traces in debugfs files
Aggregate objects in slub cache by unique stack trace in addition to
caller address when producing contents of debugfs files alloc_traces and
free_traces in debugfs. Also add the stack traces to the debugfs output.
This makes it much more useful to e.g. debug memory leaks.
Signed-off-by: Oliver Glitta <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Reviewed-and-tested-by: Hyeonggon Yoo <[email protected]>1 parent 5cf909c commit 8ea9fb9
1 file changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5064 | 5064 | | |
5065 | 5065 | | |
5066 | 5066 | | |
| 5067 | + | |
5067 | 5068 | | |
5068 | 5069 | | |
5069 | 5070 | | |
| |||
5116 | 5117 | | |
5117 | 5118 | | |
5118 | 5119 | | |
5119 | | - | |
| 5120 | + | |
5120 | 5121 | | |
| 5122 | + | |
5121 | 5123 | | |
| 5124 | + | |
| 5125 | + | |
| 5126 | + | |
5122 | 5127 | | |
5123 | 5128 | | |
5124 | 5129 | | |
| |||
5133 | 5138 | | |
5134 | 5139 | | |
5135 | 5140 | | |
5136 | | - | |
| 5141 | + | |
| 5142 | + | |
5137 | 5143 | | |
5138 | 5144 | | |
5139 | 5145 | | |
| |||
5158 | 5164 | | |
5159 | 5165 | | |
5160 | 5166 | | |
| 5167 | + | |
| 5168 | + | |
5161 | 5169 | | |
5162 | 5170 | | |
5163 | 5171 | | |
| |||
5180 | 5188 | | |
5181 | 5189 | | |
5182 | 5190 | | |
| 5191 | + | |
5183 | 5192 | | |
5184 | 5193 | | |
5185 | 5194 | | |
| |||
6089 | 6098 | | |
6090 | 6099 | | |
6091 | 6100 | | |
| 6101 | + | |
| 6102 | + | |
| 6103 | + | |
| 6104 | + | |
| 6105 | + | |
| 6106 | + | |
| 6107 | + | |
| 6108 | + | |
| 6109 | + | |
| 6110 | + | |
| 6111 | + | |
| 6112 | + | |
| 6113 | + | |
| 6114 | + | |
| 6115 | + | |
6092 | 6116 | | |
6093 | 6117 | | |
6094 | 6118 | | |
| |||
0 commit comments