Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp455044pxb; Tue, 19 Oct 2021 06:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzisycNyiW0chmrqnuufJybIrDMKjFz909IPM1YnIe2qUlMcFqIdINqrN1amF8ILgtTOx0g X-Received: by 2002:a17:906:a382:: with SMTP id k2mr36310069ejz.454.1634649826746; Tue, 19 Oct 2021 06:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634649826; cv=none; d=google.com; s=arc-20160816; b=zLSlqHjhODoCdNvt8k8ivTz5p7QQDnJ2N+Nc7EXAMInPnxf5ac/EKPi6AhJpVS7HuV ntQPBJ2WXrb5OpwTClp8FH09fEIRT6O3toiNbCpTJzLytOUeTmtyrDFwXbcTvXbIRcOJ aFuq7o5LAiU2f/zB1tCNJvZRLIM2S7eAbKW9Rg3yaV72+ezJ3STSkyxD1mjrSTvBNk/s SiVCFQ8fP/V2LRtgvCQrD6S+WurTpCcicw+HwylGc74GHzWpC6Q/pce+N4DXG4s7oDY5 lkbeunVhbVFWl5fMpFNzBIstAqMPucOsUS1iLM0hlM6PgOi3v3HcvDG7GOMvnFVG1Wg8 sOaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=WTde2zfpODI4EAtK3o82a/loSodKoab+nNcELAk3qVU=; b=EG/3swGLb4cpmy7tDRTiTneF5z/tvThqfTCHm5emi/t6uC8oJGpXIpPem4OB+pC6bZ c0aWjO18Vk9tyUuZ0nMOrk5gIxpPpiv30CF65GVqADYVRy06IF2OPMbNrArNdL8mAWst 4pcFPKZ6Goa5PgnoK18WnBUf9VB+Y51YCZ8AFZMv1E46LUA4NznAkucypH6adpF0MQUQ ng8U5+YqsV0OgFwyw2Ye02sRjd/EW0zh0w6N/x97uY2wO843IOgHMkhFk/CGLHaFOW+J wEJ1NdhMG2A71w9l/a1kQCYWOA0/XKfQnxFKfshTiiuRTJXmJ/oA430bN2FoaTntuf/o P8Jg== ARC-Authentication-Results: i=1; mx.google.com; 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 w9si41848455edd.166.2021.10.19.06.23.21; Tue, 19 Oct 2021 06:23:46 -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; 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 S235807AbhJSNVU (ORCPT + 99 others); Tue, 19 Oct 2021 09:21:20 -0400 Received: from gateway22.websitewelcome.com ([192.185.47.125]:30340 "EHLO gateway22.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231616AbhJSNVT (ORCPT ); Tue, 19 Oct 2021 09:21:19 -0400 X-Greylist: delayed 1281 seconds by postgrey-1.27 at vger.kernel.org; Tue, 19 Oct 2021 09:21:19 EDT Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 9425B532C9 for ; Tue, 19 Oct 2021 07:56:21 -0500 (CDT) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id cofFmLf9X6dDycofFmweEe; Tue, 19 Oct 2021 07:56:21 -0500 X-Authority-Reason: nr=8 Received: from host-79-18-63-114.retail.telecomitalia.it ([79.18.63.114]:58576 helo=[10.0.0.35]) by gator4132.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mcofE-002I56-3p; Tue, 19 Oct 2021 07:56:20 -0500 Message-ID: Date: Tue, 19 Oct 2021 14:56:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH V3 13/19] rtla: Add Documentation Content-Language: en-US To: Jonathan Corbet Cc: Ingo Molnar , Tom Zanussi , Masami Hiramatsu , Juri Lelli , Clark Williams , John Kacur , Peter Zijlstra , Thomas Gleixner , Sebastian Andrzej Siewior , linux-rt-users@vger.kernel.org, linux-trace-devel@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt References: <7e205854656f41afe9a35e6390d3e3cbd724706f.1634574261.git.bristot@kernel.org> <877deaut3b.fsf@meer.lwn.net> From: Daniel Bristot de Oliveira In-Reply-To: <877deaut3b.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4132.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.org X-BWhitelist: no X-Source-IP: 79.18.63.114 X-Source-L: No X-Exim-ID: 1mcofE-002I56-3p X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: host-79-18-63-114.retail.telecomitalia.it ([10.0.0.35]) [79.18.63.114]:58576 X-Source-Auth: kernel@bristot.me X-Email-Count: 2 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/18/21 19:43, Jonathan Corbet wrote: > Daniel Bristot de Oliveira writes: > >> Adds the basis for rtla documentation. It is based on libtracefs >> Documentation as suggested by Steven Rostedt. This patch also >> includes the rtla(1) man page. >> >> Cc: Steven Rostedt >> Cc: Ingo Molnar >> Cc: Tom Zanussi >> Cc: Masami Hiramatsu >> Cc: Juri Lelli >> Cc: Clark Williams >> Cc: John Kacur >> Cc: Peter Zijlstra >> Cc: Thomas Gleixner >> Cc: Sebastian Andrzej Siewior >> Cc: Daniel Bristot de Oliveira >> Cc: linux-rt-users@vger.kernel.org >> Cc: linux-trace-devel@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Suggested-by: Steven Rostedt >> Signed-off-by: Daniel Bristot de Oliveira >> --- >> tools/tracing/rtla/Documentation/Makefile | 223 ++++++++++++++++++ >> .../tracing/rtla/Documentation/asciidoc.conf | 118 +++++++++ >> .../rtla/Documentation/manpage-base.xsl | 35 +++ >> .../rtla/Documentation/manpage-normal.xsl | 13 + >> tools/tracing/rtla/Documentation/rtla.txt | 56 +++++ >> tools/tracing/rtla/Documentation/utils.mk | 144 +++++++++++ >> tools/tracing/rtla/Makefile | 20 +- >> 7 files changed, 604 insertions(+), 5 deletions(-) >> create mode 100644 tools/tracing/rtla/Documentation/Makefile >> create mode 100644 tools/tracing/rtla/Documentation/asciidoc.conf >> create mode 100644 tools/tracing/rtla/Documentation/manpage-base.xsl >> create mode 100644 tools/tracing/rtla/Documentation/manpage-normal.xsl >> create mode 100644 tools/tracing/rtla/Documentation/rtla.txt >> create mode 100644 tools/tracing/rtla/Documentation/utils.mk > > So please forgive me for being obnoxious but I have to ask...do we > *really* need to add yet another markup language and docs build > infrastructure to the kernel? I'm glad to see documentation, of course, > but I would be gladder if it weren't a silo completely separate from the > rest of the kernel docs. Is there a reason why this couldn't have been > done with Sphinx? I am not a document format specialist, neither have a strong opinion on this, so suggestions are welcome. I used this format as a suggestion from steven, it is also similar to what we have on perf... The idea here is to create a set of man pages. I saw that it is possible to create man pages using Sphinx, but there are so many options that it is hard to get started... I also noticed that bpftools uses .rst files, but uses rst2man to convert the files. Converting the current files to .rst is easy. So, could give me some directions on what you think would be the best way to create this set of man pages? A link to a project that creates a set of man pages using Sphinx using a Makefile would be a plus :-). -- Daniel > > Thanks, > > jon >