lkml.org 
[lkml]   [2016]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH V2 1/1] perf/core: don't find side-band event from all pmus
Em Thu, Mar 31, 2016 at 02:05:46PM +0000, Liang, Kan escreveu:
>
>
> > > +static void perf_event_sb_mask(unsigned int sb_mask,
> > > + perf_event_aux_output_cb output,
> > > + void *data)
> > > +{
> > > + int sb;
> > > +
> > > + for (sb = 0; sb < sb_nr; sb++) {
> > > + if (!(sb_mask & (1 << sb)))
> > > + continue;
> > > + perf_event_sb_iterate(sb, output, data);
> > > + }
> > > +}
> >
> > > @@ -5852,7 +5910,8 @@ static void perf_event_task(struct task_struct
> > > *task,
> > >
> > > perf_event_aux(perf_event_task_output,
> > > &task_event,
> > > - task_ctx);
> > > + task_ctx,
> > > + (1 << sb_task) | (1 << sb_mmap) | (1 << sb_comm));
> > > }
> >
> > So one side-effect of this change is that the above event can be delivered
> > 3 times if you're 'lucky'.
> >
> > Acme; does userspace care?
>
> Hi Arnaldo,
>
> Do you think if it's an issue for userspace?

Trying to get context and decode what you guys wrote...

- Arnaldo

\
 
 \ /
  Last update: 2016-03-31 16:41    [W:0.380 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site