[PATCH] xenalyze: Add 2 missed VCPUOPs in vcpu_op_str

Gang Ji posted 1 patch 4 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20250605123636.1444304-1-gang.ji@cloud.com
There is a newer version of this series
tools/xentrace/xenalyze.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] xenalyze: Add 2 missed VCPUOPs in vcpu_op_str
Posted by Gang Ji 4 months, 3 weeks ago
The 2 missed ones are: register_runstate_phys_area and
register_vcpu_time_phys_area.

Signed-off-by: Gang Ji <gang.ji@cloud.com>
---
 tools/xentrace/xenalyze.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
index adc96dd7e4..1c13682aaa 100644
--- a/tools/xentrace/xenalyze.c
+++ b/tools/xentrace/xenalyze.c
@@ -6513,7 +6513,8 @@ static const char *vcpu_op_str[] = {
     "register_runstate_memory_area", "set_periodic_timer",
     "stop_periodic_timer", "set_singleshot_timer", "stop_singleshot_timer",
     "register_vcpu_info", "send_nmi", "get_physid",
-    "register_vcpu_time_memory_area",
+    "register_vcpu_time_memory_area", "register_runstate_phys_area",
+    "register_vcpu_time_phys_area",
 };
 
 static const char *sched_op_str[] = {
-- 
2.47.0
Re: [PATCH] xenalyze: Add 2 missed VCPUOPs in vcpu_op_str
Posted by Andrew Cooper 4 months, 3 weeks ago
On 05/06/2025 1:36 pm, Gang Ji wrote:
> The 2 missed ones are: register_runstate_phys_area and
> register_vcpu_time_phys_area.

Fixes: d5df44275e7a ("domain: introduce GADDR based runstate area registration alternative")
Fixes: 60e544a8c58f ("x86: introduce GADDR based secondary time area registration alternative")


> Signed-off-by: Gang Ji <gang.ji@cloud.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

Sorry, I forgot to mention the Fixes tags.  We put them on bugfixes to
help figure out if/how far to backport the fix.

~Andrew