kpatch/test/integration/data-read-mostly.patch
Josh Poimboeuf 401680a7c9 create-diff-object: tracepoint & jump label fixes
The current approach of trying to include the tracepoint-related
sections doesn't work at all.  The new tracepoints don't show up in
"perf list".

And also, with one patch (issue #219) I've seen a panic in
jump_label_del_module().  I suspect it's because the kernel is confused
by dynamic relocations' changing of the jump table after it was
registered with the jump table code.

I think the best approach for now is to just always exclude these
sections.  It should be harmless, with the only consequence being that
tracepoints and jump labels can't be enabled in patched functions (which
is already the case with the current code anyway).

Fixes #221.
2014-05-30 15:20:08 -05:00

13 lines
263 B
Diff

Index: src/net/core/dev.c
===================================================================
--- src.orig/net/core/dev.c
+++ src/net/core/dev.c
@@ -3609,6 +3609,7 @@ ncls:
case RX_HANDLER_PASS:
break;
default:
+ printk("BUG!\n");
BUG();
}
}