From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754545AbdGCSsp (ORCPT ); Mon, 3 Jul 2017 14:48:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:38028 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752567AbdGCSsn (ORCPT ); Mon, 3 Jul 2017 14:48:43 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7486E21C98 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Date: Mon, 3 Jul 2017 15:48:36 -0300 From: Arnaldo Carvalho de Melo To: Krister Johansen Cc: 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: <20170703184836.GD27350@kernel.org> References: <1498875539-4200-1-git-send-email-kjlx@templeofstupid.com> <1498875539-4200-7-git-send-email-kjlx@templeofstupid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1498875539-4200-7-git-send-email-kjlx@templeofstupid.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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