Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375751
b: refs/heads/master
c: 89c8373
h: refs/heads/master
i:
  375749: 30a71d0
  375747: 68ccb33
  375743: c87b830
v: v3
  • Loading branch information
Steven Rostedt authored and Catalin Marinas committed May 17, 2013
1 parent 783b714 commit f5dc497
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06c9494c0e9bdfcaa14d6d2b096a0ff7abe8494f
refs/heads/master: 89c837351db0b9b52fd572ec8b0445a42e59b75c
13 changes: 0 additions & 13 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2769,24 +2769,11 @@ static void find_module_sections(struct module *mod, struct load_info *info)
mod->trace_events = section_objs(info, "_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_TRACING
mod->trace_bprintk_fmt_start = section_objs(info, "__trace_printk_fmt",
sizeof(*mod->trace_bprintk_fmt_start),
&mod->num_trace_bprintk_fmt);
/*
* This section contains pointers to allocated objects in the trace
* code and not scanning it leads to false positives.
*/
kmemleak_scan_area(mod->trace_bprintk_fmt_start,
sizeof(*mod->trace_bprintk_fmt_start) *
mod->num_trace_bprintk_fmt, GFP_KERNEL);
#endif
#ifdef CONFIG_FTRACE_MCOUNT_RECORD
/* sechdrs[0].sh_size is always zero */
Expand Down

0 comments on commit f5dc497

Please sign in to comment.