tracing: correct module boundaries for ftrace_release
commit6e4be6c9d0044778a2ed1c88aafd95bd04f58705
authorjolsa@redhat.com <jolsa@redhat.com>
Wed, 7 Oct 2009 17:00:35 +0000 (7 19:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Oct 2009 19:40:09 +0000 (12 12:40 -0700)
tree7ba410ad1b435426bd121766805f53958a604aad
parent23a27d5c189ac0c1d07182345498d40b73341e2a
tracing: correct module boundaries for ftrace_release

commit e7247a15ff3bbdab0a8b402dffa1171e5c05a8e0 upstream.

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>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/ftrace.h
kernel/trace/ftrace.c