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

Re: [Xen-devel] [PATCH 5/7] xenalyze: disable sched_switch_process



On Mon, Apr 27, 2015 at 01:22:14PM +0000, Olaf Hering wrote:
> It causes a crash, dump data and return early
> 
> Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
>  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;
> +


This doesn't look right. You skip all things below.

Wei.

>      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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.