2017-03-27 02:55:57

by Ravi Bangoria

[permalink] [raw]
Subject: [PATCH] perf list sdt: Show option in man page

Commit 40218daea1db ("perf list: Show SDT and pre-cached events") added
sdt support in perf list, but it missed to update documentation.

Show sdt option in man perf-list.

Signed-off-by: Ravi Bangoria <[email protected]>
---
tools/perf/Documentation/perf-list.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/perf/Documentation/perf-list.txt b/tools/perf/Documentation/perf-list.txt
index 143d98d..0b268c8 100644
--- a/tools/perf/Documentation/perf-list.txt
+++ b/tools/perf/Documentation/perf-list.txt
@@ -8,7 +8,7 @@ perf-list - List all symbolic event types
SYNOPSIS
--------
[verse]
-'perf list' [--no-desc] [--long-desc] [hw|sw|cache|tracepoint|pmu|event_glob]
+'perf list' [--no-desc] [--long-desc] [hw|sw|cache|tracepoint|pmu|sdt|event_glob]

DESCRIPTION
-----------
@@ -244,6 +244,8 @@ To limit the list use:

. 'pmu' to print the kernel supplied PMU events.

+. 'sdt' to list all Statically Defined Tracepoint events.
+
. If none of the above is matched, it will apply the supplied glob to all
events, printing the ones that match.

--
2.9.3


2017-03-27 06:18:54

by Masami Hiramatsu

[permalink] [raw]
Subject: Re: [PATCH] perf list sdt: Show option in man page

On Mon, 27 Mar 2017 08:25:38 +0530
Ravi Bangoria <[email protected]> wrote:

> Commit 40218daea1db ("perf list: Show SDT and pre-cached events") added
> sdt support in perf list, but it missed to update documentation.
>
> Show sdt option in man perf-list.
>

Good catch!

Acked-by: Masami Hiramatsu <[email protected]>

Thanks!

> Signed-off-by: Ravi Bangoria <[email protected]>
> ---
> tools/perf/Documentation/perf-list.txt | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tools/perf/Documentation/perf-list.txt b/tools/perf/Documentation/perf-list.txt
> index 143d98d..0b268c8 100644
> --- a/tools/perf/Documentation/perf-list.txt
> +++ b/tools/perf/Documentation/perf-list.txt
> @@ -8,7 +8,7 @@ perf-list - List all symbolic event types
> SYNOPSIS
> --------
> [verse]
> -'perf list' [--no-desc] [--long-desc] [hw|sw|cache|tracepoint|pmu|event_glob]
> +'perf list' [--no-desc] [--long-desc] [hw|sw|cache|tracepoint|pmu|sdt|event_glob]
>
> DESCRIPTION
> -----------
> @@ -244,6 +244,8 @@ To limit the list use:
>
> . 'pmu' to print the kernel supplied PMU events.
>
> +. 'sdt' to list all Statically Defined Tracepoint events.
> +
> . If none of the above is matched, it will apply the supplied glob to all
> events, printing the ones that match.
>
> --
> 2.9.3
>


--
Masami Hiramatsu <[email protected]>

Subject: [tip:perf/core] perf list sdt: Show option in man page

Commit-ID: 6963d3c387ec123753788838785e68928cb87c1b
Gitweb: http://git.kernel.org/tip/6963d3c387ec123753788838785e68928cb87c1b
Author: Ravi Bangoria <[email protected]>
AuthorDate: Mon, 27 Mar 2017 08:25:38 +0530
Committer: Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 27 Mar 2017 11:58:09 -0300

perf list sdt: Show option in man page

Commit 40218daea1db ("perf list: Show SDT and pre-cached events") added
sdt support in perf list, but it missed to update documentation.

Show sdt option in man perf-list.

Signed-off-by: Ravi Bangoria <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
tools/perf/Documentation/perf-list.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/perf/Documentation/perf-list.txt b/tools/perf/Documentation/perf-list.txt
index 143d98d..f709de5 100644
--- a/tools/perf/Documentation/perf-list.txt
+++ b/tools/perf/Documentation/perf-list.txt
@@ -8,7 +8,7 @@ perf-list - List all symbolic event types
SYNOPSIS
--------
[verse]
-'perf list' [--no-desc] [--long-desc] [hw|sw|cache|tracepoint|pmu|event_glob]
+'perf list' [--no-desc] [--long-desc] [hw|sw|cache|tracepoint|pmu|sdt|event_glob]

DESCRIPTION
-----------
@@ -244,6 +244,8 @@ To limit the list use:

. 'pmu' to print the kernel supplied PMU events.

+. 'sdt' to list all Statically Defined Tracepoint events.
+
. If none of the above is matched, it will apply the supplied glob to all
events, printing the ones that match.