Re: [PATCH v9 21/24] perf tools: Add support for the SPF perf event

From: Andi Kleen
Date: Mon Mar 26 2018 - 23:49:58 EST


On Mon, Mar 26, 2018 at 02:44:48PM -0700, David Rientjes wrote:
> On Tue, 13 Mar 2018, Laurent Dufour wrote:
>
> > Add support for the new speculative faults event.
> >
> > Signed-off-by: Laurent Dufour <ldufour@xxxxxxxxxxxxxxxxxx>
>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
>
> Aside: should there be a new spec_flt field for struct task_struct that
> complements maj_flt and min_flt and be exported through /proc/pid/stat?

No. task_struct is already too bloated. If you need per process tracking
you can always get it through trace points.

-Andi