Skip to content

Commit c175cf8

Browse files
author
Brenden Blanco
committed
Package tools into share/bcc/tools
Ticket: #291 Signed-off-by: Brenden Blanco <[email protected]>
1 parent e9a7184 commit c175cf8

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@ set(CMAKE_CXX_FLAGS "-std=c++11 -Wall")
4444
endif()
4545

4646
add_subdirectory(examples)
47+
add_subdirectory(man)
4748
add_subdirectory(src)
4849
add_subdirectory(tests)
50+
add_subdirectory(tools)

man/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add_subdirectory(man8)

man/man8/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
set(FILES biolatency.8 biosnoop.8 funccount.8 funclatency.8 hardirqs.8
2+
killsnoop.8 opensnoop.8 pidpersec.8 softirqs.8 syncsnoop.8 tcpaccept.8
3+
tcpconnect.8 vfscount.8 vfsstat.8)
4+
install(FILES ${FILES} DESTINATION share/bcc/man/man8)

tools/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
set(PROGRAMS biolatency biosnoop funccount funclatency hardirqs killsnoop
2+
opensnoop pidpersec softirqs syncsnoop tcpaccept tcpconnect vfscount vfsstat)
3+
set(C_FILES pidpersec.c vfscount.c vfsstat.c)
4+
set(EXAMPLE_FILES biolatency_example.txt funclatency_example.txt
5+
killsnoop_example.txt pidpersec_example.txt syncsnoop_example.txt
6+
tcpconnect_example.txt vfsstat_example.txt biosnoop_example.txt
7+
funccount_example.txt hardirqs_example.txt opensnoop_example.txt
8+
softirqs_example.txt tcpaccept_example.txt vfscount_example.txt)
9+
install(PROGRAMS ${PROGRAMS} DESTINATION share/bcc/tools)
10+
install(FILES ${C_FILES} DESTINATION share/bcc/tools)
11+
install(FILES ${EXAMPLE_FILES} DESTINATION share/bcc/doc/tools)

0 commit comments

Comments
 (0)