test-runner: enable no_hash_pointers=1
authorPauli Virtanen <pav@iki.fi>
Sun, 28 May 2023 17:39:16 +0000 (17:39 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
Set no_hash_pointers=1 to avoid printk printing "___ptrval___" for %p.
This happens with test-runner since the kernel is not running long
enough to gather entropy and so refuses to print addresses, and makes
debugging harder.  As test-runner is only used for testing and
debugging, pointer hashing is not needed.

tools/test-runner.c

index 40603b1..c178162 100755 (executable)
@@ -246,7 +246,7 @@ static void start_qemu(void)
 
        snprintf(cmdline, sizeof(cmdline),
                                "console=ttyS0,115200n8 earlyprintk=serial "
-                               "rootfstype=9p "
+                               "no_hash_pointers=1 rootfstype=9p "
                                "rootflags=trans=virtio,version=9p2000.u "
                                "acpi=off pci=noacpi noapic quiet ro init=%s "
                                "TESTHOME=%s TESTDBUS=%u TESTDAEMON=%u "