diff options
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c index ec53f594e9c9..650b038ae520 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -2770,6 +2770,9 @@ static int find_module_sections(struct module *mod, struct load_info *info) | |||
2770 | mod->trace_events = section_objs(info, "_ftrace_events", | 2770 | mod->trace_events = section_objs(info, "_ftrace_events", |
2771 | sizeof(*mod->trace_events), | 2771 | sizeof(*mod->trace_events), |
2772 | &mod->num_trace_events); | 2772 | &mod->num_trace_events); |
2773 | mod->trace_enums = section_objs(info, "_ftrace_enum_map", | ||
2774 | sizeof(*mod->trace_enums), | ||
2775 | &mod->num_trace_enums); | ||
2773 | #endif | 2776 | #endif |
2774 | #ifdef CONFIG_TRACING | 2777 | #ifdef CONFIG_TRACING |
2775 | mod->trace_bprintk_fmt_start = section_objs(info, "__trace_printk_fmt", | 2778 | mod->trace_bprintk_fmt_start = section_objs(info, "__trace_printk_fmt", |