summaryrefslogtreecommitdiffstats
path: root/library/cpp/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/malloc')
-rw-r--r--library/cpp/malloc/galloc/malloc-info.cpp9
-rw-r--r--library/cpp/malloc/galloc/ya.make15
2 files changed, 24 insertions, 0 deletions
diff --git a/library/cpp/malloc/galloc/malloc-info.cpp b/library/cpp/malloc/galloc/malloc-info.cpp
new file mode 100644
index 00000000000..fbcfa7ee06a
--- /dev/null
+++ b/library/cpp/malloc/galloc/malloc-info.cpp
@@ -0,0 +1,9 @@
+#include <library/cpp/malloc/api/malloc.h>
+
+using namespace NMalloc;
+
+TMallocInfo NMalloc::MallocInfo() {
+ TMallocInfo r;
+ r.Name = "tcmalloc";
+ return r;
+}
diff --git a/library/cpp/malloc/galloc/ya.make b/library/cpp/malloc/galloc/ya.make
new file mode 100644
index 00000000000..b6646a6cf62
--- /dev/null
+++ b/library/cpp/malloc/galloc/ya.make
@@ -0,0 +1,15 @@
+LIBRARY()
+
+NO_UTIL()
+ALLOCATOR_IMPL()
+
+PEERDIR(
+ library/cpp/malloc/api
+ contrib/deprecated/galloc
+)
+
+SRCS(
+ malloc-info.cpp
+)
+
+END()