@@ -92,16 +92,6 @@ class DataAggregator : public DataReader {
9292 uint64_t Addr;
9393 };
9494
95- // / Used for parsing specific pre-aggregated input files.
96- struct AggregatedLBREntry {
97- enum Type : char { BRANCH = 0 , FT, FT_EXTERNAL_ORIGIN, TRACE };
98- Location From;
99- Location To;
100- uint64_t Count;
101- uint64_t Mispreds;
102- Type EntryType;
103- };
104-
10595 struct Trace {
10696 uint64_t From;
10797 uint64_t To;
@@ -131,7 +121,6 @@ class DataAggregator : public DataReader {
131121 // / and use them later for processing and assigning profile.
132122 std::unordered_map<Trace, TakenBranchInfo, TraceHash> BranchLBRs;
133123 std::unordered_map<Trace, FTInfo, TraceHash> FallthroughLBRs;
134- std::vector<AggregatedLBREntry> AggregatedLBRs;
135124 std::unordered_map<uint64_t , uint64_t > BasicSamples;
136125 std::vector<PerfMemSample> MemSamples;
137126
@@ -416,14 +405,7 @@ class DataAggregator : public DataReader {
416405 // / F 41be90 41be90 4
417406 // / B 4b1942 39b57f0 3 0
418407 // / B 4b196f 4b19e0 2 0
419- void parsePreAggregated ();
420-
421- // / Parse the full output of pre-aggregated LBR samples generated by
422- // / an external tool.
423- std::error_code parsePreAggregatedLBRSamples ();
424-
425- // / Process parsed pre-aggregated data.
426- void processPreAggregated ();
408+ std::error_code parsePreAggregated ();
427409
428410 // / If \p Address falls into the binary address space based on memory
429411 // / mapping info \p MMI, then adjust it for further processing by subtracting
0 commit comments