ca1afcb217
ply uses BPF_JLT is available only since kernel 4.14 with:
92b31a9af7
Fixes:
- http://autobuild.buildroot.org/results/632187ceb7ca5e2dc5a3e5185860ddb874b4274c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
630 B
Plaintext
24 lines
630 B
Plaintext
config BR2_PACKAGE_PLY_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_aarch64
|
|
default y if BR2_arm
|
|
default y if BR2_powerpc
|
|
default y if BR2_x86_64
|
|
|
|
config BR2_PACKAGE_PLY
|
|
bool "ply"
|
|
depends on BR2_PACKAGE_PLY_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 # BPF_JLT
|
|
help
|
|
ply is a light-weight dynamic tracer for Linux. By means of
|
|
using the BPF it can attach probes to the linux kernel
|
|
(e. g. kprobes).
|
|
|
|
It's a small alternative to LLVM based tracers for embedded
|
|
systems.
|
|
|
|
When using debugfs needs to be mounted on /sys/kernel/debug.
|
|
|
|
https://wkz.github.io/ply/
|