projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e79f7de
)
Don't duplicate allocation infos when reparsing.
author
Milian Wolff
<mail@milianw.de>
Wed, 16 Dec 2015 10:34:49 +0000
(11:34 +0100)
committer
Milian Wolff
<mail@milianw.de>
Wed, 16 Dec 2015 10:34:49 +0000
(11:34 +0100)
accumulatedtracedata.cpp
patch
|
blob
|
history
diff --git
a/accumulatedtracedata.cpp
b/accumulatedtracedata.cpp
index
0b452af
..
d17fe4b
100644
(file)
--- a/
accumulatedtracedata.cpp
+++ b/
accumulatedtracedata.cpp
@@
-295,6
+295,9
@@
bool AccumulatedTraceData::read(istream& in)
++totalTemporary;
}
} else if (reader.mode() == 'a') {
+ if (reparsing) {
+ continue;
+ }
AllocationInfo info;
if (!(reader >> info.size) || !(reader >> info.traceIndex)) {
cerr << "failed to parse line: " << reader.line() << endl;