Re: [PATCH 1/5] perf trace: add support for pagefault tracing

From: Stanislav Fomichev
Date: Wed Jun 25 2014 - 07:33:22 EST


> > Also, have you considered using:
> >
> > [root@zoo ~]# perf list exceptions:page_fault*
> > exceptions:page_fault_user [Tracepoint event]
> > exceptions:page_fault_kernel [Tracepoint event]
> > [root@zoo ~]#
> >
> > Instead? I need to check if they're completely equivalent to what we
> > need here...
> Hm, didn't know there are two kinds of fault events :-/
> But it seems these are x86 only.
Maybe we can use these x86 only events to trace userspace fault duration?
It seems we can pair exceptions:page_fault_user and
context_tracking:user_enter. But it's just a theory, need to verify...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/