xref: /OK3568_Linux_fs/buildroot/package/ply/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PLY_ARCH_SUPPORTS
2	bool
3	default y if BR2_aarch64
4	default y if BR2_arm
5	default y if BR2_powerpc
6	default y if BR2_x86_64
7
8comment "ply needs a toolchain w/ dynamic library, headers >= 4.14"
9	depends on BR2_PACKAGE_PLY_ARCH_SUPPORTS
10	depends on BR2_USE_MMU
11	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 || BR2_STATIC_LIBS
12
13config BR2_PACKAGE_PLY
14	bool "ply"
15	depends on BR2_PACKAGE_PLY_ARCH_SUPPORTS
16	depends on BR2_USE_MMU # fork()
17	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 # BPF_JLT
18	depends on !BR2_STATIC_LIBS
19	help
20	  ply is a light-weight dynamic tracer for Linux. By means of
21	  using the BPF it can attach probes to the linux kernel
22	  (e. g. kprobes).
23
24	  It's a small alternative to LLVM based tracers for embedded
25	  systems.
26
27	  When using debugfs needs to be mounted on /sys/kernel/debug.
28
29	  https://wkz.github.io/ply/
30