Add heap graph references.
Bug: 136210868
Change-Id: If374ec8f09f2a7e8709d461a0aec8c216f381c9d
diff --git a/src/trace_processor/trace_storage.h b/src/trace_processor/trace_storage.h
index 536fcd5..2f6f77e 100644
--- a/src/trace_processor/trace_storage.h
+++ b/src/trace_processor/trace_storage.h
@@ -1284,6 +1284,14 @@
return &heap_graph_object_table_;
}
+ const tables::HeapGraphReferenceTable& heap_graph_reference_table() const {
+ return heap_graph_reference_table_;
+ }
+
+ tables::HeapGraphReferenceTable* mutable_heap_graph_reference_table() {
+ return &heap_graph_reference_table_;
+ }
+
const tables::GpuTrackTable& gpu_track_table() const {
return gpu_track_table_;
}
@@ -1405,6 +1413,8 @@
// Symbol tables (mappings from frames to symbol names)
tables::SymbolTable symbol_table_{&string_pool_, nullptr};
tables::HeapGraphObjectTable heap_graph_object_table_{&string_pool_, nullptr};
+ tables::HeapGraphReferenceTable heap_graph_reference_table_{&string_pool_,
+ nullptr};
tables::VulkanMemoryAllocationsTable vulkan_memory_allocations_table_{
&string_pool_, nullptr};