Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp315701pxu; Tue, 6 Oct 2020 07:09:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuZ6my5uBjlK7aJLr3WHFJ0RH1s7RHDvUsgoSAjgySI/1p+RzfXshaAY+DZTl13sE+9y/J X-Received: by 2002:a05:6402:1602:: with SMTP id f2mr5722149edv.343.1601993372017; Tue, 06 Oct 2020 07:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993372; cv=none; d=google.com; s=arc-20160816; b=f4ylo1a+sBgZ7WYdd+j+0IQjM2b2wZQRSWpf6YQMORf0HQeIINILdzSiNHP45yWNMC WASGxVPz15jprs+A1VyrVjLDfntMbpad3TK+F9DtuEDJoLmP0prQxsMWJ0wIE43IUlYb 1n9jN0Y9pMKAb+T8MDdaVpptbBZ+OowBXcA/dJIGM6+PuzZVcFrmK/iKlyNKnYHquj2S 1ACZ3Rcv28Ab4ZEJ0uUVbbjg+90aRzQ4UHxsCDzuNSVy2DYw/0PsED+/53JdePjQrqm+ xjwe0TyLbjkzA89jdWHr1UiUXwN2eAgDZ3EvRmMPOyI+1/Ynx7qoEcUU96swmI4SCra5 M80g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f0NyS0TPxaoX1UjBsyzjCVlo2D9Ichk9r5EXdU3SiDM=; b=rfiX2UPVG/Ax1F97cUZipik2Oj7/rTwjam3h1fjTs/Vc7i+4Hq/1W/Z3G70wNuCqrD nuEDlObBJeB9b08BllwoB7Oxo+nnjryTlGpt7iE0wrcFq944tm2g6ucs3ZQHXLDZTClo nv2eVuUfWm9K0hXvPVU4YVbN+2+9QZlkIICdS0O47/KTnTWJow7VLUdE/BVgSQYhO1PS hC0CZXCty+Q/232qFcvO+2t5A7EPIAxGkwUWSPemR0TEcVy2OW4UkfLrBWHzeo8+LElK 1y5jHal6U+xgJxNkJUSt8HwLKJcPSWqNbHKGPelZ7zQg3p4Qf7PD9790T3Gis0bUVCW3 qfxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bkkGiDV0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj10si2060682ejb.723.2020.10.06.07.09.04; Tue, 06 Oct 2020 07:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bkkGiDV0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726995AbgJFOHB (ORCPT + 99 others); Tue, 6 Oct 2020 10:07:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:33166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbgJFODz (ORCPT ); Tue, 6 Oct 2020 10:03:55 -0400 Received: from mail.kernel.org (ip5f5ad5bd.dynamic.kabel-deutschland.de [95.90.213.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 34DEC21897; Tue, 6 Oct 2020 14:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601993034; bh=ANwSfHlYycUaZxzUwSyDQzW5wFbqluFd7ZfalvckhQQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bkkGiDV0gTH9/a5UtrBYmH3E9rYygbBUZdv2Wvylq+FQm1mPZOZdGRPioFWdUk9DC UgpPCliqVMHQqOYwp4ZOrvNkm7EzSc42TTNv+NsY/r1bl0JFa7gWINi/XpoKN0gaXm 5FoVuQ40qkMx9tO9mDlYef0j8mV3sFUNgYeKARnI= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZI-0019FW-52; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "Steven Rostedt (VMware)" , Kamalesh Babulal , Miroslav Benes , Petr Mladek , Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org Subject: [PATCH v5 23/52] docs: trace-uses.rst: remove bogus c-domain tags Date: Tue, 6 Oct 2020 16:03:20 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are some c-domain tags that are wrong. While this won't cause problems with Sphinx < 3.0, this cause troubles with newer versions, as the C parser won't recognize the contents of the tag, and will drop it from the output. Let's just place them at literal blocks. Reviewed-by: Kamalesh Babulal Acked-by: Steven Rostedt (VMware) Signed-off-by: Mauro Carvalho Chehab --- Documentation/trace/ftrace-uses.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/trace/ftrace-uses.rst b/Documentation/trace/ftrace-uses.rst index 2a05e770618a..a4955f7e3d19 100644 --- a/Documentation/trace/ftrace-uses.rst +++ b/Documentation/trace/ftrace-uses.rst @@ -55,17 +55,17 @@ an ftrace_ops with ftrace: Both .flags and .private are optional. Only .func is required. -To enable tracing call: +To enable tracing call:: -.. c:function:: register_ftrace_function(&ops); + register_ftrace_function(&ops); -To disable tracing call: +To disable tracing call:: -.. c:function:: unregister_ftrace_function(&ops); + unregister_ftrace_function(&ops); -The above is defined by including the header: +The above is defined by including the header:: -.. c:function:: #include + #include The registered callback will start being called some time after the register_ftrace_function() is called and before it returns. The exact time -- 2.26.2