tracing: correct module boundaries for ftrace_release
authorjolsa@redhat.com <jolsa@redhat.com>
Wed, 7 Oct 2009 17:00:35 +0000 (19:00 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 7 Oct 2009 19:52:09 +0000 (15:52 -0400)
commite7247a15ff3bbdab0a8b402dffa1171e5c05a8e0
tree139c26b2abd8ea5dd55ee6a4d43622bb24a0ee6a
parent829b876dfc94ea8be3a47e200d06f1f217bb104f
tracing: correct module boundaries for ftrace_release

When the module is about the unload we release its call records.
The ftrace_release function was given wrong values representing
the module core boundaries, thus not releasing its call records.

Plus making ftrace_release function module specific.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
LKML-Reference: <1254934835-363-3-git-send-email-jolsa@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c