Re: [PATCH] perf: Avoid horrible stack usage
From: Jiri Olsa
Date: Wed Dec 17 2014 - 10:45:46 EST
On Wed, Dec 17, 2014 at 04:35:08PM +0100, Peter Zijlstra wrote:
> On Wed, Dec 17, 2014 at 03:31:05PM +0100, Jiri Olsa wrote:
> > looks like we could also sanitize the perf_ftrace_function_call
> > in the same way.. like below (untested)
> >
> > hum, I just noticed it actually has pt_regs arg ;-)
>
> Bu if it has pt_regs should we not use that instead of filling one out
> again?
yep, I talked to Steven about that and the thing is that
it's not guaranteed on all archs.. I'll send patch that
take that in account
jirka
--
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/