From 2e01933dc5c0c1903c1b7f86e453829fee9a541b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 12:17:50 -0300 Subject: kernel: smaller BPF records, syscall tracepoints sorted out in place, the README Syscall entries and kprobes send the event alone (a kernel function's registers are not the thread's; a syscall's are its arguments), a probe's event is not inherited (it failed the target's clone). The per-syscall tracepoints are told entry from exit on the events themselves, not on a second set. The VM has two CPUs and a time limit. README: the kernel's view, with what each mode costs. Co-Authored-By: Claude Fable 5.2 --- build/kernel_vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/kernel_vm.sh') diff --git a/build/kernel_vm.sh b/build/kernel_vm.sh index ac7c576..55ad73c 100644 --- a/build/kernel_vm.sh +++ b/build/kernel_vm.sh @@ -14,6 +14,6 @@ cp "$@" "$stage/" cp /lib64/ld-linux-x86-64.so.2 "$stage/lib64/" cp /usr/lib/libc.so.6 "$stage/usr/lib/" (cd "$stage" && find . | cpio -o -H newc --quiet) >"$stage.cpio" -timeout 120 qemu-system-x86_64 -enable-kvm -cpu host -m 512 -display none -serial stdio -no-reboot \ +timeout 120 qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1024 -display none -serial stdio -no-reboot \ -kernel "/usr/lib/modules/$(uname -r)/vmlinuz" -initrd "$stage.cpio" \ -append "console=ttyS0 quiet panic=-1" -- cgit v1.3