Em Thu, Oct 17, 2019 at 04:49:08PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Thu, Oct 17, 2019 at 03:37:33PM -0400, Steven Rostedt escreveu:
> > On Thu, 17 Oct 2019 16:28:32 -0300
> > Arnaldo Carvalho de Melo wrote:
> >
> > > Em Thu, Oct 17, 2019 at 02:41:14PM -0400, Steven Rostedt escreveu:
Em Thu, Oct 17, 2019 at 03:37:33PM -0400, Steven Rostedt escreveu:
> On Thu, 17 Oct 2019 16:28:32 -0300
> Arnaldo Carvalho de Melo wrote:
>
> > Em Thu, Oct 17, 2019 at 02:41:14PM -0400, Steven Rostedt escreveu:
> > > On Thu, 17 Oct 2019 14:38:41 -0400
> > > Steven Rostedt wrote:
> > >
> > > >
On Thu, 17 Oct 2019 16:28:32 -0300
Arnaldo Carvalho de Melo wrote:
> Em Thu, Oct 17, 2019 at 02:41:14PM -0400, Steven Rostedt escreveu:
> > On Thu, 17 Oct 2019 14:38:41 -0400
> > Steven Rostedt wrote:
> >
> > > struct tep_event *trace_find_next_event(struct tep_handle *pevent,
> > >
Em Thu, Oct 17, 2019 at 02:41:14PM -0400, Steven Rostedt escreveu:
> On Thu, 17 Oct 2019 14:38:41 -0400
> Steven Rostedt wrote:
>
> > struct tep_event *trace_find_next_event(struct tep_handle *pevent,
> > struct tep_event *event)
> > {
> > + static struct t
On Thu, 17 Oct 2019 14:38:41 -0400
Steven Rostedt wrote:
> struct tep_event *trace_find_next_event(struct tep_handle *pevent,
> struct tep_event *event)
> {
> + static struct tep_event **all_events;
> static int idx;
> int events_count;
> -
On Thu, 17 Oct 2019 12:42:05 -0300
Arnaldo Carvalho de Melo wrote:
> I'll try and continue later, but if you guys can take a look...
Does this fix it for you?
-- Steve
diff --git a/tools/perf/util/trace-event-parse.c
b/tools/perf/util/trace-event-parse.c
index ad74be1f0e42..227629796e32 10064
On Thu, 17 Oct 2019 12:42:05 -0300
Arnaldo Carvalho de Melo wrote:
> I'll try and continue later, but if you guys can take a look...
>
> The first call in that loop:
>
> while ((event = trace_find_next_event(pevent, event)))
>
> works and the event is valid, one of the sched: tracepoints, bu
I'll try and continue later, but if you guys can take a look...
The first call in that loop:
while ((event = trace_find_next_event(pevent, event)))
works and the event is valid, one of the sched: tracepoints, but then
the next call returns this:
struct tep_event *trace_find_next_event(struct
8 matches
Mail list logo