]> Git Repo - linux.git/commit - tools/perf/builtin-script.c
perf trace: Add OPT_END to option array of perf-trace
authorMasami Hiramatsu <[email protected]>
Fri, 21 Aug 2009 18:56:03 +0000 (14:56 -0400)
committerIngo Molnar <[email protected]>
Fri, 21 Aug 2009 19:42:43 +0000 (21:42 +0200)
commit1909629fb1ec9800cf2cb0091870d6a1c1ca665f
tree1e9860ba5ef7cd187a779d904b54b1b83baa1a7d
parent3f9edc2382d5f7c97c693838abb207a9d6bab1fa
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 <[email protected]>
Cc: systemtap <[email protected]>
Cc: DLE <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Xiao Guangrong <[email protected]>
Cc: Zhaolei <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <20090821185603[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/builtin-trace.c
This page took 0.05317 seconds and 4 git commands to generate.