Messages in this thread | | | Date | Fri, 5 Oct 2018 22:00:26 -0400 | From | Steven Rostedt <> | Subject | Re: [POC][RFC][PATCH 1/2] jump_function: Addition of new feature "jump_function" |
| |
On Fri, 05 Oct 2018 21:51:11 -0400 Steven Rostedt <rostedt@goodmis.org> wrote:
> From: "Steven Rostedt (VMware)" <rostedt@goodmis.org> > > Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> > --- > include/asm-generic/vmlinux.lds.h | 4 + > include/linux/jump_function.h | 93 ++++++++ > kernel/Makefile | 2 +- > kernel/jump_function.c | 368 ++++++++++++++++++++++++++++++ > 4 files changed, 466 insertions(+), 1 deletion(-) > create mode 100644 include/linux/jump_function.h > create mode 100644 kernel/jump_function.c > > diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h > index 7b75ff6e2fce..0e205069ff36 100644 > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -257,6 +257,10 @@ > __start___jump_table = .; \ > KEEP(*(__jump_table)) \ > __stop___jump_table = .; \ > + . = ALIGN(8); \ > + __start___dynfunc_table = .; \ > + KEEP(*(__dynfunc_table)) \ > + __stop___dynfunc_table = .; \ > . = ALIGN(8); \ > __start___verbose = .; \ > KEEP(*(__verbose)) \ >
BAH, this is leftover from my first attempt. It's not needed and can be nuked.
-- Steve
| |