lkml.org 
[lkml]   [2018]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@goodmis.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

\
 
 \ /
  Last update: 2018-10-05 18:29    [W:0.165 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site