From patchwork Thu Jan 19 20:10:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Rogers X-Patchwork-Id: 45955 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp524914wrn; Thu, 19 Jan 2023 12:14:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXvZ4nYjIHvcXGjNpzMFCehNvX7eUffkCXkjBea32jtgri5gNkdvHkNsJcwiVuyBgbRD5TCU X-Received: by 2002:a17:902:ea02:b0:194:8bda:c68 with SMTP id s2-20020a170902ea0200b001948bda0c68mr16054499plg.44.1674159286941; Thu, 19 Jan 2023 12:14:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674159286; cv=none; d=google.com; s=arc-20160816; b=bGOWTlmqI0iHPDSbAmGoEVefhMcDM4wdh9TPe+3xPaESNj/tTw5JFdW/kckZn9PUje fbehIItKph3iV+3d+MEtT+JAwL4DeYNeQTE9KjOSgCeLNGc7lWEDHufyuBk5/Dq32uDn ejArLIrfehrTqg7Idq8BtM71gHz4RbL3MufsiEZYc0JKbZLXQL4IEoekXbm/q16DiN0B 08ZLOiCl6WGnxx1Hyk3ww3NRYySEhP3DpJ3FUc/9ItMnG+Y5Q8Ro7oBjtY8JCSSPVX90 ulEFxhfyp7hEIrmdKc55fbvDy2Z3enWuQU/u5rLitexZ1KLAqvI/SjRC31OL5M7ztcRF sJlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=ud0+INWLgaIQ+hxTqFXvd28kGTdvB7/WJm7UP9MKuZc=; b=x9BVDnMYw5Z+isbHpCa8T/pZZtvcxq2e9wKtL7V+BFE5BdyXFj60XtZvV8UfOuMleq Tu/4/PrK/WbR/S43mTtznBKBpDpis8XbigkfepjeD54uOGKi9FzYHb1mkdmnFiSvEnyG jAq+/5c5g26eP1xAIdOPFiXanrSkWvu6kdMsP+Y289puCCqKV1tfB0bJ7JyFpP4qAhIP X3LIz4UNsogmB5w0Kh0Vh4mtSEiZ+JlW3+kJRtwiEH20Ug7122kwLlYqhI/+F+/hs5fC 0V3mbdg0MXy8S9N8phV+bR+nZrT8zodKwwz72C31/0S5kh+AMJxslNjxJ2S88CAswaPD Pk/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=CFW7nG1u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u3-20020a17090282c300b00194997d7724si11477365plz.407.2023.01.19.12.14.33; Thu, 19 Jan 2023 12:14:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=CFW7nG1u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230050AbjASUKx (ORCPT + 99 others); Thu, 19 Jan 2023 15:10:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbjASUKu (ORCPT ); Thu, 19 Jan 2023 15:10:50 -0500 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD5994C91 for ; Thu, 19 Jan 2023 12:10:49 -0800 (PST) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-4fa63c84621so28424467b3.20 for ; Thu, 19 Jan 2023 12:10:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=ud0+INWLgaIQ+hxTqFXvd28kGTdvB7/WJm7UP9MKuZc=; b=CFW7nG1uUTu0Huw9MUGl9BOVAw8fTl3vDsX2+4BeHbSOlHP1fZT+RbxgSt4liySCdb fjYdhlAZXj1BXguWltFCB7yQPhye+r5Vgz1s9bZt3zzssFt+VOd5qHTNArDPiHfu+dnM n2+k1GjY/h7PLN2zf/QjSpSDCx3fAKJuqa9wpJbiBCOcW823o5tWHjJuDeXfGei7HDTN yB9oAVyhRub4xA76I8g0nZjbD64G8wfmfHy6o/vqNf8QVlg0ZmqDyuoqefwtFY1GmMlF g+u3ymcwbuQcQ1t9q17WDw1c2YdeFUoRPwNpSuI4bmkwcYCkDT0WgLqET/rSiGzKJx1z 8buA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ud0+INWLgaIQ+hxTqFXvd28kGTdvB7/WJm7UP9MKuZc=; b=kULOwKrvWTqwDt3sgdv9XXrGKqVg3nKDYzerQ5Gv1z5Oesunm+6DzN1JZz3xnFUXCt S9AR6JDyv5dJakXcMLwUign0pWEmFgUsEhkbyKB85rWvsEbQqAVEsKpim21cJh7HbgLm VA2RwDHkMzbE/HOLAS78WbHE3TlmyurPgVW04DIYjzHIDensjGny3XhdbN58sXoBNrZX Z+Hcur3tyC9R/T+BGkww6i5gQ66jiLSw3E1bQ3aMt43tnxszPbw6xd6FbdwO0VvADi0b 3t+xKqYAOmcvSIA/gXyec43XKL47vl9LcpoLYCyee+WEoWMzY27AJiBJN5v6hNzzS9Mc pIHQ== X-Gm-Message-State: AFqh2kr4yipyyMS7+z5NM+CFHSeKlfj1+yNMeeRsk6DXCg59D5pL5SkZ 2qnUmvrSjtUhxXHSghb0Q2PfjYT/PhE0 X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:93c6:b65e:5f33:bc6b]) (user=irogers job=sendgmr) by 2002:a0d:e541:0:b0:44a:c8fb:93a2 with SMTP id o62-20020a0de541000000b0044ac8fb93a2mr1549070ywe.160.1674159048413; Thu, 19 Jan 2023 12:10:48 -0800 (PST) Date: Thu, 19 Jan 2023 12:10:36 -0800 Message-Id: <20230119201036.156441-1-irogers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.39.0.246.g2a6d74b583-goog Subject: [PATCH v1] perf tools: Fix foolproof typo From: Ian Rogers To: Kan Liang Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Leo Yan , Ali Saidi , Ravi Bangoria , James Clark , Adrian Hunter , Sandipan Das , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Ian Rogers X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755483248590057852?= X-GMAIL-MSGID: =?utf-8?q?1755483248590057852?= In the context of LBR stitching documentation. Signed-off-by: Ian Rogers Acked-by: Kan Liang --- tools/perf/Documentation/perf-c2c.txt | 2 +- tools/perf/Documentation/perf-report.txt | 2 +- tools/perf/Documentation/perf-script.txt | 2 +- tools/perf/Documentation/perf-top.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/Documentation/perf-c2c.txt b/tools/perf/Documentation/perf-c2c.txt index 5c5eb2def83e..af5c3106f468 100644 --- a/tools/perf/Documentation/perf-c2c.txt +++ b/tools/perf/Documentation/perf-c2c.txt @@ -121,7 +121,7 @@ REPORT OPTIONS perf c2c record --call-graph lbr. Disabled by default. In common cases with call stack overflows, it can recreate better call stacks than the default lbr call stack - output. But this approach is not full proof. There can be cases + output. But this approach is not foolproof. There can be cases where it creates incorrect call stacks from incorrect matches. The known limitations include exception handing such as setjmp/longjmp will have calls/returns not match. diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index 4fa509b15948..9b0c0dbf9a77 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt @@ -507,7 +507,7 @@ include::itrace.txt[] perf record --call-graph lbr. Disabled by default. In common cases with call stack overflows, it can recreate better call stacks than the default lbr call stack - output. But this approach is not full proof. There can be cases + output. But this approach is not foolproof. There can be cases where it creates incorrect call stacks from incorrect matches. The known limitations include exception handing such as setjmp/longjmp will have calls/returns not match. diff --git a/tools/perf/Documentation/perf-script.txt b/tools/perf/Documentation/perf-script.txt index 68e37de5fae4..8d77182fbf31 100644 --- a/tools/perf/Documentation/perf-script.txt +++ b/tools/perf/Documentation/perf-script.txt @@ -502,7 +502,7 @@ include::itrace.txt[] perf record --call-graph lbr. Disabled by default. In common cases with call stack overflows, it can recreate better call stacks than the default lbr call stack - output. But this approach is not full proof. There can be cases + output. But this approach is not foolproof. There can be cases where it creates incorrect call stacks from incorrect matches. The known limitations include exception handing such as setjmp/longjmp will have calls/returns not match. diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt index e534d709cc5a..c60e615b7183 100644 --- a/tools/perf/Documentation/perf-top.txt +++ b/tools/perf/Documentation/perf-top.txt @@ -334,7 +334,7 @@ use '-e e1 -e e2 -G foo,foo' or just use '-e e1 -e e2 -G foo'. callgraph. The option must be used with --call-graph lbr recording. Disabled by default. In common cases with call stack overflows, it can recreate better call stacks than the default lbr call stack - output. But this approach is not full proof. There can be cases + output. But this approach is not foolproof. There can be cases where it creates incorrect call stacks from incorrect matches. The known limitations include exception handing such as setjmp/longjmp will have calls/returns not match.