1
0
Fork 0
alistair23-linux/tools/perf
Masami Hiramatsu 1909629fb1 perf trace: Add OPT_END to option array of perf-trace
Add OPT_END to option array of perf-trace for fixing a SEGV bug when
showing perf-trace help message.

Without this patch;
 ./perf trace -h

 usage: perf trace [<options>] <command>

    -D, --dump-raw-trace  dump raw trace in ASCII
    -v, --verbose         be more verbose (show symbol address, etc)
    -f, Segmentation fault

With this patch:
 ./perf trace -h

 usage: perf trace [<options>] <command>

    -D, --dump-raw-trace  dump raw trace in ASCII
    -v, --verbose         be more verbose (show symbol address, etc)

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Cc: Zhaolei <zhaolei@cn.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <20090821185603.11039.62109.stgit@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-08-21 21:42:43 +02:00
..
Documentation perf report: Fix and improve the displaying of per-thread event counters 2009-08-09 13:04:20 +02:00
util perf tools: Make trace event format parser aware of cast to pointers 2009-08-18 00:00:19 +02:00
.gitignore perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/ 2009-06-06 20:33:43 +02:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
Makefile perf tools: Add perf trace 2009-08-17 16:32:39 +02:00
builtin-annotate.c perf tools: Librarize trace_event() helper 2009-08-16 23:06:45 +02:00
builtin-help.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
builtin-list.c perf list: Fix large list output by using the pager 2009-08-13 09:05:48 +02:00
builtin-record.c perf tools: Record events info also when :record suffix is used. 2009-08-18 00:00:19 +02:00
builtin-report.c perf tools: Fix spelling mistake in callchain error 2009-08-18 00:00:18 +02:00
builtin-stat.c perf tools: Librarize trace_event() helper 2009-08-16 23:06:45 +02:00
builtin-top.c perf tools: Librarize trace_event() helper 2009-08-16 23:06:45 +02:00
builtin-trace.c perf trace: Add OPT_END to option array of perf-trace 2009-08-21 21:42:43 +02:00
builtin.h perf tools: Factorize high level dso helpers 2009-08-12 12:02:38 +02:00
command-list.txt perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/ 2009-06-06 20:33:43 +02:00
design.txt perf_counter: Start documenting HAVE_PERF_COUNTERS requirements 2009-06-12 19:37:30 +02:00
perf.c perf tools: Add perf trace 2009-08-17 16:32:39 +02:00
perf.h perf tools: Librarize trace_event() helper 2009-08-16 23:06:45 +02:00