-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create-diff-object: support tracepoints and related sections
Add support for the following special sections: - __jump_table - __tracepoints - __tracepoints_ptrs - __tracepoints_strings Fixes #157.
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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)) |