lkml.org 
[lkml]   [2017]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv3] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS
On Thu, Feb 09, 2017 at 12:13:22PM -0500, Steven Rostedt wrote:
> Then came along live kernel patching, which I believe this series is
> trying to support. What is needed by pt_regs is a way to "hijack" the
> function being called to instead call the patched function. That is,
> ftrace is not being used for tracing, but in reality, being used to
> modify the running kernel. It is being used to change what function
> gets called. ftrace is just a hook for that mechanism.

So, would I be correct to assume that the only parts of pt_regs that
would be touched are those which contain arguments to the function,
and the register which would contain the return value?

--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

\
 
 \ /
  Last update: 2017-02-09 19:19    [W:0.180 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site