kpatch/test/integration/tracepoints-section.patch
Josh Poimboeuf 92a4ca2621 create-diff-object: support tracepoints and related sections
Add support for the following special sections:

- __jump_table
- __tracepoints
- __tracepoints_ptrs
- __tracepoints_strings

Fixes #157.
2014-05-27 12:47:45 -05:00

14 lines
415 B
Diff

Index: src/kernel/timer.c
===================================================================
--- src.orig/kernel/timer.c
+++ src/kernel/timer.c
@@ -1370,6 +1370,8 @@ static void run_timer_softirq(struct sof
{
struct tvec_base *base = __this_cpu_read(tvec_bases);
+ printk("kpatch-test: testing __tracepoints section changes\n");
+
hrtimer_run_pending();
if (time_after_eq(jiffies, base->timer_jiffies))