Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4257689iog; Tue, 28 Jun 2022 12:16:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sCvzT2dnIjh9rQRP9JY9z5BN1AoBmpVx5yHGbC3fE5cDU1tDH8u9gGpKOFcxly304rUq6D X-Received: by 2002:a17:902:cec9:b0:16a:416c:3d27 with SMTP id d9-20020a170902cec900b0016a416c3d27mr6447301plg.107.1656443812270; Tue, 28 Jun 2022 12:16:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656443812; cv=none; d=google.com; s=arc-20160816; b=iyN4X7vDJgP49ZxZaUawm1UXycWnS7HCKAjySrPAlb5IWCBTD6jBV48rnhv/bDBL97 yTTNTPKDjSHIE016LcUoILFXj92l5nFeyOXSJUxnmIwBNZC9UcTBL74z6bS9UgRDRH3H CIHYApr+FMlJBQcWoAG1Vs0giLMpPOOz8CuoEZewYr3oaQ5XwIrstxfUiKur3PpCczrG MlnDpodZs/Lj+c8pTblqFezi3+qrfDBZ8RM50FlLBOft5Q6HU22i9b+Ujanxj50JFw+N 1kaswmAIqhS5SJrwHzKRgkWF5VC05NhouCukkjIypPy9F6kq4tIQopA+4DMnDMx78jxQ famg== 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=ee0kMCk6PHZRx+M24y/0G0tFFEr0pzYveFzq48E2YR0=; b=kZs4tjiqb8a2qtd1qJjsHPhgSZWednuco9TV/DEFnhVmb2vX0VcRx1W6X6xI0W7D78 C0ysXzidqpVKTsuIMzqiLZHdKMK6IgbrzEGZBryAw1lo9MQ+qicFL7pf92iGlonFnmJe 8VHVG1ioSM771wrgTLASoXlpuGkQULsCxRIUDoy0jqCEMabrklIKZfRP3G6Ce+j4QTwr 3St8yAO0aiJkzgy4AHJ/jxjWuEzd1e+9bikbt5JIGccvaqp8sjfFjuu+3Eh7WHHOrIUH mfgI3m1ayhhoodceeAvtB3y1xtGbEJb331IfL8det9WpVgYs8WTP2pERTemrTO4M4GrE +OEQ== 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 n9-20020a170902f60900b001615a62cf93si19137160plg.544.2022.06.28.12.16.40; Tue, 28 Jun 2022 12:16:52 -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 S235891AbiF1TJj (ORCPT + 99 others); Tue, 28 Jun 2022 15:09:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234936AbiF1TJg (ORCPT ); Tue, 28 Jun 2022 15:09:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 796CF18B1E; Tue, 28 Jun 2022 12:09:35 -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 ams.source.kernel.org (Postfix) with ESMTPS id 23DBEB81F65; Tue, 28 Jun 2022 19:09:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3367C3411D; Tue, 28 Jun 2022 19:09:30 +0000 (UTC) Date: Tue, 28 Jun 2022 15:09:29 -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 , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org Subject: Re: [PATCH V4 15/20] Documentation/rv: Add deterministic automata monitor synthesis documentation Message-ID: <20220628150929.35911ab2@gandalf.local.home> In-Reply-To: <65c0f41a30850002cac84f143616f932d147251d.1655368610.git.bristot@kernel.org> References: <65c0f41a30850002cac84f143616f932d147251d.1655368610.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, T_SCC_BODY_TEXT_LINE 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 Thu, 16 Jun 2022 10:44:57 +0200 Daniel Bristot de Oliveira wrote: > +DA monitor synthesis in a nutshell > +------------------------------------------------------ > + > +The synthesis of automata-based models into the Linux *RV monitor* abstraction > +is automated by a tool named "dot2k", and the "rv/da_monitor.h" provided > +by the RV interface. > + > +Given a file "wip.dot", representing a per-cpu monitor, with this content:: Specify what "wip" is here too. -- Steve > + > + digraph state_automaton { > + center = true; > + size = "7,11"; > + rankdir = LR; > + {node [shape = circle] "non_preemptive"}; > + {node [shape = plaintext, style=invis, label=""] "__init_preemptive"}; > + {node [shape = doublecircle] "preemptive"}; > + {node [shape = circle] "preemptive"}; > + "__init_preemptive" -> "preemptive"; > + "non_preemptive" [label = "non_preemptive"]; > + "non_preemptive" -> "non_preemptive" [ label = "sched_waking" ]; > + "non_preemptive" -> "preemptive" [ label = "preempt_enable" ]; > + "preemptive" [label = "preemptive"]; > + "preemptive" -> "non_preemptive" [ label = "preempt_disable" ]; > + { rank = min ; > + "__init_preemptive"; > + "preemptive"; > + } > + } > +