|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xenperf: name "newer" hypercalls
commit 5b3f42001a55f58726201641e18ee8c0f82e2e16
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Tue Jan 4 10:16:48 2022 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Jan 4 10:16:48 2022 +0100
xenperf: name "newer" hypercalls
This table must not have got updated in quite a while; tmem_op for
example has managed to not only appear since then, but also disappear
again (adding a name for it nevertheless, to make more obvious that
something strange is going on if the slot would ever have a non-zero
value).
Also resolve arch_0 and arch_1 to more meaningful names on x86.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
tools/misc/xenperf.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/tools/misc/xenperf.c b/tools/misc/xenperf.c
index a5fbdaa45f..a74fd85b71 100644
--- a/tools/misc/xenperf.c
+++ b/tools/misc/xenperf.c
@@ -18,7 +18,7 @@
#include <string.h>
#define X(name) [__HYPERVISOR_##name] = #name
-const char *hypercall_name_table[64] =
+static const char *const hypercall_name_table[64] =
{
X(set_trap_table),
X(mmu_update),
@@ -57,8 +57,18 @@ const char *hypercall_name_table[64] =
X(sysctl),
X(domctl),
X(kexec_op),
+ X(tmem_op),
+ X(argo_op),
+ X(xenpmu_op),
+ X(dm_op),
+ X(hypfs_op),
+#if defined(__i386__) || defined(__x86_64__)
+ X(mca),
+ [__HYPERVISOR_arch_1] = "paging-domctl-continuation",
+#else
X(arch_0),
X(arch_1),
+#endif
X(arch_2),
X(arch_3),
X(arch_4),
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |