Message ID | cover.1670623111.git.bristot@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1014219wrr; Fri, 9 Dec 2022 14:10:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf4fSWt63PE3io/Wv68dLFvbO8rYygv6rRcTi8JvN9ArdbzfuFfQjKUFKLoQ+txEUUxwjC7W X-Received: by 2002:a05:6a20:4db0:b0:9d:efbf:7856 with SMTP id gj48-20020a056a204db000b0009defbf7856mr8580332pzb.11.1670623799860; Fri, 09 Dec 2022 14:09:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670623799; cv=none; d=google.com; s=arc-20160816; b=itC29Y8OwwpTIPHRIGboUKgmopLT7oPXATKapsajI8caqirIFm1nYN8W5Cw6MMXudq BmVxoqYLAmrlnbKCcKbSjoq1jrs8Gz/i2IEq8mfjGo0gu4MeGQlERvDq28CW7ILve0RN E/v3hkP/P6nf/2VSKW6LYYpwvbE1vpTZd2DT8XzYGvqhiGmw5JvrYnIoU+46Z8DVW6nL i1V9GZBbRMdpCtiBqWhqmnGBp3twbh0e6HMAHCFAzRcSSwwh0kWoX3j+bo+n4cJVbojZ TVTLbELvRkOVpKUMG+2CECzplbG5/tZQjh6mjnf+jY43iLOmSmDI6pC+A1GCCPvtixMS GJrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ixPSeLSw/2uypgyqQuysh+vbi3t6FhAK/hkxBax/qOM=; b=ExZdq7c9o69du/VwOtSbzIqnQRqkvaz9KK3TCuKYrVUoyo4J3A2/whRZ/ZZfvP4Lud LrBCgEuUdwg/m+D/j2X1kdAa0OyAKxxcQ3/VtXQL4NGj4XWL3IlMJwFXJA4Z5t1yLNCk wVi2OfKFb23Jiwm8BPpu4uE+3ALr9UBg8i0301IeIYzE9NFI/AF92QleEr+Sbq/Lu7YF 3iOTCV9qEFGOE4m2Dro4wh/OZI1mY/YwE+WxcKZwZr42oCRdhdgFCkB/yU/XPewZ4WPM yIB/G710NRsUlCvyTCRhffAJUykKYqkeKlsOoNwdC1aOmf/mY4Siw/pJqTOL7ZOg1Ssv ur8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NGeEu4h2; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a17090a664700b0021995eb1b2bsi3114217pjm.13.2022.12.09.14.09.46; Fri, 09 Dec 2022 14:09:59 -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=@kernel.org header.s=k20201202 header.b=NGeEu4h2; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiLIWHA (ORCPT <rfc822;sophiezhao968@gmail.com> + 99 others); Fri, 9 Dec 2022 17:07:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbiLIWG3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Dec 2022 17:06:29 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5804A5DE3; Fri, 9 Dec 2022 14:06:04 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6905BB82939; Fri, 9 Dec 2022 22:06:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19DBCC433EF; Fri, 9 Dec 2022 22:05:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670623562; bh=xhGA8QOjljLpEDGY+74NnEPLPXQ6/MDsLE1V+TwRSe8=; h=From:To:Cc:Subject:Date:From; b=NGeEu4h2Y1MVWU4BWOQxmqfv2h7Q8r8v8gTd9KD2Q36leUgDTC07dNWqj4ttEXKw5 DQQb7Dlbme3iIr7rdkAsOV+g2k50nQgrefzyb3UaUN2yZVj+STDNCgNEzbmjX16+82 +Z854OJlLNnp8XPhKizSEOIKzZ0fxir4hKSJF4A99mbrSya+JMOlI8nhPhT+WsCT51 nKDXbIkEurHeB09Zn2Dda454f8JAcmieoNtDpZo7kaYI9dLlX3c5BCyC06zYFM+Ttj OkP4GKIB9wkfU58gh+a6KrbBWZYmXnUAtvEuo+oVmFFS/lUxmEXRgdb05Bo6brcNAU kjm8W7GtkP/6w== From: Daniel Bristot de Oliveira <bristot@kernel.org> To: Daniel Bristot de Oliveira <bristot@kernel.org>, Steven Rostedt <rostedt@goodmis.org> Cc: Masami Hiramatsu <mhiramat@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Juri Lelli <juri.lelli@redhat.com>, Clark Williams <williams@redhat.com>, Bagas Sanjaya <bagasdotme@gmail.com>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V5 0/3] Add osnoise/options options Date: Fri, 9 Dec 2022 23:05:51 +0100 Message-Id: <cover.1670623111.git.bristot@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751776021765613002?= X-GMAIL-MSGID: =?utf-8?q?1751776021765613002?= |
Series | Add osnoise/options options | |
Message
Daniel Bristot de Oliveira
Dec. 9, 2022, 10:05 p.m. UTC
After adding the osnoise/options file, a set of on/off options came to my mind, most based on discussions while debugging problems with Juri and Clark. The PANIC_ON_STOP option facilitates the vmcore generation to aid in the latency analysis using a crash dump. The OSNOISE_PREEMPT_DISABLE and OSNOISE_IRQ_DISABLE options refine the type of noise that the osnoise tracer detects, allowing the tool to measure only IRQ-related noise, or NMI/HW-related noise, respectively. Each patch has a description of the options and the last patch documents them in the osnoise documentation file. [1] https://lore.kernel.org/r/cover.1668692096.git.bristot@kernel.org/ Changes from V4: - rename preempt_disable/irq_disable variables to disable_preemption/disable_irq (Steven Rostedt) Changes from V3: - Fix documentation (Bagas Sanjaya) - Optmize the preempt disable option (Steven Rostedt) Changes from v2: - rebased on top of linux-trace.git/ftrace/core - removed the patches already added to the ftrace/core Changes from v1: - Changed the cover letter topic - Add Acked-by Masami to the first patch - Add the PANIC_ON_STOP option - Add the OSNOISE_PREEMPT_DISABLE and OSNOISE_IRQ_DISABLE options - Improved the documentation Daniel Bristot de Oliveira (3): tracing/osnoise: Add PANIC_ON_STOP option tracing/osnoise: Add preempt and/or irq disabled options Documentation/osnoise: Add osnoise/options documentation Documentation/trace/osnoise-tracer.rst | 20 +++++++++- kernel/trace/trace_osnoise.c | 52 +++++++++++++++++++++++--- 2 files changed, 65 insertions(+), 7 deletions(-)