On Mon, Jul 03, 2017 at 03:48:36PM -0300, Arnaldo Carvalho de Melo wrote: > 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?
Yes; will do. Once I have, I'll send out an updated version of the patchset that includes this and the other changes you've requested. > > Signed-off-by: Krister Johansen <k...@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