[PATCH 0/2] tracing - wrong scale in ftrace_release

From: jolsa
Date: Wed Oct 07 2009 - 13:02:09 EST


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@xxxxxxxxxx>
---
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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/