lkml.org 
[lkml]   [2017]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH tip/perf/core 6/7] perf documentation: updates for target-ns.
Em Fri, Jun 30, 2017 at 07:18:58PM -0700, Krister Johansen escreveu:
> Update the perf documentation to describe the --target-ns option to
> probe and buildid-cache. Note the existence of the new --force flag
> to top.

Can you please chop this into pieces and add each bit to the previous
patches where this option was introduced?

> Signed-off-by: Krister Johansen <kjlx@templeofstupid.com>
> ---
> tools/perf/Documentation/perf-buildid-cache.txt | 5 +++++
> tools/perf/Documentation/perf-probe.txt | 5 +++++
> tools/perf/Documentation/perf-top.txt | 4 ++++
> 3 files changed, 14 insertions(+)
>
> diff --git a/tools/perf/Documentation/perf-buildid-cache.txt b/tools/perf/Documentation/perf-buildid-cache.txt
> index 058064d..8468100 100644
> --- a/tools/perf/Documentation/perf-buildid-cache.txt
> +++ b/tools/perf/Documentation/perf-buildid-cache.txt
> @@ -61,6 +61,11 @@ OPTIONS
> --verbose::
> Be more verbose.
>
> +--target-ns=PID:
> + Obtain mount namespace information from the target pid. This is
> + used when creating a uprobe for a process that resides in a
> + different mount namespace from the perf(1) utility.
> +
> SEE ALSO
> --------
> linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-buildid-list[1]
> diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt
> index 165c2b1..c1a126b 100644
> --- a/tools/perf/Documentation/perf-probe.txt
> +++ b/tools/perf/Documentation/perf-probe.txt
> @@ -130,6 +130,11 @@ OPTIONS
> --max-probes=NUM::
> Set the maximum number of probe points for an event. Default is 128.
>
> +--target-ns=PID:
> + Obtain mount namespace information from the target pid. This is
> + used when creating a uprobe for a process that resides in a
> + different mount namespace from the perf(1) utility.
> +
> -x::
> --exec=PATH::
> Specify path to the executable or shared library file for user
> diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt
> index e71d638..d864ea6 100644
> --- a/tools/perf/Documentation/perf-top.txt
> +++ b/tools/perf/Documentation/perf-top.txt
> @@ -237,6 +237,10 @@ Default is to monitor all CPUS.
> --hierarchy::
> Enable hierarchy output.
>
> +--force::
> + Don't do ownership validation.
> +
> +
> INTERACTIVE PROMPTING KEYS
> --------------------------
>
> --
> 2.7.4

\
 
 \ /
  Last update: 2017-07-03 20:49    [W:0.097 / U:3.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site