kpatch/test/unit
Josh Poimboeuf 56471ffc7c kpatch-build: Support CONFIG_PRINTK_INDEX, part 2
For each printk() call site, CONFIG_PRINTK_INDEX makes a static local
struct named `_entry`, and then adds a pointer to it in the
`.printk_index` section.

When regenerating the `.printk_index` section for the patch module, we
only need to include those entries which are referenced by included
functions.  Luckily this is a common pattern already used by several
other "special" sections.  Add `.printk_index` to the special section
handling logic.

Fixes: #1206

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
2021-08-11 08:47:04 -07:00
..
objs@32ab24dc59 kpatch-build: Support CONFIG_PRINTK_INDEX, part 2 2021-08-11 08:47:04 -07:00
Makefile test/unit: Don't automatically rebase submodule 2019-07-15 18:49:00 -05:00
Makefile.include Merge pull request #1006 from sm00th/unit_fail 2019-07-24 09:58:14 -05:00