qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 17/17] plugins: add option to dump write argument to syscall


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 17/17] plugins: add option to dump write argument to syscall plugin
Date: Fri, 13 Sep 2024 22:18:22 +0200
User-agent: Mozilla Thunderbird

On 13/9/24 19:26, Alex Bennée wrote:
From: Rowan Hart <rowanbhart@gmail.com>

Signed-off-by: Rowan Hart <rowanbhart@gmail.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Tested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240827215329.248434-3-rowanbhart@gmail.com>
[AJB: tweak fmt string for vaddr]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
vAJB
   - tweak fmt string for PRIu64
---
  docs/about/emulation.rst    |  14 ++++-
  tests/tcg/plugins/syscall.c | 117 ++++++++++++++++++++++++++++++++++++
  2 files changed, 130 insertions(+), 1 deletion(-)


diff --git a/tests/tcg/plugins/syscall.c b/tests/tcg/plugins/syscall.c
index 72e1a5bf90..647f478090 100644
--- a/tests/tcg/plugins/syscall.c
+++ b/tests/tcg/plugins/syscall.c
@@ -22,8 +22,57 @@ typedef struct {
      int64_t errors;
  } SyscallStats;
+struct SyscallInfo {
+    const char *name;
+    int64_t write_sysno;
+};
+

static

+const struct SyscallInfo arch_syscall_info[] = {
+    { "aarch64", 64 },
+    { "aarch64_be", 64 },
+    { "alpha", 4 },
+    { "arm", 4 },
+    { "armeb", 4 },
+    { "avr", -1 },
+    { "cris", -1 },
+    { "hexagon", 64 },
+    { "hppa", -1 },




reply via email to

[Prev in Thread] Current Thread [Next in Thread]