diff options
author | 2009-08-27 05:09:51 +0200 | |
---|---|---|
committer | 2009-08-27 05:09:51 +0200 | |
commit | aeaeae1187d7520f1c5559623f0a149da6a1c96e (patch) | |
tree | abe8ba9315ce8857862d47f4c9cb3f78316fb814 /arch/x86/mm/fault.c | |
parent | tracing/kprobes: Dump the culprit kprobe in case of kprobe recursion (diff) | |
download | linux-dev-aeaeae1187d7520f1c5559623f0a149da6a1c96e.tar.xz linux-dev-aeaeae1187d7520f1c5559623f0a149da6a1c96e.zip |
tracing: Restore the const qualifier for field names and types definition
Restore the const qualifier in field's name and type parameters of
trace_define_field that was lost while solving a conflict.
Fields names and types are defined as builtin constant strings in
static TRACE_EVENTs. But kprobes allocates these dynamically.
That said, we still want to always pass these strings as const char *
in trace_define_fields() to avoid any further accidental writes on
the pointed strings.
Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions