Messages in this thread | | | From | jolsa@redhat ... | Subject | [PATCH 0/2] tracing - wrong scale in ftrace_release | Date | Wed, 7 Oct 2009 19:00:33 +0200 |
| |
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.
I prepared 2 patches:
1/2 - simple fix putting correct core boundaries 2/2 - making ftrace_release function module specific
Please choose whichever version you like more.
wbr, jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com> --- kernel/trace/ftrace.c | 150 +++++++++++------------------------------- kernel/trace/trace.c | 106 ++++++++++++++++++++++++++++++ kernel/trace/trace.h | 35 ++++++++++ kernel/trace/trace_events.c | 60 ++++------------- 4 files changed, 194 insertions(+), 157 deletions(-)
| |