kpatch/test/integration/tracepoints-section.patch
Josh Poimboeuf e8f396229d test: remove annoying printks
The printks in the integration tests aren't very useful and annoyingly
fill up the dmesg buffer.  Remove them by making them contingent on
unlikely conditions.
2014-06-27 13:15:02 -05:00

15 lines
429 B
Diff

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