On Tue, 5 Apr 2016 14:06:26 +0200
Peter Zijlstra wrote:
> On Mon, Apr 04, 2016 at 09:52:47PM -0700, Alexei Starovoitov wrote:
> > avoid memset in perf_fetch_caller_regs, since it's the critical path of all
> > tracepoints.
> > It's called from perf_sw_event_sched, perf_event_task_sched_in and al
On 4/5/16 5:06 AM, Peter Zijlstra wrote:
On Mon, Apr 04, 2016 at 09:52:47PM -0700, Alexei Starovoitov wrote:
avoid memset in perf_fetch_caller_regs, since it's the critical path of all
tracepoints.
It's called from perf_sw_event_sched, perf_event_task_sched_in and all of
perf_trace_##call
with
On Mon, Apr 04, 2016 at 09:52:47PM -0700, Alexei Starovoitov wrote:
> avoid memset in perf_fetch_caller_regs, since it's the critical path of all
> tracepoints.
> It's called from perf_sw_event_sched, perf_event_task_sched_in and all of
> perf_trace_##call
> with this_cpu_ptr(&__perf_regs[..]) wh
avoid memset in perf_fetch_caller_regs, since it's the critical path of all
tracepoints.
It's called from perf_sw_event_sched, perf_event_task_sched_in and all of
perf_trace_##call
with this_cpu_ptr(&__perf_regs[..]) which are zero initialized by perpcu_alloc
and
subsequent call to perf_arch_fet