From f509a0a51732bcbdd8fafd07db0a3d5553776256 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 5 Jul 2024 15:09:59 +0200 Subject: [PATCH] Enable ftrace at boot For now we only show init calls. --- lagarto-ox.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 0a96131..319cb5c 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -212,7 +212,8 @@ fdt set /memory@80000000 reg <0x0 0x80000000 0x0 0xc0000000> # Set kernel options - setenv bootargs "root=/dev/ram0 loglevel=7 debug rw earlycon=sbi boot.trace console=hvc0 debug1 init=${init}" + setenv debugargs "debug1 trace_options=sym-addr trace_event=initcall:* tp_printk trace_buf_size=1M" + setenv bootargs "root=/dev/ram0 loglevel=7 debug rw earlycon=sbi boot.trace console=hvc0 \''${debugargs} init=${init}" EOF