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

Re: [Xen-devel] [PATCH v2 6/8] xenalyze: handle more events in sched_process



On Fri, May 08, Wei Liu wrote:

> On Thu, May 07, 2015 at 10:35:42AM +0000, Olaf Hering wrote:
> > +void sched_class(struct record_info *ri)
> > +{
> > +}
> Huh, this does nothing? Is it because this is only a stub (you haven't
> got around to implement it) or it is supposed to be like this?

Whatever sched_class() may be in that context, someone who is interested
in that output can fill it. Right now its just a stub.

Olaf

> >  void sched_process(struct pcpu_info *p)
> >  {
> >      struct record_info *ri = &p->ri;
> >  
> > -    if(ri->evt.sub == 0xf) {
> > +    if (ri->evt.sub == 1) {
> > +        sched_runstate_process(p);
> > +    } else if (ri->evt.sub == 2) {
> > +        sched_class(ri);

_______________________________________________
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®.