Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753483AbdGEUp0 (ORCPT ); Wed, 5 Jul 2017 16:45:26 -0400 Received: from sub5.mail.dreamhost.com ([208.113.200.129]:50381 "EHLO homiemail-a83.g.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753396AbdGEUpX (ORCPT ); Wed, 5 Jul 2017 16:45:23 -0400 Date: Wed, 5 Jul 2017 13:45:11 -0700 From: Krister Johansen To: Arnaldo Carvalho de Melo Cc: Krister Johansen , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , linux-kernel@vger.kernel.org Subject: Re: [PATCH tip/perf/core 6/7] perf documentation: updates for target-ns. Message-ID: <20170705204511.GD29683@templeofstupid.com> References: <1498875539-4200-1-git-send-email-kjlx@templeofstupid.com> <1498875539-4200-7-git-send-email-kjlx@templeofstupid.com> <20170703184836.GD27350@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170703184836.GD27350@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2721 Lines: 68 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 > > --- > > 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