[RFC PATCH 2/4] x86/ftrace: Fix use of flags in ftrace_replace_code()

Steven Rostedt rostedt at goodmis.org
Mon May 20 23:44:10 AEST 2019


On Mon, 20 May 2019 09:13:20 -0400
Steven Rostedt <rostedt at goodmis.org> wrote:


> > I haven't yet tested this patch on x86, but this looked wrong so sending 
> > this as a RFC.  
> 
> This code has been through a bit of updates, and I need to go through
> and clean it up. I'll have to take a look and convert "int" to "bool"
> so that "enable" is not confusing.
> 
> Thanks, I think I'll try to do a clean up first, and then this patch
> shouldn't "look wrong" after that.
> 

I'm going to apply the attached two patches. There may be some
conflicts between yours here and these, but nothing that Linus can't
figure out. Do you feel more comfortable with this code, if these
patches are applied?

-- Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ftrace-Make-enable-and-update-parameters-bool-when-a.patch
Type: text/x-patch
Size: 4287 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20190520/73a5a113/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-x86-ftrace-Make-enable-parameter-bool-where-applicab.patch
Type: text/x-patch
Size: 1759 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20190520/73a5a113/attachment-0003.bin>


More information about the Linuxppc-dev mailing list