[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181005122846.4b974dbd@gandalf.local.home>
Date: Fri, 5 Oct 2018 12:28:46 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux Trace Devel <linux-trace-devel@...r.kernel.org>,
Tzvetomir Stoyanov <tstoyanov@...are.com>,
Jiri Olsa <jolsa@...hat.com>, Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>
Subject: Re: [PATCH] tools/lib/traceevent, tools/perf: Move struct
tep_handler definition in a local header file
On Fri, 5 Oct 2018 12:22:25 -0400
Steven Rostedt <rostedt@...dmis.org> 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.
Thanks!
-- Steve
Powered by blists - more mailing lists