[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 11/14] xenalyze: handle scheduling events
On Mon, 2016-02-15 at 11:51 -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Feb 05, 2016 at 07:35:22PM +0100, Dario Faggioli wrote: > >Â > > @@ -7559,6 +7546,14 @@ void sched_summary_domain(struct domain_data > > *d) > > ÂÂÂÂÂ} > > Â} > > Â > > +void dump_sched_vcpu_action(struct record_info *ri, const char > > *action) > > +{ > > +ÂÂÂÂstruct { > > +ÂÂÂÂÂÂÂÂunsigned int domid, vcpuid; > > +ÂÂÂÂ} * r = (typeof(r))ri->d; > > + > > +ÂÂÂÂprintf(" %s %s d%uv%u\n", ri->dump_header, action, r->domid, > > r->vcpuid); > > +} > > I know that 'sched_switch_process' used to have '} * r =' type but > there > are different pieces of code that do: "} *r =" > (mem_pod_zero_reclaim_process) > Ah, good point. I did not notice that, as, as you say, I just moved/replicated what I found in sched_switch_process. > Could all of the patches use the '*r = ' style? There are more of > them: > > [konrad@x230 xentrace]$ cat xenalyze.c | grep "} \*r ="ÂÂÂ| wc > ÂÂÂÂÂ32ÂÂÂÂÂ128ÂÂÂÂÂ942 > [konrad@x230 xentrace]$ cat xenalyze.c | grep "} \* r =" | wc > ÂÂÂÂÂÂ3ÂÂÂÂÂÂ17ÂÂÂÂÂÂ92 > Yep, I'll do this. > Besides that: > > Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> > Thanks. > on this and the other patches that touch xenalyze.c (that is with the > modification to * r = .. > Sure! Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |