您好,本站仅作演示所用,请勿下单付款!
商品分类

搭建云手机,ebpf 内核源码, 开启全功能内核

搭建云手机,ebpf 内核源码, 开启全功能内核
搭建云手机,ebpf 内核源码, 开启全功能内核
搭建云手机,ebpf 内核源码, 开启全功能内核
搭建云手机,ebpf 内核源码, 开启全功能内核
搭建云手机,ebpf 内核源码, 开启全功能内核

与ARM64一样的使用。rk3588的SOC提供的内核代码是支持交叉编译的,默认使用GCC编译,在开启eBPF与生成BTF这件事上,其实不用考虑切换到LLVM,现在的GCC提供了CTF技术支持,生成内核的vmlinux BTF文件一点问题也没有。

scripts/config --enable CONFIG_BPF_LSM
scripts/config --enable CONFIG_KGDB
scripts/config --enable CONFIG_FUNCTION_PROFILER
scripts/config --enable CONFIG_FTRACE_SYSCALLS
scripts/config --enable CONFIG_BPF_KPROBE_OVERRIDE
scripts/config --enable CONFIG_TRACE_EVENT_INJECT
scripts/config --enable CONFIG_HIST_TRIGGERS
scripts/config --enable CONFIG_SCHED_TRACER
scripts/config --enable CONFIG_IRQSOFF_TRACER
scripts/config --enable CONFIG_FUNCTION_TRACER
scripts/config --enable CONFIG_STACK_TRACER
scripts/config --disable CONFIG_MAGIC_SYSRQ
scripts/config --enable CONFIG_IKHEADERS
scripts/config --enable CONFIG_DEBUG_INFO_BTF
scripts/config --enable CONFIG_DEBUG_INFO
scripts/config --disable DEBUG_INFO_REDUCED
scripts/config --disable DEBUG_INFO_COMPRESSED
scripts/config --disable DEBUG_INFO_SPLIT
scripts/config --disable DEBUG_INFO_DWARF4
scripts/config --disable GDB_SCRIPTS
scripts/config --disable DEBUG_EFI
scripts/config --disable ARM64_RELOC_TEST

scripts/config --enable CONFIG_BPF_SYSCALL
scripts/config --enable CONFIG_BPF_JIT
scripts/config --enable CONFIG_HAVE_BPF_JIT
scripts/config --enable CONFIG_HAVE_EBPF_JIT
scripts/config --enable CONFIG_MODULES
scripts/config --enable CONFIG_BPF
scripts/config --enable CONFIG_BPF_EVENTS
scripts/config --enable CONFIG_PERF_EVENTS
scripts/config --enable CONFIG_HAVE_PERF_EVENTS
scripts/config --enable CONFIG_PROFILING
scripts/config --enable CONFIG_BPF_UNPRIV_DEFAULT_OFF
scripts/config --enable CONFIG_CGROUP_BPF
scripts/config --enable CONFIG_BPFILTER
scripts/config --module CONFIG_BPFILTER_UMH
scripts/config --module CONFIG_NET_CLS_BPF
scripts/config --module CONFIG_NET_ACT_BPF
scripts/config --enable CONFIG_BPF_STREAM_PARSER
scripts/config --enable CONFIG_LWTUNNEL_BPF
scripts/config --module CONFIG_NETFILTER_XT_MATCH_BPF
scripts/config --enable CONFIG_IPV6_SEG6_BPF
scripts/config --enable CONFIG_KPROBE_EVENTS
scripts/config --enable CONFIG_KPROBES
scripts/config --enable CONFIG_HAVE_KPROBES
scripts/config --enable CONFIG_HAVE_REGS_AND_STACK_ACCESS_API
scripts/config --enable CONFIG_KPROBES_ON_FTRACE
scripts/config --enable CONFIG_FPROBE
scripts/config --enable CONFIG_BPF_KPROBE_OVERRIDE
scripts/config --enable CONFIG_UPROBE_EVENTS
scripts/config --enable CONFIG_ARCH_SUPPORTS_UPROBES
scripts/config --enable CONFIG_UPROBES
scripts/config --enable CONFIG_MMU
scripts/config --enable CONFIG_TRACEPOINTS
scripts/config --enable CONFIG_HAVE_SYSCALL_TRACEPOINTS
scripts/config --enable CONFIG_BPF_LSM
scripts/config --enable CONFIG_BPF_LIRC_MODE2
scripts/config --module CONFIG_VSOCKETS
scripts/config --module CONFIG_VSOCKETS_DIAG
scripts/config --enable CONFIG_VHOST_VSOCK
scripts/config --enable CONFIG_VHOST_NET
scripts/config --enable CONFIG_VSOCKMON
scripts/config --disable SERIAL_CONEXANT_DIGICOLOR
scripts/config --disable SERIAL_SPRD
scripts/config --disable CONFIG_KPROBES_SANITY_TEST
scripts/config --enable KGDB_HONOUR_BLOCKLIST
scripts/config --enable BPF_JIT_ALWAYS_ON
scripts/config --disable CONFIG_TRACEFS_DISABLE_AUTOMOUNT
scripts/config --enable CONFIG_KALLSYMS_ALL
搭建云手机,ebpf 内核源码, 开启全功能内核

https://ecapture.cc/zh/

重要参考

https://www.cnxct.com/

eBPF应用程序开发:快人一步 https://mp.weixin.qq.com/s/rSvTIDCIhhJnBQ5UIpmG8A

ARM与RISC-V开发板/设备编译内核开eBPF选项,最快方法这样干就行! https://mp.weixin.qq.com/s/lrNwArEMsIKsigjhSFprQg

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

联系我们

联系我们

888-888-8888

在线咨询:点击这里给我发消息

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
关注微信
分享本页
返回顶部