]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cd530e9ee0dd87482fcff45eea748518c0dcb50
tree139c26b2abd8ea5dd55ee6a4d43622bb24a0ee6a
parentf6cd04f8848806aa77142de9ecf3aa7931ff3d13
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