Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp495179ybk; Fri, 15 May 2020 06:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDK3Dv3/BdpnnT/EqlxXvwi4YlCeXkicfA/tOZzOZL4Jzp8OnORQ3XXOIt7M3gHiUtF4yH X-Received: by 2002:a50:d0d7:: with SMTP id g23mr2757172edf.163.1589548413073; Fri, 15 May 2020 06:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589548413; cv=none; d=google.com; s=arc-20160816; b=pKxmU8AHQTrrNXCSp6R8fhgCk5bQnoi4v+d1wagcLvjfSdteCSNCwdmwaXSDSBY7oj c+KhOvF8hccB8F3gyX0PId+PXE7pj9myc/eKCe90tLZOwU15YtFhJhMVFB+qT4jnt7WY ze6rHSOL4fd+7dpFlPNM7PXQ0EZPirVNRjRDCJFvGxNjYP5oRpvLUEqV13pyHZVyE2je TPA14Qcp1r+APdXX7YoKiJGSdNlES+lcIvGz78N6lhWUGPYfwFqr4nvlEBxbcYULMrm5 gkL+69WDWSJ+YgDRNslTmkdBsfcJs3mfzJwBji/P9CNU3q0aNLNCMRx8BXBXaLxphXrA n/zQ== 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:subject:cc:to:from:date; bh=4j9VkYdZEEVXgpFqO7UeUEAhVEQxVqrKqiohfw7iVP4=; b=ZF7WO8KJHVSEHjlksX2Y522+7XQsT5zTloxo0aBzqlWVjVF4OKYugYRVUmOr9zxUXs 6BkgGBuMDqwN4rmpC9bmaUJRq36vWWMTL+gm5g4Yuf517NzKi5fyxk/2fQislIgSW0/v S3rL8fbo2gl1wClOv4lKhzz+x0JspiHfl5HcBxhM9DRuApJICH9nHmEpY/SkFAfek5kO 9p7D7rO6mFnJ/SUeRUp8XUhF2hpxBEl9b0gY+tcid5RgxHDFY1ZJrjfbfbZWKt5r8mgD n8jPaHyOFlT7TKYe4jiQWL0fFj2K1uc8yVHl/a/nB2HtNvt1856Og0Izt8mXd1btlX4U 81cw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co1si1077471edb.82.2020.05.15.06.13.06; Fri, 15 May 2020 06:13:33 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726191AbgEONL3 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 15 May 2020 09:11:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:51298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbgEONL2 (ORCPT ); Fri, 15 May 2020 09:11:28 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 E7E4220657; Fri, 15 May 2020 13:11:27 +0000 (UTC) Date: Fri, 15 May 2020 09:11:26 -0400 From: Steven Rostedt To: "Li Xinhai" Cc: linux-trace-devel , linux-kernel , Jonathan Corbet , Theodore Ts'o , Tom Zanussi Subject: Re: Documentation/trace/events.rst: wrong numbering of sections Message-ID: <20200515091126.75db6ec9@gandalf.local.home> In-Reply-To: <2020051515434115672512@gmail.com> References: <2020051515434115672512@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's best to Cc the maintainers of the file. Nobody reads linux-kernel (it produces 800 emails a day!). Luckily, I happen to monitor the linux-trace-devel list (which is mostly for userland tools), otherwise this email would have been lost to the LKML abyss. On Fri, 15 May 2020 15:43:43 +0800 "Li Xinhai" wrote: > This document has below numbering of its sections: > > 1. Introduction > 2. Using Event Tracing > 2.1 Via the 'set_event' interface > 2.2 Via the 'enable' toggle > 2.3 Boot option > 3. Defining an event-enabled tracepoint > 4. Event formats > 5. Event filtering > 5.1 Expression syntax > 5.2 Setting filters > 5.3 Clearing filters > 5.3 Subsystem filters > 5.4 PID filtering > 6. Event triggers > 6.1 Expression syntax > 6.2 Supported trigger commands > 6.3 In-kernel trace event API > 6.3.1 Dyamically creating synthetic event definitions > 6.3.3 Tracing synthetic events from in-kernel code > 6.3.3.1 Tracing a synthetic event all at once > 6.3.3.1 Tracing a synthetic event piecewise > 6.3.4 Dyamically creating kprobe and kretprobe event definitions > 6.3.4 The "dynevent_cmd" low-level API > > It seems wrong numbering within 6.3 section.  > or, would it be better to have separated chapter #7, for 'In-kernel trace > event API'? it seems not belong to 'Event triggers'. Yeah, 6.3.4 (both of them) probably should have been under a new top level section. (#7). -- Steve