linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf docs: fix a typo in perf probe doc
@ 2023-01-16  1:21 qinyu
  2023-01-16  6:00 ` Ian Rogers
  0 siblings, 1 reply; 3+ messages in thread
From: qinyu @ 2023-01-16  1:21 UTC (permalink / raw)
  To: peterz, acme, mingo; +Cc: linux-perf-users, hewenliang4, linfeilong

fix a minor typo in perf probe doc.

Fixes: 631c9def804b ("perf probe: Support --line option to show probable source-code lines")
Signed-off-by: qinyu <qinyu32@huawei.com>
---
 tools/perf/Documentation/perf-probe.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt
index 7f8e8ba3a..5c43a6edc 100644
--- a/tools/perf/Documentation/perf-probe.txt
+++ b/tools/perf/Documentation/perf-probe.txt
@@ -222,7 +222,7 @@ probe syntax, 'SRC' means the source file path, 'ALN' is start line number,
 and 'ALN2' is end line number in the file. It is also possible to specify how
 many lines to show by using 'NUM'. Moreover, 'FUNC@SRC' combination is good
 for searching a specific function when several functions share same name.
-So, "source.c:100-120" shows lines between 100th to l20th in source.c file. And "func:10+20" shows 20 lines from 10th line of func function.
+So, "source.c:100-120" shows lines between 100th to 120th in source.c file. And "func:10+20" shows 20 lines from 10th line of func function.
 
 LAZY MATCHING
 -------------
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf docs: fix a typo in perf probe doc
  2023-01-16  1:21 [PATCH] perf docs: fix a typo in perf probe doc qinyu
@ 2023-01-16  6:00 ` Ian Rogers
  2023-01-19 12:51   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Rogers @ 2023-01-16  6:00 UTC (permalink / raw)
  To: qinyu; +Cc: peterz, acme, mingo, linux-perf-users, hewenliang4, linfeilong

On Sun, Jan 15, 2023 at 5:15 PM qinyu <qinyu32@huawei.com> wrote:
>
> fix a minor typo in perf probe doc.
>
> Fixes: 631c9def804b ("perf probe: Support --line option to show probable source-code lines")
> Signed-off-by: qinyu <qinyu32@huawei.com>

Acked-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> ---
>  tools/perf/Documentation/perf-probe.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt
> index 7f8e8ba3a..5c43a6edc 100644
> --- a/tools/perf/Documentation/perf-probe.txt
> +++ b/tools/perf/Documentation/perf-probe.txt
> @@ -222,7 +222,7 @@ probe syntax, 'SRC' means the source file path, 'ALN' is start line number,
>  and 'ALN2' is end line number in the file. It is also possible to specify how
>  many lines to show by using 'NUM'. Moreover, 'FUNC@SRC' combination is good
>  for searching a specific function when several functions share same name.
> -So, "source.c:100-120" shows lines between 100th to l20th in source.c file. And "func:10+20" shows 20 lines from 10th line of func function.
> +So, "source.c:100-120" shows lines between 100th to 120th in source.c file. And "func:10+20" shows 20 lines from 10th line of func function.
>
>  LAZY MATCHING
>  -------------
> --
> 2.33.0
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf docs: fix a typo in perf probe doc
  2023-01-16  6:00 ` Ian Rogers
@ 2023-01-19 12:51   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2023-01-19 12:51 UTC (permalink / raw)
  To: Ian Rogers
  Cc: qinyu, peterz, mingo, linux-perf-users, hewenliang4, linfeilong

Em Sun, Jan 15, 2023 at 10:00:47PM -0800, Ian Rogers escreveu:
> On Sun, Jan 15, 2023 at 5:15 PM qinyu <qinyu32@huawei.com> wrote:
> >
> > fix a minor typo in perf probe doc.
> >
> > Fixes: 631c9def804b ("perf probe: Support --line option to show probable source-code lines")
> > Signed-off-by: qinyu <qinyu32@huawei.com>
> 
> Acked-by: Ian Rogers <irogers@google.com>

Thanks, applied.

- Arnaldo

 
> Thanks,
> Ian
> 
> > ---
> >  tools/perf/Documentation/perf-probe.txt | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt
> > index 7f8e8ba3a..5c43a6edc 100644
> > --- a/tools/perf/Documentation/perf-probe.txt
> > +++ b/tools/perf/Documentation/perf-probe.txt
> > @@ -222,7 +222,7 @@ probe syntax, 'SRC' means the source file path, 'ALN' is start line number,
> >  and 'ALN2' is end line number in the file. It is also possible to specify how
> >  many lines to show by using 'NUM'. Moreover, 'FUNC@SRC' combination is good
> >  for searching a specific function when several functions share same name.
> > -So, "source.c:100-120" shows lines between 100th to l20th in source.c file. And "func:10+20" shows 20 lines from 10th line of func function.
> > +So, "source.c:100-120" shows lines between 100th to 120th in source.c file. And "func:10+20" shows 20 lines from 10th line of func function.
> >
> >  LAZY MATCHING
> >  -------------
> > --
> > 2.33.0
> >

-- 

- Arnaldo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-19 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-16  1:21 [PATCH] perf docs: fix a typo in perf probe doc qinyu
2023-01-16  6:00 ` Ian Rogers
2023-01-19 12:51   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).