[PATCH 0/2] perf: fix events overflow in top command

From: Jiri Olsa
Date: Mon Mar 07 2011 - 15:14:07 EST


hi,

there's a way to crash perf top command by specifying multiple
events. Attached is the fix and change to eliminate the events
output in case many events are specified.

attached patches:
1/2 - perf,top: fix events overflow in top command
2/2 - perf,top: dont let events to eat up whole header line

wbr,
jirka
---
tools/perf/util/top.c | 48 ++++++++++++++++++++++++++++++++++--------------
1 files changed, 34 insertions(+), 14 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/