Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
5148fcec
Commit
5148fcec
authored
Jul 22, 2018
by
Brendan Gregg
Committed by
yonghong-song
Jul 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add usdt calls to libbcc (#1890)
add usdt calls to libbcc static library
parent
3d9b687d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/cc/CMakeLists.txt
src/cc/CMakeLists.txt
+7
-1
No files found.
src/cc/CMakeLists.txt
View file @
5148fcec
...
...
@@ -47,10 +47,15 @@ add_library(bcc-shared SHARED
set_target_properties
(
bcc-shared PROPERTIES VERSION
${
REVISION_LAST
}
SOVERSION 0
)
set_target_properties
(
bcc-shared PROPERTIES OUTPUT_NAME bcc
)
if
(
ENABLE_USDT
)
set
(
bcc_usdt_sources usdt/usdt.cc usdt/usdt_args.cc
)
# else undefined
endif
()
add_library
(
bcc-loader-static STATIC
${
bcc_sym_sources
}
${
bcc_util_sources
}
)
target_link_libraries
(
bcc-loader-static elf
)
add_library
(
bcc-static STATIC
${
bcc_common_sources
}
${
bcc_table_sources
}
${
bcc_util_sources
}
)
${
bcc_common_sources
}
${
bcc_table_sources
}
${
bcc_util_sources
}
${
bcc_usdt_sources
}
)
set_target_properties
(
bcc-static PROPERTIES OUTPUT_NAME bcc
)
set
(
bcc-lua-static
${
bcc_common_sources
}
${
bcc_table_sources
}
${
bcc_sym_sources
}
${
bcc_util_sources
}
)
...
...
@@ -76,6 +81,7 @@ if(ENABLE_CPP_API)
endif
()
if
(
ENABLE_USDT
)
list
(
APPEND bcc_api_headers bcc_usdt.h
)
add_subdirectory
(
usdt
)
list
(
APPEND bcc_common_libs_for_a usdt-static
)
list
(
APPEND bcc_common_libs_for_s usdt-static
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment