summaryrefslogtreecommitdiffstats
path: root/scripts/Lindent
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-06-07 04:35:13 +0200
committerSteven Rostedt <rostedt@goodmis.org>2011-06-07 20:47:36 +0200
commit265a5b7ee3eb21a4d0e53e17d59ba6eada91af39 (patch)
tree52ad853f49e8949a307f475115cc682d44753287 /scripts/Lindent
parentftrace: Fix possible undefined return code (diff)
downloadlinux-265a5b7ee3eb21a4d0e53e17d59ba6eada91af39.tar.xz
linux-265a5b7ee3eb21a4d0e53e17d59ba6eada91af39.zip
kprobes/trace: Fix kprobe selftest for gcc 4.6
With gcc 4.6, the self test kprobe function: kprobe_trace_selftest_target() is optimized such that kallsyms does not list it. The kprobes test uses this function to insert a probe and test it. But it will fail the test if the function is not listed in kallsyms. Adding a __used annotation keeps the symbol in the kallsyms table. Suggested-by: David Daney <ddaney@caviumnetworks.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions