mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
perf probe: Fix --line syntax help and document
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>
This commit is contained in:
parent
11164cd4f6
commit
085ea739ad
@ -85,7 +85,7 @@ LINE SYNTAX
|
|||||||
-----------
|
-----------
|
||||||
Line range is descripted by following 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
|
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
|
number from function entry line, and 'RLN2' is the end line number. As same as
|
||||||
|
@ -167,7 +167,7 @@ static const struct option options[] = {
|
|||||||
" with existing name"),
|
" with existing name"),
|
||||||
#ifdef DWARF_SUPPORT
|
#ifdef DWARF_SUPPORT
|
||||||
OPT_CALLBACK('L', "line", NULL,
|
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),
|
"Show source code lines.", opt_show_lines),
|
||||||
OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
|
OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
|
||||||
"file", "vmlinux pathname"),
|
"file", "vmlinux pathname"),
|
||||||
|
Loading…
Reference in New Issue
Block a user