From: Olaf Hering Subject: [PATCH 5/7] xenalyze: disable sched_switch_process Date: Mon, 27 Apr 2015 13:22:14 +0000 Message-ID: <1430140936-31279-6-git-send-email-olaf@aepfle.de> References: <1430140936-31279-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1430140936-31279-1-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org, George Dunlap Cc: Wei Liu , Olaf Hering , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org It causes a crash, dump data and return early Signed-off-by: Olaf Hering Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu --- 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,