Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177826
b: refs/heads/master
c: a6f5aa1
h: refs/heads/master
v: v3
  • Loading branch information
Catalin Marinas committed Oct 28, 2009
1 parent 322cc20 commit 67f42ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c017b4be3e84176cab10eca5e6c4faeb8cfc6f3e
refs/heads/master: a6f5aa1ea05686ad6e84593a00a04161e6dfb3a3
6 changes: 6 additions & 0 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2380,6 +2380,12 @@ static noinline struct module *load_module(void __user *umod,
"_ftrace_events",
sizeof(*mod->trace_events),
&mod->num_trace_events);
/*
* This section contains pointers to allocated objects in the trace
* code and not scanning it leads to false positives.
*/
kmemleak_scan_area(mod->trace_events, sizeof(*mod->trace_events) *
mod->num_trace_events, GFP_KERNEL);
#endif
#ifdef CONFIG_FTRACE_MCOUNT_RECORD
/* sechdrs[0].sh_size is always zero */
Expand Down

0 comments on commit 67f42ac

Please sign in to comment.