Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp803505imn; Tue, 26 Jul 2022 09:41:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sQfTAKA7QKP6XRvUoqhuHCYQhGn+MsOoCOJuwnwIksDJLdxFkT0ARYlCuHCMjr/N5cQ7cw X-Received: by 2002:a17:90b:17d1:b0:1f2:df3d:591a with SMTP id me17-20020a17090b17d100b001f2df3d591amr80652pjb.53.1658853714953; Tue, 26 Jul 2022 09:41:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658853714; cv=none; d=google.com; s=arc-20160816; b=zRYf/XXh1/eUmfShIumsi0tCQleGSx1O84sXBowASXG6THdk5DICcqRxtGkrKQ0c4W 4goQNM3cjp8TEQsUyzSu5UAOrmjs4p/Uq1UQS1KjipgGTqCqNNgg8Pgn3BsvMn9fRzUX VMIDgoYnLJNK0pwMs2eopgw42Y1uK2583+mgPOIAndyMRbfjSnCoNbgaIbn3EYTFu5T6 TgygC5Geg894tVuHJDbfJDFyk3F78BJEVPd8DqB2GrSKdMzbxgdQtWzmF9NAzPMHG+oR M36iIjdALpQPDqhYjoOOCZQnORf6nUtmw+LbOSaaoAIJKKYBSaFSLR9J68P7+L4W4S63 zASQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=KFBpR1arO10UV989p6965I7dRMf9Nc4i8xTLdZfY9Wo=; b=F3OMCLjjrRxoL3woGkyAkoJrXgK/f4eJp8jlrkEAE4LXqgkgcyz5nsB5i9PdrdErgS APuV3Yvdw0BXv1ENLmety3AN/HlhCJA/Y5fDM2349qd+RFZqFPdsCZpMHdwiFE481Jat NAlAZMW+J7q2EZ22wJR/7fkLE+YBUw5+AyFQjK0l4FP0HoJ8FowmQXpHC4RYbjDVpDMc Nk2j3FsympO8dL1ikJtkqXpqewtZICq5RwpZNAVX384QLaAqZjw+Wvdu5OQ7HBmnM0PV kEaUpuqzz6TWlrN1JlBrZt7Whb2abI3iP1wwnkLlia1LaPafS/cCKFgZDtwyQvhS5j5f +usA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be12-20020a170902aa0c00b0016d9e2b9a0fsi2017767plb.340.2022.07.26.09.41.40; Tue, 26 Jul 2022 09:41:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239439AbiGZQb6 (ORCPT + 99 others); Tue, 26 Jul 2022 12:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbiGZQb4 (ORCPT ); Tue, 26 Jul 2022 12:31:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9845F765A; Tue, 26 Jul 2022 09:31:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1F23161513; Tue, 26 Jul 2022 16:31:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BD8BC433C1; Tue, 26 Jul 2022 16:31:52 +0000 (UTC) Date: Tue, 26 Jul 2022 12:31:50 -0400 From: Steven Rostedt To: Daniel Bristot de Oliveira Cc: Wim Van Sebroeck , Guenter Roeck , Jonathan Corbet , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Will Deacon , Catalin Marinas , Marco Elver , Dmitry Vyukov , "Paul E. McKenney" , Shuah Khan , Gabriele Paoloni , Juri Lelli , Clark Williams , Tao Zhou , Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org Subject: Re: [PATCH V7 11/16] Documentation/rv: Add deterministic automata instrumentation documentation Message-ID: <20220726123150.208e7a17@gandalf.local.home> In-Reply-To: <9ed16a6d24b9d993e09755d6e18ff5e7d5434636.1658778484.git.bristot@kernel.org> References: <9ed16a6d24b9d993e09755d6e18ff5e7d5434636.1658778484.git.bristot@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Jul 2022 22:11:23 +0200 Daniel Bristot de Oliveira wrote: > +++ b/Documentation/trace/rv/da_monitor_instrumentation.rst > @@ -0,0 +1,171 @@ > +Finally, the "handle_sched_waking()" will look like:: > + > + void handle_sched_waking(void *data, struct task_struct *task) > + { > + da_handle_event_wip(sched_waking_wip); > + } > + > +And the explanation is left for the reader as an exercise. > + > +enable and disable functions > +------------------------ The doc processing requires that the '-' count matches the above string count. And you may want to capitalize the first letter: Enable and disable functions ---------------------------- -- Steve > + > +dot2k automatically creates two special functions:: > + > + enable_$(MONITOR_NAME)() > + disable_$(MONITOR_NAME)() > +