summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/brcm/bcm97125cbmb.dts
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2021-03-08 14:48:18 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-03-10 15:30:14 +0100
commit043d7f9713b765f26b4341528d96931eb5446653 (patch)
treedfc9a27a67001da1901cf4000715b8e7b098ff41 /arch/mips/boot/dts/brcm/bcm97125cbmb.dts
parentc024e8f665c92ccbdd389643f3dd9342297810ee (diff)
MIPS: Enable some missed configs in loongson3_defconfig to support bpftrace
bpftrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter (eBPF) available in recent Linux kernels (4.x). bpftrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing (kprobes), user-level dynamic tracing (uprobes), and tracepoints. According to Linux Kernel Requirements in bpftrace/INSTALL.md [1], the kernel needs to be built with the following options: CONFIG_BPF=y CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_HAVE_EBPF_JIT=y CONFIG_BPF_EVENTS=y CONFIG_FTRACE_SYSCALLS=y CONFIG_FUNCTION_TRACER=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_DYNAMIC_FTRACE=y CONFIG_HAVE_KPROBES=y CONFIG_KPROBES=y CONFIG_KPROBE_EVENTS=y CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_UPROBES=y CONFIG_UPROBE_EVENTS=y CONFIG_DEBUG_FS=y So enable some missed configs in loongson3_defconfig to make sure the above configs are set after make loongson3_defconfig. [1] https://github.com/iovisor/bpftrace/blob/master/INSTALL.md Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot/dts/brcm/bcm97125cbmb.dts')
0 files changed, 0 insertions, 0 deletions