> OK, so without text_poke, how does it deal with kernel with text pages
> marked read-only after boot ?

Actually, we cheat. If DYNAMIC_FTRACE is configured in, we do not set the
text sections to read only. But if this needs to be fixed, we can easily
change it so that before we do the convesion, we set all text back to
write and after the conversion we set it back to read. The conversion
itself is done via stop_machine, so we do not need to worry about other
things going on.

-- Steve



とりあえず、英語でもチートって言ってもいいということは分かった。

しかし、この仕様だとDYNAMIC_FTRACEは本番環境ではつかえんのぅ