The requirements of ftrace for live kernel patching

This proposal has been rejected.

*

One Line Summary

What requirements are needed from ftrace for kpatch and kGraft.

Abstract

Both kpatch and kGraft use the ftrace facility for their implementation. But the ftrace infrastructure is not yet designed for such a use. The changes needed to be made to ftrace will be discussed. For example, how to handle mixing patching callbacks with tracing callbacks. What to do with multiple users that may want to change the instruction pointer (ip) for the callback function. Should there be a direct jump to a new function that ftrace is aware of instead of calling ftrace itself.

Tags

ftrace, kpatch, kgraft

Speaker