Re: [PATCH] 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]
- Subject: Re: [PATCH] tools/lib/traceevent, tools/perf: Move struct tep_handler definition in a local header file
- From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
- Date: Mon, 8 Oct 2018 14:32:24 -0300
- Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, Linux Trace Devel <linux-trace-devel@xxxxxxxxxxxxxxx>, Tzvetomir Stoyanov <tstoyanov@xxxxxxxxxx>, Jiri Olsa <jolsa@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Namhyung Kim <namhyung@xxxxxxxxxx>
- In-reply-to: <20181005122846.4b974dbd@gandalf.local.home>
- References: <20181005122225.522155df@gandalf.local.home> <20181005122846.4b974dbd@gandalf.local.home>
- User-agent: Mutt/1.9.2 (2017-12-15)
Em Fri, Oct 05, 2018 at 12:28:46PM -0400, Steven Rostedt escreveu:
> On Fri, 5 Oct 2018 12:22:25 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > +/**
> > + * tep_get_first_event - returns the first event in the events array
> > + * @tep: a handle to the tep_handle
> > + *
> > + * This returns pointer to the first element of the events array
> > + * If @tep is NULL, NULL is returned.
> > + */
> > +struct tep_event_format *tep_get_first_event(struct tep_handle *tep)
> > +{
> > + if(tep && tep->events)
> > + return tep->events[0];
> > +
> > + return NULL;
> > +}
> > +
>
> Hold off on pulling this in. This patch has some whitespace issues that
> need to be cleaned up.
Ah, that if( thing? ?I can fix it here, holler if there is more than
that.
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]