diff options
author | serxa <serxa@yandex-team.ru> | 2022-02-10 16:49:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:08 +0300 |
commit | e5d4696304c6689379ac7ce334512404d4b7836c (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/lwtrace/log_shuttle.cpp | |
parent | d6d7db348c2cc64e71243cab9940ee6778f4317d (diff) | |
download | ydb-e5d4696304c6689379ac7ce334512404d4b7836c.tar.gz |
Restoring authorship annotation for <serxa@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lwtrace/log_shuttle.cpp')
-rw-r--r-- | library/cpp/lwtrace/log_shuttle.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/lwtrace/log_shuttle.cpp b/library/cpp/lwtrace/log_shuttle.cpp index 1e9c00d0ef..695aa90b31 100644 --- a/library/cpp/lwtrace/log_shuttle.cpp +++ b/library/cpp/lwtrace/log_shuttle.cpp @@ -1,32 +1,32 @@ -#include "log_shuttle.h" +#include "log_shuttle.h" #include "probes.h" - -namespace NLWTrace { + +namespace NLWTrace { LWTRACE_USING(LWTRACE_INTERNAL_PROVIDER); #ifdef LWTRACE_DISABLE template <class TDepot> - bool TLogShuttle<TDepot>::DoFork(TShuttlePtr& child) { - Y_UNUSED(child); + bool TLogShuttle<TDepot>::DoFork(TShuttlePtr& child) { + Y_UNUSED(child); return false; } template <class TDepot> - bool TLogShuttle<TDepot>::DoJoin(const TShuttlePtr& child) { - Y_UNUSED(child); + bool TLogShuttle<TDepot>::DoJoin(const TShuttlePtr& child) { + Y_UNUSED(child); return false; } #else template <class TDepot> - bool TLogShuttle<TDepot>::DoFork(TShuttlePtr& child) { - if (child = Executor->RentShuttle()) { - child->SetParentSpanId(GetSpanId()); - Executor->Cast(child)->SetIgnore(true); + bool TLogShuttle<TDepot>::DoFork(TShuttlePtr& child) { + if (child = Executor->RentShuttle()) { + child->SetParentSpanId(GetSpanId()); + Executor->Cast(child)->SetIgnore(true); TParams params; - params.Param[0].CopyConstruct<ui64>(child->GetSpanId()); + params.Param[0].CopyConstruct<ui64>(child->GetSpanId()); bool result = DoAddProbe(&LWTRACE_GET_NAME(Fork).Probe, params, 0); TUserSignature<ui64>::DestroyParams(params); return result; @@ -64,4 +64,4 @@ namespace NLWTrace { template class TLogShuttle<TDurationDepot>; template class TLogShuttle<TCyclicDepot>; -} +} |