aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-10-18 18:47:21 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-10-18 20:00:10 +0300
commit250d01b5c840eecd68570f15f308b4a41e6061a7 (patch)
tree11dfbdab00d0ce7282be39e0e0caa50a2915010e
parentf478d51d98b2c8a87c65ea71694b91933ac3b7ff (diff)
downloadydb-250d01b5c840eecd68570f15f308b4a41e6061a7.tar.gz
Intermediate changes
-rw-r--r--contrib/libs/cxxsupp/libcxxmsvc/ya.make4
-rw-r--r--yt/yt/library/ytprof/cpu_profiler.h2
-rw-r--r--yt/yt/library/ytprof/external_pprof.h2
-rw-r--r--yt/yt/library/ytprof/heap_profiler.h2
-rw-r--r--yt/yt/library/ytprof/profile.h2
-rw-r--r--yt/yt/library/ytprof/proto/profile.proto (renamed from yt/yt/library/ytprof/profile.proto)0
-rw-r--r--yt/yt/library/ytprof/proto/ya.make11
-rw-r--r--yt/yt/library/ytprof/signal_safe_profiler.h2
-rw-r--r--yt/yt/library/ytprof/symbolize.h2
-rw-r--r--yt/yt/library/ytprof/ya.make2
10 files changed, 19 insertions, 10 deletions
diff --git a/contrib/libs/cxxsupp/libcxxmsvc/ya.make b/contrib/libs/cxxsupp/libcxxmsvc/ya.make
index 1ea8908c12..ec2b78caf6 100644
--- a/contrib/libs/cxxsupp/libcxxmsvc/ya.make
+++ b/contrib/libs/cxxsupp/libcxxmsvc/ya.make
@@ -100,9 +100,7 @@ IF (OS_LINUX)
ENDIF()
IF (CLANG)
- CXXFLAGS(
- GLOBAL -nostdinc++
- )
+ CXXFLAGS(GLOBAL -nostdinc++)
ENDIF()
# The CXX_RT variable controls which C++ runtime is used.
diff --git a/yt/yt/library/ytprof/cpu_profiler.h b/yt/yt/library/ytprof/cpu_profiler.h
index 81519ba368..cd98012d83 100644
--- a/yt/yt/library/ytprof/cpu_profiler.h
+++ b/yt/yt/library/ytprof/cpu_profiler.h
@@ -8,7 +8,7 @@
#include <sys/types.h>
#endif
-#include <yt/yt/library/ytprof/profile.pb.h>
+#include <yt/yt/library/ytprof/proto/profile.pb.h>
#include <yt/yt/library/ytprof/api/api.h>
#include <library/cpp/yt/memory/intrusive_ptr.h>
diff --git a/yt/yt/library/ytprof/external_pprof.h b/yt/yt/library/ytprof/external_pprof.h
index d7855a50b1..a1d9b46350 100644
--- a/yt/yt/library/ytprof/external_pprof.h
+++ b/yt/yt/library/ytprof/external_pprof.h
@@ -1,6 +1,6 @@
#pragma once
-#include <yt/yt/library/ytprof/profile.pb.h>
+#include <yt/yt/library/ytprof/proto/profile.pb.h>
namespace NYT::NYTProf {
diff --git a/yt/yt/library/ytprof/heap_profiler.h b/yt/yt/library/ytprof/heap_profiler.h
index cf86beee52..ca2eb9ae48 100644
--- a/yt/yt/library/ytprof/heap_profiler.h
+++ b/yt/yt/library/ytprof/heap_profiler.h
@@ -2,7 +2,7 @@
#include "public.h"
-#include <yt/yt/library/ytprof/profile.pb.h>
+#include <yt/yt/library/ytprof/proto/profile.pb.h>
#include <util/datetime/base.h>
diff --git a/yt/yt/library/ytprof/profile.h b/yt/yt/library/ytprof/profile.h
index 6283c200d2..32247bf9c7 100644
--- a/yt/yt/library/ytprof/profile.h
+++ b/yt/yt/library/ytprof/profile.h
@@ -2,7 +2,7 @@
#include <util/stream/fwd.h>
-#include <yt/yt/library/ytprof/profile.pb.h>
+#include <yt/yt/library/ytprof/proto/profile.pb.h>
namespace NYT::NYTProf {
diff --git a/yt/yt/library/ytprof/profile.proto b/yt/yt/library/ytprof/proto/profile.proto
index 18eaba3e56..18eaba3e56 100644
--- a/yt/yt/library/ytprof/profile.proto
+++ b/yt/yt/library/ytprof/proto/profile.proto
diff --git a/yt/yt/library/ytprof/proto/ya.make b/yt/yt/library/ytprof/proto/ya.make
new file mode 100644
index 0000000000..cca6db40e3
--- /dev/null
+++ b/yt/yt/library/ytprof/proto/ya.make
@@ -0,0 +1,11 @@
+PROTO_LIBRARY()
+
+EXCLUDE_TAGS(GO_PROTO JAVA_PROTO)
+
+PROTO_NAMESPACE(yt)
+
+SRCS(
+ profile.proto
+)
+
+END()
diff --git a/yt/yt/library/ytprof/signal_safe_profiler.h b/yt/yt/library/ytprof/signal_safe_profiler.h
index d09ba34dd3..e44516861c 100644
--- a/yt/yt/library/ytprof/signal_safe_profiler.h
+++ b/yt/yt/library/ytprof/signal_safe_profiler.h
@@ -2,7 +2,7 @@
#include "queue.h"
-#include <yt/yt/library/ytprof/profile.pb.h>
+#include <yt/yt/library/ytprof/proto/profile.pb.h>
#include <yt/yt/library/ytprof/api/api.h>
#include <library/cpp/yt/memory/intrusive_ptr.h>
diff --git a/yt/yt/library/ytprof/symbolize.h b/yt/yt/library/ytprof/symbolize.h
index 6d99b56484..b10f038352 100644
--- a/yt/yt/library/ytprof/symbolize.h
+++ b/yt/yt/library/ytprof/symbolize.h
@@ -5,7 +5,7 @@
#include <util/generic/string.h>
-#include <yt/yt/library/ytprof/profile.pb.h>
+#include <yt/yt/library/ytprof/proto/profile.pb.h>
#include "build_info.h"
diff --git a/yt/yt/library/ytprof/ya.make b/yt/yt/library/ytprof/ya.make
index 79b92eb715..3ceb7aeda9 100644
--- a/yt/yt/library/ytprof/ya.make
+++ b/yt/yt/library/ytprof/ya.make
@@ -3,7 +3,6 @@ LIBRARY()
INCLUDE(${ARCADIA_ROOT}/yt/ya_cpp.make.inc)
SRCS(
- profile.proto
signal_safe_profiler.cpp
cpu_profiler.cpp
heap_profiler.cpp
@@ -26,6 +25,7 @@ PEERDIR(
library/cpp/yt/backtrace/cursors/frame_pointer
library/cpp/yt/backtrace/cursors/libunwind
yt/yt/library/ytprof/api
+ yt/yt/library/ytprof/proto
contrib/libs/libunwind
contrib/libs/tcmalloc/malloc_extension
library/cpp/svnversion