Messages in this thread | | | Date | Wed, 17 Dec 2014 16:45:07 +0100 | From | Jiri Olsa <> | Subject | Re: [PATCH] perf: Avoid horrible stack usage |
| |
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
| |