Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp708692ybk; Fri, 15 May 2020 11:26:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMFktUeIZVxNsZQMH7W1GMtst6yoIMam6ICb/bX+QzavIXdTxPhnS73q5xuHNRtqq3a9RE X-Received: by 2002:a17:906:770b:: with SMTP id q11mr4012483ejm.224.1589567214056; Fri, 15 May 2020 11:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589567214; cv=none; d=google.com; s=arc-20160816; b=qnOwcmYVwsAsK3xuUHv36+023TlXnRaJxVh+UOAjeCGExcbsgp4pFM+HsnXr8OnSNG tBDDK8f2YMULjfOQJ/ky5ANW/qDzxfTAaxz0SW41x/TUSIuCbtnRDiRgfAmt69BELUh6 sAaMEOB8e2U4VtK1H77A48AdoS25ihBQPnWvx36IJRON7GLcSYZPEW9COuo2KX9zj924 OX+gqXRWWpYm0d/zCHh+dZbN1YoisKdVLF2CkgctQX5gwzLhQ/zflcu4JGBGkTbO1w00 uPTofdOQz0wiW68l4c+iUDLh+Nc5s85bbXD663mYfnmI2eiNEEXCXN5CDE+g49HYdMDQ By3w== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=pJk5g81hobm9BOUJ9IPBzifa4nFP4nhmcXZooycxoaE=; b=xI2+7qgAyna9xoifg5A9ZtMZ9Zzh+ZzJa3dgmbByX+WSmbJkaENOsSl268a2WRXZrG 1fSZmyfHJteOJDaCLJgb67Jd/0ndSuEDJohGMfj42QERqz4XpOjOB2ta93qUcaopsP5C bPMfHDDULNBBBnriSfDMKeB1bmoATsXQgPiWi3rrjpCJ1gAPetWL1nnHZicVxGNGt6CK /auSaiLYQnbQIC9RW9L7hXv5izP7SHcknrfgYUzV8KZVoMEjuTpVmK0T5f4a9cQjrrc7 6B5IXqG4M37lrcQ7EuDEjg4f4bKA4e4nDxBWiPKFTVxlJGMaSEF4Bx864r0eLeZl38iy hQzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QXuk8Pkz; 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 z37si1597159ede.339.2020.05.15.11.26.30; Fri, 15 May 2020 11:26:54 -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=QXuk8Pkz; 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 S1726584AbgEOSWp (ORCPT + 99 others); Fri, 15 May 2020 14:22:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:46512 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgEOSWo (ORCPT ); Fri, 15 May 2020 14:22:44 -0400 Received: from tzanussi-mobl (c-98-220-238-81.hsd1.il.comcast.net [98.220.238.81]) (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 D478020727; Fri, 15 May 2020 18:22:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589566964; bh=8Rdr4KgCe61j3i5Gbg/0zblgtQpNudQNhrLSoEf4e9M=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=QXuk8PkzHnECJQ8yekOoDSj+Y/YT9AwK93su5BXadrMnGDmV6QG347OVXI5kZmQRA 8lCWfklXYoF6UO3AwaXWTILlInW3lMPgZwKMh0u5jyr00iZVX30SIjcC3CgiO4Qf1c OZfThZ1w95WtD/uQSPHIOj0bSODH63Gx7voR8pXA= Message-ID: <2449de9a39bd09510f75bd2358cc7ddfd397e93f.camel@kernel.org> Subject: Re: Documentation/trace/events.rst: wrong numbering of sections From: Tom Zanussi To: Steven Rostedt , Li Xinhai Cc: linux-trace-devel , linux-kernel , Jonathan Corbet , Theodore Ts'o Date: Fri, 15 May 2020 13:22:42 -0500 In-Reply-To: <20200515091126.75db6ec9@gandalf.local.home> References: <2020051515434115672512@gmail.com> <20200515091126.75db6ec9@gandalf.local.home> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, 2020-05-15 at 09:11 -0400, Steven Rostedt wrote: > 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). > Yeah, aside from duplicate numbering in a couple of places, it would make more sense for everything starting from '6.3 In-kernel trace event API' to be in a section 7. Would you like to submit a patch for that, Li, or should I? Thanks, Tom > -- Steve