From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752397AbdGACTr (ORCPT ); Fri, 30 Jun 2017 22:19:47 -0400 Received: from sub5.mail.dreamhost.com ([208.113.200.129]:42873 "EHLO homiemail-a116.g.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbdGACTl (ORCPT ); Fri, 30 Jun 2017 22:19:41 -0400 From: Krister Johansen To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo Cc: Alexander Shishkin , linux-kernel@vger.kernel.org, Krister Johansen Subject: [PATCH tip/perf/core 6/7] perf documentation: updates for target-ns. Date: Fri, 30 Jun 2017 19:18:58 -0700 Message-Id: <1498875539-4200-7-git-send-email-kjlx@templeofstupid.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498875539-4200-1-git-send-email-kjlx@templeofstupid.com> References: <1498875539-4200-1-git-send-email-kjlx@templeofstupid.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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