aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorsharpeye <sharpeye@yandex-team.ru>2022-02-10 16:49:16 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:16 +0300
commit5ba59e58ca0ed3be83efee8a12c92725dfc5f051 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp
parent9a407601824f50398148409237b90de3f95b5ae3 (diff)
downloadydb-5ba59e58ca0ed3be83efee8a12c92725dfc5f051.tar.gz
Restoring authorship annotation for <sharpeye@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/lwtrace/probe.h10
-rw-r--r--library/cpp/lwtrace/trace.cpp8
2 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/lwtrace/probe.h b/library/cpp/lwtrace/probe.h
index 8ff69611a9..31fa282da3 100644
--- a/library/cpp/lwtrace/probe.h
+++ b/library/cpp/lwtrace/probe.h
@@ -7,7 +7,7 @@
#include <util/datetime/cputimer.h>
#include <util/generic/hide_ptr.h>
-#include <util/generic/scope.h>
+#include <util/generic/scope.h>
#include <util/system/atomic.h>
namespace NLWTrace {
@@ -235,8 +235,8 @@ namespace NLWTrace {
inline void operator()(LWTRACE_FUNCTION_PARAMS) {
TParams params;
LWTRACE_PREPARE_PARAMS(params);
- Y_DEFER { TUserSignature<LWTRACE_TEMPLATE_ARGS>::DestroyParams(params); };
-
+ Y_DEFER { TUserSignature<LWTRACE_TEMPLATE_ARGS>::DestroyParams(params); };
+
TOrbit orbit;
Probe.RunExecutors(orbit, params);
}
@@ -244,8 +244,8 @@ namespace NLWTrace {
inline void Run(TOrbit& orbit, LWTRACE_FUNCTION_PARAMS) {
TParams params;
LWTRACE_PREPARE_PARAMS(params);
- Y_DEFER { TUserSignature<LWTRACE_TEMPLATE_ARGS>::DestroyParams(params); };
-
+ Y_DEFER { TUserSignature<LWTRACE_TEMPLATE_ARGS>::DestroyParams(params); };
+
Probe.RunExecutors(orbit, params);
Probe.RunShuttles(orbit, params); // Executors can create shuttles
}
diff --git a/library/cpp/lwtrace/trace.cpp b/library/cpp/lwtrace/trace.cpp
index 37ee1ea4ac..3c974c85a0 100644
--- a/library/cpp/lwtrace/trace.cpp
+++ b/library/cpp/lwtrace/trace.cpp
@@ -709,10 +709,10 @@ namespace NLWTrace {
TString val1 = (expectedArgumentCount <= 1) ? "" : statement.GetArgument(1).GetValue();
TString val2 = (expectedArgumentCount <= 2) ? "" : statement.GetArgument(2).GetValue();
- const char* tName1 = (expectedArgumentCount <= 1 || arg1.ParamIdx == size_t(-1))
- ? nullptr : probe->Event.Signature.ParamTypes[arg1.ParamIdx];
- const char* tName2 = (expectedArgumentCount <= 2 || arg2.ParamIdx == size_t(-1))
- ? nullptr : probe->Event.Signature.ParamTypes[arg2.ParamIdx];
+ const char* tName1 = (expectedArgumentCount <= 1 || arg1.ParamIdx == size_t(-1))
+ ? nullptr : probe->Event.Signature.ParamTypes[arg1.ParamIdx];
+ const char* tName2 = (expectedArgumentCount <= 2 || arg2.ParamIdx == size_t(-1))
+ ? nullptr : probe->Event.Signature.ParamTypes[arg2.ParamIdx];
if (arg0.Type == OT_VARIABLE) {
switch (statement.GetType()) {