aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/core/mon_alloc/ya.make
blob: 75a655574fd7fab713f9474e15a4fd0d4eb6cda2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
LIBRARY() 
 
OWNER(g:kikimr)
 
IF (PROFILE_MEMORY_ALLOCATIONS) 
    CFLAGS(
        -DPROFILE_MEMORY_ALLOCATIONS
    )
ENDIF() 
 
SRCS( 
    monitor.cpp 
    profiler.cpp 
    stats.cpp 
) 
 
PEERDIR( 
    library/cpp/actors/core
    library/cpp/actors/prof
    library/cpp/html/pcdata
    library/cpp/lfalloc/alloc_profiler
    library/cpp/lfalloc/dbg_info
    library/cpp/malloc/api
    library/cpp/monlib/service/pages
    library/cpp/ytalloc/api
    ydb/core/base
    ydb/core/control
) 
 
IF (ALLOCATOR == "TCMALLOC_256K")
    SRCS(
        tcmalloc.cpp
    )
    PEERDIR(
        contrib/libs/tcmalloc
    )
ELSE()
    SRCS(
        tcmalloc_null.cpp
    )
ENDIF()

END()