Re: [PATCH v2] tools/lib/traceevent, tools/perf: Move struct tep_handler definition in a local header file

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

 



On Fri, 5 Oct 2018 12:31:25 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > +/**
> > + * tep_get_events_count - get the number of defined events
> > + * @pevent: a handle to the tep_handle
> > + *
> > + * This returns number of elements in event array
> > + * If @pevent is NULL, 0 is returned.  
> 
> Here too with the pevent/tep.
> 
> > + */
> > +int tep_get_events_count(struct tep_handle *tep)
> > +{
> > +	if(tep)
> > +		return tep->nr_events;
> > +	return 0;
> > +}
> > +
> > +/**
> > + * tep_set_flag - set event parser flag
> > + * @pevent: a handle to the tep_handle
> > + * @flag: flag, or combination of flags to be set
> > + * can be any combination from enum tep_flag  
> 
> Ditto.

I never committed these changes :-p

So they are not updated. Please fix this on v3.

Thanks!

-- Steve



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux