Commit dd60805d authored by Brenden Blanco's avatar Brenden Blanco

Merge pull request #552 from evverx/install-tools-old

Install tools/old
parents f67a7af5 1680b32a
...@@ -16,6 +16,7 @@ memleak may introduce significant overhead when tracing processes that allocate ...@@ -16,6 +16,7 @@ memleak may introduce significant overhead when tracing processes that allocate
and free many blocks very quickly. See the OVERHEAD section below. and free many blocks very quickly. See the OVERHEAD section below.
This tool only works on Linux 4.6+. Stack traces are obtained using the new BPF_STACK_TRACE` APIs. This tool only works on Linux 4.6+. Stack traces are obtained using the new BPF_STACK_TRACE` APIs.
For kernels older than 4.6, see the version under tools/old.
.SH REQUIREMENTS .SH REQUIREMENTS
CONFIG_BPF and bcc. CONFIG_BPF and bcc.
.SH OPTIONS .SH OPTIONS
......
...@@ -24,6 +24,7 @@ See http://www.brendangregg.com/FlameGraphs/offcpuflamegraphs.html ...@@ -24,6 +24,7 @@ See http://www.brendangregg.com/FlameGraphs/offcpuflamegraphs.html
This tool only works on Linux 4.6+. It uses the new `BPF_STACK_TRACE` table This tool only works on Linux 4.6+. It uses the new `BPF_STACK_TRACE` table
APIs to generate the in-kernel stack traces. APIs to generate the in-kernel stack traces.
For kernels older than 4.6, see the version under tools/old.
.SH REQUIREMENTS .SH REQUIREMENTS
CONFIG_BPF and bcc. CONFIG_BPF and bcc.
.SH OPTIONS .SH OPTIONS
......
...@@ -13,6 +13,7 @@ The pattern is a string with optional '*' wildcards, similar to file globbing. ...@@ -13,6 +13,7 @@ The pattern is a string with optional '*' wildcards, similar to file globbing.
If you'd prefer to use regular expressions, use the \-r option. If you'd prefer to use regular expressions, use the \-r option.
This tool only works on Linux 4.6+. Stack traces are obtained using the new `BPF_STACK_TRACE` APIs. This tool only works on Linux 4.6+. Stack traces are obtained using the new `BPF_STACK_TRACE` APIs.
For kernels older than 4.6, see the version under tools/old.
.SH REQUIREMENTS .SH REQUIREMENTS
CONFIG_BPF and bcc. CONFIG_BPF and bcc.
......
...@@ -10,6 +10,7 @@ calls, and is a quick way to investigate low frequency kernel functions and ...@@ -10,6 +10,7 @@ calls, and is a quick way to investigate low frequency kernel functions and
their cause. For high frequency kernel functions, see stackcount. their cause. For high frequency kernel functions, see stackcount.
This tool only works on Linux 4.6+. Stack traces are obtained using the new BPF_STACK_TRACE` APIs. This tool only works on Linux 4.6+. Stack traces are obtained using the new BPF_STACK_TRACE` APIs.
For kernels older than 4.6, see the version under tools/old.
.SH REQUIREMENTS .SH REQUIREMENTS
CONFIG_BPF and bcc. CONFIG_BPF and bcc.
.SH OPTIONS .SH OPTIONS
......
...@@ -7,3 +7,4 @@ foreach(FIL ${PY_FILES}) ...@@ -7,3 +7,4 @@ foreach(FIL ${PY_FILES})
endforeach() endforeach()
install(FILES ${C_FILES} DESTINATION share/bcc/tools) install(FILES ${C_FILES} DESTINATION share/bcc/tools)
install(FILES ${TXT_FILES} DESTINATION share/bcc/tools/doc) install(FILES ${TXT_FILES} DESTINATION share/bcc/tools/doc)
add_subdirectory(old)
file(GLOB PY_FILES *.py)
foreach(FIL ${PY_FILES})
get_filename_component(FIL_WE ${FIL} NAME_WE)
install(PROGRAMS ${FIL} DESTINATION share/bcc/tools/old RENAME ${FIL_WE})
endforeach()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment