mirror of
https://github.com/dynup/kpatch
synced 2024-12-12 00:14:35 +00:00
e8f396229d
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.
15 lines
429 B
Diff
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))
|