mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Add support for callbacks for gauges/counters, restore process stat metrics
This commit is contained in:
parent
e93e4cc26d
commit
1cad305e58
8 changed files with 103 additions and 81 deletions
|
@ -234,13 +234,13 @@ if (ZEEK_STANDALONE)
|
|||
endif ()
|
||||
# Tell zeek_target_link_libraries to add library dependencies as PRIVATE.
|
||||
set(zeek_exe_access PRIVATE)
|
||||
else ()
|
||||
add_library(zeek_lib STATIC)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
target_link_libraries(zeek_exe PRIVATE util)
|
||||
target_link_libraries(zeek_exe PRIVATE procstat)
|
||||
endif ()
|
||||
else ()
|
||||
add_library(zeek_lib STATIC)
|
||||
endif ()
|
||||
|
||||
if (TARGET zeek_lib)
|
||||
|
@ -258,6 +258,7 @@ if (TARGET zeek_lib)
|
|||
target_link_libraries(zeek_exe PRIVATE util)
|
||||
target_link_libraries(zeek_exe PRIVATE procstat)
|
||||
endif ()
|
||||
|
||||
endif ()
|
||||
|
||||
# When building our fuzzers, we also need one extra top-level target that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue