It causes a crash, dump data and return early

Signed-off-by: Olaf Hering <o...@aepfle.de>
Cc: Ian Jackson <ian.jack...@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
Cc: Ian Campbell <ian.campb...@citrix.com>
Cc: Wei Liu <wei.l...@citrix.com>
---
 tools/misc/xenalyze.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/misc/xenalyze.c b/tools/misc/xenalyze.c
index 0566d00..67b44b5 100644
--- a/tools/misc/xenalyze.c
+++ b/tools/misc/xenalyze.c
@@ -7449,6 +7449,10 @@ void sched_switch_process(struct pcpu_info *p)
         unsigned int prev_dom, prev_vcpu, next_dom, next_vcpu;
     } * r = (typeof(r))ri->d;
 
+    printf(" %s __enter_scheduler prev d%uv%u new d%uv%u\n"
+            ri->dump_header, ri->d[0], ri->d[1], ri->d[2], ri->d[3]);
+    return;
+
     if(opt.dump_all)
         printf("%s sched_switch prev d%uv%u next d%uv%u\n",
                ri->dump_header,

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to