@samitouri / QOSamiQemu / commits / e6e8408506

linux-user: Improve formatting for mremap()

Improve slightly the strace output for mremap(). Print the old_address and new_address as hex values, old_size and new_size as unsigned, and the flags as integer. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>

Helge Deller committed Mar 7, 2026 at 20:27 UTC e6e84085069ccf2d083223aef67d008fbee20915
1 file changed +1 -1
linux-user/strace.list
+1 -1
@@ -641,7 +641,7 @@
641 { TARGET_NR_mq_unlink, "mq_unlink" , NULL, print_mq_unlink, NULL },
642 #endif
643 #ifdef TARGET_NR_mremap
644 -{ TARGET_NR_mremap, "mremap" , NULL, NULL, NULL },
644 +{ TARGET_NR_mremap, "mremap" , "%s(%#x,%u,%u,%d,%#x)", NULL, NULL },
645 #endif
646 #ifdef TARGET_NR_msgctl
647 { TARGET_NR_msgctl, "msgctl" , NULL, NULL, NULL },