Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752695AbcLBQIn (ORCPT ); Fri, 2 Dec 2016 11:08:43 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:59018 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750828AbcLBQIl (ORCPT ); Fri, 2 Dec 2016 11:08:41 -0500 From: Yannick Brosseau To: CC: , , , , , Yannick Brosseau Subject: [PATCH] perf tools: Explicitly document that --children is enabled by default Date: Fri, 2 Dec 2016 11:07:32 -0500 Message-ID: <20161202160732.29058-1-scientist@fb.com> X-Mailer: git-send-email 2.10.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [2620:10d:c091:200::9:8276] X-ClientProxiedBy: CY4PR03CA0012.namprd03.prod.outlook.com (10.168.162.22) To DM5PR15MB1356.namprd15.prod.outlook.com (10.173.224.143) X-MS-Office365-Filtering-Correlation-Id: df2aa37c-00d1-46b4-50fa-08d41acd66f2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM5PR15MB1356; X-Microsoft-Exchange-Diagnostics: 1;DM5PR15MB1356;3:dSuailUv6z78scCwWF4zZEjuybyc8K2ea6KNTJZJ38YfzqMfILdrzeWexpiFF6w5LH4sCBGJ7nwPTBv32HdcdL6VHAmVk21bCK1RvQymaL09k4O0YkULzzN2kHRic2ZZt+JZTA+rOXNncUdGUFaI1+qEk7i797dO/y8pI9N3zwxV7abbSdcw3YxHvwe/38kx8IOy70FGSXNNXLNHF4sewAd8k0AkD1jmKrz/dHZm2TXaKEWseloLLo7yEEBY4IA6E3lW2b77kcR7VJ89PSGDew==;25:hDzC6fb77QKQsoeHcyEkgm7CMRbv65oNAqYQYW9kTFWHYGtsrqlMUD1MYO7s5xFsftn2XSu2s5kY548L0JGVnBLfKXSoTtoak3GarRCy9PgCf3NLPdbarktIcI6pmUHTmErbuyzjFR+Ipj0rzWlf+JbnMBIErrPzKMvTuN9u2bsCFsFBazkXPS8SffNHDZFzpa8t5fl9+IAKLlF2g5CMvx06Xk5onTHKAEP1CE9gSNHb6WZP8QAR6oQtvKNzDg1gpzXhx1QI3ptKmQtrmXB/GVx2uJKO6s4CI8LncDSVRA5wq32NnjQTaIh70sCGpb8wzIBUkdzVuvY5r/zV7CJXSmeqskgbYtcUZk92ZY1XuJptd/ST/xDpCVZBFGt54AvGgF+GjV8nudlTo4/C99zRJPp/Kel/9GWxf9nG2/kxUs2MEOrdQOpwOOH2O98SG/UPj6iN/K/L589RnRz5QTPBCw== X-Microsoft-Exchange-Diagnostics: 1;DM5PR15MB1356;31:QjDyROlFnQGrCOQ00gb09FhD7lZ6hH/w9lhjDPc8J+nLRraSG9kpFkd/CM+wY1dInvB9GGhoU74R1jokpamiW84ZxMZEU39DxMZvynBxvKKHDRHj6lftJlaulq5jmCCUxNsvsL/At8Bxg5gNb/4mUIR1QtqPchrsEzUxgvelCpcSMTKoSXcu9J+29/ZRTzIUzvydi4iaeHcXGQlI1mFQZ/KrcBE1rPj8/J3CVoGQre5AH2oO63+vtjN+lpGLMMbCRmcUNn94Dlgt6iZeLlhhjYKvDCv3KZ0Udn7c0piHQpA=;20:9ksg9v+v18i+UXJIt972hC/jFY9jg05ZaBfrGSt3312ELPB+8hz6gtbl6pvR1Sld1zsMtDfCSUvdLDnr5rsZ5ZTYT6SQPubtK3FsrAxpjPGGH+dWEfMtFrXEIHAi76d84LzVWbYcIe63LW5BFE/UK0eNOBXufT7XuKNUCT7k8ckWoKAovUdlNwNNx80g4TdyDmUbelkEg0tVQAiqsKehDHIZR94eN8qAeWViuLHcwO6hu8/0zbyc4Liv5Czz+kUS X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148);SRVR:DM5PR15MB1356;BCL:0;PCL:0;RULEID:;SRVR:DM5PR15MB1356; X-Microsoft-Exchange-Diagnostics: 1;DM5PR15MB1356;4:XdAyyL75TmxpKnWEgZuaa5MmF9WgAczviWUkgNHxgsl6g5p88Lzyw94K1hyHSdHZhopHuqBIGc+GE1Sp+xKswFne1/WgtomfeivBY7gZcBuCfKNgluUf7pnDPSe/bpIjWLoIZ7SHb6lGEgP3OWpuYbJPhS5ManmWNUT+acd/xWcUWOhUaW/bB5Yv9rKDqYMmJ5XjGkyQj+G44sFn9+kg/VoDrIHp7KVQhHQ73Po15q6C8Ix+RtDxhbdGxusv8j4s/GrfqYFmiLz5ixasNamFDNtsUVrUy22IYsnUY3PeknQyCV8Mo/eklElZG7GSxdBMrKbtrOckFuycTcp0aCeXYErV48o7YIo7ZhZqdjU/QH+ikdH4yoF67EEPACKkCIH49d7pOZBNpOERsmP0+o019ScZrL8S+d3qLa2LDSVQh2WPecgmqjg/Ve8YpV8/N+X64uddchtTWNVZrCMnAtTnm3LSWH8MPAqIR9uhIwhQlnJ1NMxRuLKaf53l0ap4JRFSuOLDw4qs4J2plyU83rdOcSI21rmcmqAbvzsHD5ji3aOSPPVzfnfYLxd1De4DohzY9DvasEGW48aCP5exGohl+nT8mkRmULE9XOkveuza0tti9MGZM0Ss3Vh8S2ZA6Ta1 X-Forefront-PRVS: 0144B30E41 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(2906002)(92566002)(47776003)(21086003)(42186005)(97736004)(5003940100001)(189998001)(105586002)(39450400002)(733004)(38730400001)(39410400001)(6916009)(6666003)(110136003)(5660300001)(2351001)(106356001)(33646002)(7846002)(7736002)(48376002)(101416001)(305945005)(50466002)(81156014)(8676002)(50986999)(1076002)(4326007)(81166006)(50226002)(68736007)(36756003)(6116002)(51496004)(44646005)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR15MB1356;H:fb.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR15MB1356;23:JAwcDGXdsCyP6NsZ5NGgt/pAx9fe/AyTwOkltVAD2?= =?us-ascii?Q?XeGEC6yINlkLhDACKnn0+aEvQmIop6FkMZFlZsW2Mhtdc8GmIsnObzWZSyes?= =?us-ascii?Q?oBxAPCkCR/u/xCT8bmGVzDPnsOr2Iwmr0tvVicmd57e1XtFyx0afqiJlSHA2?= =?us-ascii?Q?nHkmjN6JCBRsM50vZ7EAlFkYftDlprjZLbrRgp0jJdUTw2/lXwHKd91gq17T?= =?us-ascii?Q?CAtK+CwOP24zovWHkBB4InJu+udWlvtSb7FSSwTuj6q92CN1QpjEIaEqgosa?= =?us-ascii?Q?Lot6NwA3J0rbWuloEZ/6sUs7i/9ZxhwFZ3md8NqgDL+BrBDTS1RBZIwYPXq6?= =?us-ascii?Q?izXtCtFItyskH9bIsEyLvouBdjwaaIHhvzbTVvArp71aFE92nawS3qVQcsoG?= =?us-ascii?Q?+zY2dqVIcyizxhxje8vL921WlN2IzDeYM+Z+sINkTMXvJUi9f7vW0l1yRS+B?= =?us-ascii?Q?bcpGZGpw5dx0G4V/TDHBTdt996yJlRd1xcznFeYfcJ0h2/eEKdzRpcYmCX9o?= =?us-ascii?Q?5HLL5QxJl39479OhqBCet3wSeMuy2cVxWCIJQX0ZgihEKaxk4fqBgsYLnUCM?= =?us-ascii?Q?1dho82WVai+FeE5FE26Bu219HFNxy/rbKRlJc6riDHZbDbq4I5Y3l/49aa3y?= =?us-ascii?Q?VNsKcF8mVIlVQqanYiolSPEM2Hj4ALIOCdeaRS0IRAXfRdKudryXBfw1awQR?= =?us-ascii?Q?glZMgdeJ16A4aZJ32QzuVDd1jeIcw4Y/ygTlinFObgLlt7lARTLuqHZDvUW4?= =?us-ascii?Q?PGerAL18/JWkSHTWYqeByJ8R5fG7eQ6Z227yFnAQ1iUd5KlJA/+FKVRMoi0h?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ilCeJxJNymzDaWX9Yf50WIkiX8awKT4L3CaSM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM5PR15MB1356;7:Lo5/cJtjvBX9iI6rXxoWxpxQcNwLTB9+pZHZ7nXyF9ZiZrTJpqFd0uv+rsBPIlDAB+RiKdheebYOq1XfGyFbNnVKgh+Ssus69aHtgk1ocd+MhjMu9k/4OB4kUPAN2XHzhm7WU7ecCbhUW3gWoaoZ+eXoSxJyrwbqctLtBAOfGeTEYWWUMdh21GdSCLTqKweD7GomV26YNnmJGBA5fMuneWgqeBohHvWuIjt3Fa/bK+EswHtVyUjF9nLuD90Tv2l2M4JIuEQrmOiV56kvTRJn51n1MNe+nVWtNzHKFcmoIqoOAyZcY12HzaI+f6zwYpGApCUrd0U5lzFSS6LFLdI7pGEtVcbatwj043DpzD4xxD713IxaxyYwDDPXk+tN7vooZamPUNU1pMDPZCOJanH/sRrXYWnrbO1bH44mtQSgke31umNYrbL3vnKaUX4fwbUKHdS1AVh411SLOn1yqTrDHw==;20:hU529S5KkUuu8KoDkfM2iexIXPP55s9zPcIUn0jk4lRMjs+OoALKBiPULDNa3cg0AzDbza6eoPkF+BLfgm0Fv8h3DazD9IlyeFWvvrdRiCtnH8r0mwb8iWXRMursszKRI1J7hNz8dAqjvsAMP19DJODy4/J6s9rrd1QImrNUwTM= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2016 16:08:05.5369 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR15MB1356 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-12-02_12:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1782 Lines: 39 The fact that the --children option is enabled by default is buried deep at the end of the help page, in the overhead calculation section. This make it explicit right where the option is listed, following the same way other default options are described Signed-off-by: Yannick Brosseau --- tools/perf/Documentation/perf-report.txt | 3 ++- tools/perf/Documentation/perf-top.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index 2d17462..aaa8011 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt @@ -239,7 +239,8 @@ OPTIONS Accumulate callchain of children to parent entry so that then can show up in the output. The output will have a new "Children" column and will be sorted on the data. It requires callchains are recorded. - See the `overhead calculation' section for more details. + See the `overhead calculation' section for more details. Enabled by + default, disable with --no-children. --max-stack:: Set the stack depth limit when parsing the callchain, anything diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt index 91d638d..e71d638 100644 --- a/tools/perf/Documentation/perf-top.txt +++ b/tools/perf/Documentation/perf-top.txt @@ -170,6 +170,7 @@ Default is to monitor all CPUS. show up in the output. The output will have a new "Children" column and will be sorted on the data. It requires -g/--call-graph option enabled. See the `overhead calculation' section for more details. + Enabled by default, disable with --no-children. --max-stack:: Set the stack depth limit when parsing the callchain, anything -- 2.10.2