]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
perf probe: Fix --line syntax help and document
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 2 Apr 2010 16:50:39 +0000 (12:50 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 2 Apr 2010 17:35:42 +0000 (19:35 +0200)
Just fix typos. --line option accepts ':START-END' syntax,
not ':START:END'.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
LKML-Reference: <20100402165038.23551.62590.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Documentation/perf-probe.txt
tools/perf/builtin-probe.c

index 0f944b3be9e93826557a5be384562625cf0b16b8..bb671b3467742a2cb2d476c94b0778e279fdd149 100644 (file)
@@ -85,7 +85,7 @@ LINE SYNTAX
 -----------
 Line range is descripted by following syntax.
 
- "FUNC[:RLN[+NUM|:RLN2]]|SRC:ALN[+NUM|:ALN2]"
+ "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]"
 
 FUNC specifies the function name of showing lines. 'RLN' is the start line
 number from function entry line, and 'RLN2' is the end line number. As same as
index cf2ffa5a3842e028ba391ff4348ac19ae541ff2d..b3ba25a910fa8096c203c3a9c1e8424051c56119 100644 (file)
@@ -167,7 +167,7 @@ static const struct option options[] = {
                    " with existing name"),
 #ifdef DWARF_SUPPORT
        OPT_CALLBACK('L', "line", NULL,
-                    "FUNC[:RLN[+NUM|:RLN2]]|SRC:ALN[+NUM|:ALN2]",
+                    "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]",
                     "Show source code lines.", opt_show_lines),
        OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
                   "file", "vmlinux pathname"),