1
0
mirror of https://github.com/dynup/kpatch synced 2025-04-29 14:37:57 +00:00
kpatch/kpatch-build
Josh Poimboeuf 79bd9f03ee create-diff-object: create __mcount_loc section
For ftrace to be able to trace a patched function, it requires that the
__mcount_loc section contains a pointer to the function, and that the
first instruction of the function is "callq __fentry__".

Normally that work is done by the recordmcount script, but it ignores
functions that aren't in a few standard sections (.text and a few
others).
2014-07-01 08:29:37 -05:00
..
insn insn: get it to compile in create-diff-object 2014-05-30 15:19:57 -05:00
create-diff-object.c create-diff-object: create __mcount_loc section 2014-07-01 08:29:37 -05:00
kpatch-build kpatch-build: detect core dump 2014-06-27 12:08:04 -05:00
list.h create-diff-object: create __mcount_loc section 2014-07-01 08:29:37 -05:00
lookup.c exclude UNDEF global syms from lookup_global_symbol 2014-06-02 20:34:37 -05:00
lookup.h merge add-patches-section functionality into create-obj-diff 2014-05-20 12:44:30 -05:00
Makefile insn: get it to compile in create-diff-object 2014-05-30 15:19:57 -05:00