summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 12:17:50 -0300
committerGabriel Schneider <[email protected]>2026-11-10 12:19:28 -0300
commit2e01933dc5c0c1903c1b7f86e453829fee9a541b (patch)
treee3f1599a7c7bfafc4ebbc6a0b13e0134b4436706 /build
parent297943b01e18bb3d1dd41a8d3e220811de25228b (diff)
downloadcomputeranim-2e01933dc5c0c1903c1b7f86e453829fee9a541b.tar.gz
computeranim-2e01933dc5c0c1903c1b7f86e453829fee9a541b.zip
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 <[email protected]>
Diffstat (limited to 'build')
-rw-r--r--build/kernel_vm.sh2
1 files changed, 1 insertions, 1 deletions
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"