]> git.cworth.org Git - apitrace/blobdiff - common/trace_writer.hpp
common: rename trace_backtrace.* -> os_backtrace.*
[apitrace] / common / trace_writer.hpp
index 35a828f61bd72304d9c80ba228ff2c566ffd1057..4c9547788c8e28b5833943744b86f18f533280dd 100644 (file)
@@ -36,7 +36,6 @@
 #include <vector>
 
 #include "trace_model.hpp"
-#include "trace_backtrace.hpp"
 
 namespace trace {
     class File;
@@ -50,6 +49,7 @@ namespace trace {
         std::vector<bool> structs;
         std::vector<bool> enums;
         std::vector<bool> bitmasks;
+        std::vector<bool> frames;
 
     public:
         Writer();
@@ -71,7 +71,7 @@ namespace trace {
         inline void endReturn(void) {}
 
         void beginBacktrace(unsigned num_frames);
-        void writeStackFrame(const RawStackFrame &frame);
+        void writeStackFrame(const RawStackFrame *frame);
         inline void endBacktrace(void) {}
 
         void beginArray(size_t length);