summaryrefslogtreecommitdiffstats
path: root/yt
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2023-10-18 18:47:21 +0300
committerrobot-piglet <[email protected]>2023-10-18 20:00:10 +0300
commit250d01b5c840eecd68570f15f308b4a41e6061a7 (patch)
tree11dfbdab00d0ce7282be39e0e0caa50a2915010e /yt
parentf478d51d98b2c8a87c65ea71694b91933ac3b7ff (diff)
Intermediate changes
Diffstat (limited to 'yt')
-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
9 files changed, 18 insertions, 7 deletions
diff --git a/yt/yt/library/ytprof/cpu_profiler.h b/yt/yt/library/ytprof/cpu_profiler.h
index 81519ba368b..cd98012d83d 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 d7855a50b1f..a1d9b463501 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 cf86beee52f..ca2eb9ae481 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 6283c200d27..32247bf9c77 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 18eaba3e56a..18eaba3e56a 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 00000000000..cca6db40e3d
--- /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 d09ba34dd3d..e44516861c5 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 6d99b56484a..b10f038352d 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 79b92eb7153..3ceb7aeda93 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