|
@@ -166,6 +166,11 @@ func applyCommandOverrides(cmd string, outputFormat int, v variables) variables
|
166
|
166
|
case "disasm", "weblist":
|
167
|
167
|
trim = false
|
168
|
168
|
v.set("addresses", "t")
|
|
169
|
+ // Force the 'noinlines' mode so that source locations for a given address
|
|
170
|
+ // collapse and there is only one for the given address. Without this
|
|
171
|
+ // cumulative metrics would be double-counted when annotating the assembly.
|
|
172
|
+ // This is because the merge is done by address and in case of an inlined
|
|
173
|
+ // stack each of the inlined entries is a separate callgraph node.
|
169
|
174
|
v.set("noinlines", "t")
|
170
|
175
|
case "peek":
|
171
|
176
|
trim = false
|