forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request iovisor#296 from iovisor/bblanco_dev
Add bcc-tools package
- Loading branch information
Showing
7 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,9 @@ pushd build | |
make install/strip DESTDIR=%{buildroot} | ||
|
||
%changelog | ||
* Sun Nov 29 2015 Brenden Blanco <[email protected]> - 0.1.3-1 | ||
- Add bcc-tools package | ||
|
||
* Mon Oct 12 2015 Brenden Blanco <[email protected]> - 0.1.2-1 | ||
- Add better version numbering into libbcc.so | ||
|
||
|
@@ -56,6 +59,11 @@ Summary: Python bindings for BPF Compiler Collection (BCC) | |
%description -n python-bcc | ||
Python bindings for BPF Compiler Collection (BCC) | ||
|
||
%package -n bcc-tools | ||
Summary: Command line tools for BPF Compiler Collection (BCC) | ||
%description -n bcc-tools | ||
Command line tools for BPF Compiler Collection (BCC) | ||
|
||
%files -n python-bcc | ||
%{python_sitelib}/bcc* | ||
|
||
|
@@ -72,3 +80,7 @@ Python bindings for BPF Compiler Collection (BCC) | |
%exclude /usr/share/bcc/examples/*/*.pyo | ||
%exclude /usr/share/bcc/examples/*/*/*.pyc | ||
%exclude /usr/share/bcc/examples/*/*/*.pyo | ||
|
||
%files -n bcc-tools | ||
/usr/share/bcc/tools/* | ||
/usr/share/bcc/man/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
usr/share/bcc/tools/* | ||
usr/share/bcc/man/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_subdirectory(man8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/tools/doc) |