lkml.org 
[lkml]   [2019]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 00/14 v2] function_graph: Rewrite to allow multiple users
On Wed, 22 May 2019 23:19:55 +0900
Masami Hiramatsu <mhiramat@kernel.org> wrote:

> > void *fgraph_reserve_data(int size_in_bytes)
> >
> > Allows the entry function to reserve up to 4 words of data on
> > the shadow stack. On success, a pointer to the contents is returned.
> > This may be only called once per entry function.
> >
> > void *fgraph_retrieve_data(void)
> >
> > Allows the return function to retrieve the reserved data that was
> > allocated by the entry function.
>
> Nice! this seems good for kretprobe too. I'll review and try to port
> kretprobe on this framework.

If you rather pull from my git repo and not download all the patches,
they are currently available in my ftrace/fgraph-multi branch.

-- Steve

\
 
 \ /
  Last update: 2019-05-22 16:41    [W:0.159 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site