aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/log_shuttle.cpp
diff options
context:
space:
mode:
authorserxa <serxa@yandex-team.ru>2022-02-10 16:49:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:08 +0300
commitd6d7db348c2cc64e71243cab9940ee6778f4317d (patch)
treebac67f42a02f9368eb4d329f5d79b77d0a6adc18 /library/cpp/lwtrace/log_shuttle.cpp
parent8d57b69dee81198a59c39e64704f7dc9f04b4fbf (diff)
downloadydb-d6d7db348c2cc64e71243cab9940ee6778f4317d.tar.gz
Restoring authorship annotation for <serxa@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/lwtrace/log_shuttle.cpp')
-rw-r--r--library/cpp/lwtrace/log_shuttle.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/lwtrace/log_shuttle.cpp b/library/cpp/lwtrace/log_shuttle.cpp
index 695aa90b31..1e9c00d0ef 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>;
-}
+}