X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_writer_local.hpp;h=358455a955a6d2bfe6c0fdd409a734e04a5e312d;hb=6f80233c1a7251df2edb1b9f93cee37f4fc152f7;hp=6e4abc44d60fad024e72fe347398c4badcaf32c1;hpb=2e0cc860b7002600281ff69bf08b7e502a5cc27f;p=apitrace diff --git a/common/trace_writer_local.hpp b/common/trace_writer_local.hpp index 6e4abc4..358455a 100644 --- a/common/trace_writer_local.hpp +++ b/common/trace_writer_local.hpp @@ -76,6 +76,8 @@ namespace trace { */ os::ProcessId pid; + void checkProcessId(); + public: /** * Should never called directly -- use localWriter singleton below @@ -89,8 +91,8 @@ namespace trace { /** * It will acquire the mutex. */ - unsigned beginEnter(const FunctionSig *sig); - + unsigned beginEnter(const FunctionSig *sig, bool fake = false); + /** * It will release the mutex. */