Skip to content

Commit

Permalink
Package tools into share/bcc/tools
Browse files Browse the repository at this point in the history
Ticket: iovisor#291
Signed-off-by: Brenden Blanco <[email protected]>
  • Loading branch information
Brenden Blanco committed Nov 27, 2015
1 parent e9a7184 commit c175cf8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ set(CMAKE_CXX_FLAGS "-std=c++11 -Wall")
endif()

add_subdirectory(examples)
add_subdirectory(man)
add_subdirectory(src)
add_subdirectory(tests)
add_subdirectory(tools)
1 change: 1 addition & 0 deletions man/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add_subdirectory(man8)
4 changes: 4 additions & 0 deletions man/man8/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
set(FILES biolatency.8 biosnoop.8 funccount.8 funclatency.8 hardirqs.8
killsnoop.8 opensnoop.8 pidpersec.8 softirqs.8 syncsnoop.8 tcpaccept.8
tcpconnect.8 vfscount.8 vfsstat.8)
install(FILES ${FILES} DESTINATION share/bcc/man/man8)
11 changes: 11 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
set(PROGRAMS biolatency biosnoop funccount funclatency hardirqs killsnoop
opensnoop pidpersec softirqs syncsnoop tcpaccept tcpconnect vfscount vfsstat)
set(C_FILES pidpersec.c vfscount.c vfsstat.c)
set(EXAMPLE_FILES biolatency_example.txt funclatency_example.txt
killsnoop_example.txt pidpersec_example.txt syncsnoop_example.txt
tcpconnect_example.txt vfsstat_example.txt biosnoop_example.txt
funccount_example.txt hardirqs_example.txt opensnoop_example.txt
softirqs_example.txt tcpaccept_example.txt vfscount_example.txt)
install(PROGRAMS ${PROGRAMS} DESTINATION share/bcc/tools)
install(FILES ${C_FILES} DESTINATION share/bcc/tools)
install(FILES ${EXAMPLE_FILES} DESTINATION share/bcc/doc/tools)

0 comments on commit c175cf8

Please sign in to comment.