lkml.org 
[lkml]   [2014]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2014-12-17 17:21    [W:0.860 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site