]> git.cworth.org Git - apitrace/blobdiff - common/trace_writer_local.hpp
Remove FunctionSig::backtrace member.
[apitrace] / common / trace_writer_local.hpp
index 1da22501d41dbe52291bacd5b1679d3073734885..1859354055c672f39b25ec96ea1ccd49a1f1d84d 100644 (file)
 
 namespace trace {
 
-    extern FunctionSig memcpy_sig;
-    extern FunctionSig malloc_sig;
-    extern FunctionSig free_sig;
-    extern FunctionSig realloc_sig;
+    extern const FunctionSig memcpy_sig;
+    extern const FunctionSig malloc_sig;
+    extern const FunctionSig free_sig;
+    extern const FunctionSig realloc_sig;
 
     /**
      * A specialized Writer class, mean to trace the current process.
@@ -83,7 +83,7 @@ namespace trace {
         /**
          * It will acquire the mutex.
          */
-        unsigned beginEnter(FunctionSig *sig);
+        unsigned beginEnter(const FunctionSig *sig, bool fake = false);
 
         /**
          * It will release the mutex.