[PATCH 0/2] trace-cmd: Fix a couple of crashes.

From: David Daney
Date: Mon Jul 19 2010 - 20:47:34 EST


I have been playing around with trace-cmd and kernelshark on mips64
and have encountered a couple of crashes.

These two patches fix the crashes. But what is slightly less clear, is
if they may cause valid trace events to be omitted. I don't think they do.

In any event here they are.

David Daney (2):
trace-cmd: Don't try to read unmapped memory (v2).
trace-cmd: Don't SIGSEGV in trace-graph.c:load_handle

parse-events.c | 5 +++++
trace-graph.c | 2 ++
trace-input.c | 3 ++-
3 files changed, 9 insertions(+), 1 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/