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 | d6d7db348c2cc64e71243cab9940ee6778f4317d (patch) | |
tree | bac67f42a02f9368eb4d329f5d79b77d0a6adc18 /library/cpp/lwtrace/shuttle.cpp | |
parent | 8d57b69dee81198a59c39e64704f7dc9f04b4fbf (diff) | |
download | ydb-d6d7db348c2cc64e71243cab9940ee6778f4317d.tar.gz |
Restoring authorship annotation for <serxa@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/lwtrace/shuttle.cpp')
-rw-r--r-- | library/cpp/lwtrace/shuttle.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/library/cpp/lwtrace/shuttle.cpp b/library/cpp/lwtrace/shuttle.cpp index 6ef6982aea1..de506004ee3 100644 --- a/library/cpp/lwtrace/shuttle.cpp +++ b/library/cpp/lwtrace/shuttle.cpp @@ -1,20 +1,20 @@ -#include "shuttle.h" - -#include "probes.h" - -#include <util/system/backtrace.h> -#include <util/stream/str.h> - -namespace NLWTrace { - LWTRACE_USING(LWTRACE_INTERNAL_PROVIDER); - - inline TString CurrentBackTrace() { - TStringStream ss; - FormatBackTrace(&ss); - return ss.Str(); - } - - void TOrbit::LockFailed() { - LWPROBE(OrbitIsUsedConcurrentlyError, CurrentBackTrace()); - } -} // namespace NLWTrace +#include "shuttle.h" + +#include "probes.h" + +#include <util/system/backtrace.h> +#include <util/stream/str.h> + +namespace NLWTrace { + LWTRACE_USING(LWTRACE_INTERNAL_PROVIDER); + + inline TString CurrentBackTrace() { + TStringStream ss; + FormatBackTrace(&ss); + return ss.Str(); + } + + void TOrbit::LockFailed() { + LWPROBE(OrbitIsUsedConcurrentlyError, CurrentBackTrace()); + } +} // namespace NLWTrace |