From patchwork Thu Sep 10 08:55:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu \(Google\)" X-Patchwork-Id: 255228 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEEF8C433E2 for ; Thu, 10 Sep 2020 08:56:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6B925208CA for ; Thu, 10 Sep 2020 08:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599728204; bh=8rOIdZ6wqgc1jq2tHq0/nusm6CFDfSurOY8zud5UQN8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=kNnLeWpKiVGjP6QWenwO2A8tdl+WzzagiUp2+zGtWeHoPL7h6dPRKLJjqbEjr2haC QVOi9zyoUi59dz/DWIMR8PF3Q4qJtvUQa0UYGYlDTH+2GXoThiEdvlsc9HE7BmWeNE 3hQVPiRMjPmdt+WassbzvzK2KS7IFxRCfCXI0ZBo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729161AbgIJI4k (ORCPT ); Thu, 10 Sep 2020 04:56:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:37012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730393AbgIJIza (ORCPT ); Thu, 10 Sep 2020 04:55:30 -0400 Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C605B21582; Thu, 10 Sep 2020 08:55:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599728129; bh=8rOIdZ6wqgc1jq2tHq0/nusm6CFDfSurOY8zud5UQN8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=leJnOu5KxIAiH3kxW6+5yVmio/6hltm3+b4MCmPXarj9zs9k0JfOaliGHzILpIBjy UO1HgNQXiKhV5PBACneW+uP8ckCds7C3uAzStS1sYxOMjbR3qAN8LEA8OQ3RoNBPpS hTlW//UcDzeLbGuy8n3GM8H5npn9/8QOGJdtU7gk= From: Masami Hiramatsu To: Steven Rostedt , Jonathan Corbet , Shuah Khan Cc: mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Randy Dunlap , Ingo Molnar , linux-kselftest@vger.kernel.org Subject: [PATCH v3 3/8] Documentation: tracing: Add tracing_on option to boot-time tracer Date: Thu, 10 Sep 2020 17:55:25 +0900 Message-Id: <159972812521.428528.4047280962991773996.stgit@devnote2> X-Mailer: git-send-email 2.25.1 In-Reply-To: <159972809455.428528.4737752126800169128.stgit@devnote2> References: <159972809455.428528.4737752126800169128.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Add tracing_on option description to the boot-time tracer. Signed-off-by: Masami Hiramatsu --- Documentation/trace/boottime-trace.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/trace/boottime-trace.rst b/Documentation/trace/boottime-trace.rst index dcb390075ca1..1341b449acaa 100644 --- a/Documentation/trace/boottime-trace.rst +++ b/Documentation/trace/boottime-trace.rst @@ -61,6 +61,10 @@ These options can be used for each instance including global ftrace node. ftrace.[instance.INSTANCE.]options = OPT1[, OPT2[...]] Enable given ftrace options. +ftrace.[instance.INSTANCE.]tracing_on = 0|1 + Enable/Disable tracing on this instance when boot. + (you can enable it by the "traceon" event trigger action) + ftrace.[instance.INSTANCE.]trace_clock = CLOCK Set given CLOCK to ftrace's trace_clock.