We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264143c commit 6eeca74Copy full SHA for 6eeca74
kernel/trace/ftrace.c
@@ -7063,7 +7063,9 @@ static int ftrace_process_locs(struct module *mod,
7063
pg = start_pg;
7064
while (p < end) {
7065
unsigned long end_offset;
7066
- addr = ftrace_call_adjust(*p++);
+
7067
+ addr = *p++;
7068
7069
/*
7070
* Some architecture linkers will pad between
7071
* the different mcount_loc sections of different
@@ -7075,6 +7077,8 @@ static int ftrace_process_locs(struct module *mod,
7075
7077
continue;
7076
7078
}
7079
7080
+ addr = ftrace_call_adjust(addr);
7081
7082
end_offset = (pg->index+1) * sizeof(pg->records[0]);
7083
if (end_offset > PAGE_SIZE << pg->order) {
7084
/* We should have allocated enough */
0 commit comments