]> git.cworth.org Git - apitrace/blobdiff - common/trace_model.hpp
Use ids for frames.
[apitrace] / common / trace_model.hpp
index 531a79a64607a9abc2788176b5c2a6b9fdb3c5d8..d04fe5eb4086ae3d4166426d6d030cc678a1e166 100644 (file)
@@ -349,6 +349,7 @@ public:
 };
 
 struct RawStackFrame {
+    Id id;
     const char * module;
     const char * function;
     const char * filename;
@@ -369,7 +370,7 @@ public:
     ~StackFrame();
 };
 
-typedef std::vector<StackFrame> Backtrace;
+typedef std::vector<StackFrame *> Backtrace;
 
 class Visitor
 {