[lkml]   [2010]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH 07/11] perf: Provide PERF_SAMPLE_REGS
On Wed, 2010-03-03 at 23:02 +0100, Frederic Weisbecker wrote:
> On Wed, Mar 03, 2010 at 05:39:43PM +0100, Peter Zijlstra wrote:
> > Simply copy out the provided pt_regs in a u64 aligned fashion.
> >
> > XXX: do task_pt_regs() and get_irq_regs() always clear everything or
> > are we now leaking data?
> It looks like there is a leak in case of non trace syscalls.
> where we don't appear to save r12-15.
> Then task_pt_regs() may leak the top of a process stack...?

Right, I was afraid of that. I've put this PERF_SAMPLE_REGS thing in the
freezer for now as people seem unsure how to deal with it.

 \ /
  Last update: 2010-03-04 10:01    [W:0.084 / U:1.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site