tracing: trace_bprintk() cleanups
Impact: cleanup Remove a few leftovers and clean up the code a bit. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <1236356510-8381-5-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -2158,12 +2158,6 @@ static noinline struct module *load_module(void __user *umod,
|
|||||||
&mod->num_tracepoints);
|
&mod->num_tracepoints);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_TRACE_BPRINTK
|
|
||||||
mod->trace_bprintk_fmt_start = section_objs(hdr, sechdrs, secstrings,
|
|
||||||
"__trace_bprintk_fmt", sizeof(char *),
|
|
||||||
&mod->num_trace_bprintk_fmt);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_MODVERSIONS
|
#ifdef CONFIG_MODVERSIONS
|
||||||
if ((mod->num_syms && !mod->crcs)
|
if ((mod->num_syms && !mod->crcs)
|
||||||
|| (mod->num_gpl_syms && !mod->gpl_crcs)
|
|| (mod->num_gpl_syms && !mod->gpl_crcs)
|
||||||
|
@@ -124,9 +124,6 @@ struct print_entry {
|
|||||||
const char *fmt;
|
const char *fmt;
|
||||||
u32 buf[];
|
u32 buf[];
|
||||||
};
|
};
|
||||||
#ifdef CONFIG_TRACE_BPRINTK
|
|
||||||
extern int trace_bprintk_enable;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define TRACE_OLD_SIZE 88
|
#define TRACE_OLD_SIZE 88
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user