diff options
-rw-r--r-- | tools/perf/Documentation/perf-probe.txt | 2 | ||||
-rw-r--r-- | tools/perf/builtin-probe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt index 0f944b3be9e9..bb671b346774 100644 --- a/tools/perf/Documentation/perf-probe.txt +++ b/tools/perf/Documentation/perf-probe.txt | |||
@@ -85,7 +85,7 @@ LINE SYNTAX | |||
85 | ----------- | 85 | ----------- |
86 | Line range is descripted by following syntax. | 86 | Line range is descripted by following syntax. |
87 | 87 | ||
88 | "FUNC[:RLN[+NUM|:RLN2]]|SRC:ALN[+NUM|:ALN2]" | 88 | "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]" |
89 | 89 | ||
90 | FUNC specifies the function name of showing lines. 'RLN' is the start line | 90 | FUNC specifies the function name of showing lines. 'RLN' is the start line |
91 | number from function entry line, and 'RLN2' is the end line number. As same as | 91 | number from function entry line, and 'RLN2' is the end line number. As same as |
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index cf2ffa5a3842..b3ba25a910fa 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c | |||
@@ -167,7 +167,7 @@ static const struct option options[] = { | |||
167 | " with existing name"), | 167 | " with existing name"), |
168 | #ifdef DWARF_SUPPORT | 168 | #ifdef DWARF_SUPPORT |
169 | OPT_CALLBACK('L', "line", NULL, | 169 | OPT_CALLBACK('L', "line", NULL, |
170 | "FUNC[:RLN[+NUM|:RLN2]]|SRC:ALN[+NUM|:ALN2]", | 170 | "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]", |
171 | "Show source code lines.", opt_show_lines), | 171 | "Show source code lines.", opt_show_lines), |
172 | OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, | 172 | OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, |
173 | "file", "vmlinux pathname"), | 173 | "file", "vmlinux pathname"), |