Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp738579imi; Thu, 21 Jul 2022 09:59:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uAmeYVtMNRhibl8iAOf9v43CiMBLYWDr83l3PEioxIJoYxkuda+FvtKF4U9cT/TkgptA6+ X-Received: by 2002:a65:4685:0:b0:416:ce1:8d9b with SMTP id h5-20020a654685000000b004160ce18d9bmr37594810pgr.529.1658422758764; Thu, 21 Jul 2022 09:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658422758; cv=none; d=google.com; s=arc-20160816; b=xiD1K8boOmwfe8fawR6RGMUVwHHrDugVF6DiyR/inClPX9mVRu7IAonnEnhKdG3Vq+ Arn0WxvUpJ9fov1BkVOMi7+C+P/hpqqk29K7nNZyHYBpuvpvWgHbV8RaEtJsgg6HaGZp +e+XOErsXzX97ePtDhFvQb8QvcZASyTjpZphofD14Ts3cHRYV4rc4AuHAoTFSjw+6f/A OMaafoRCOrtHej+/6L3LGKQNPTsTeBujeLqViQ5BbwsfeFcUCsWc9NT+MfDOrenIRs6q BGNOlwj3KjoBucrzHKbOgGt3GEnBpXM0EBX3zd+SKIS41MofOYsw3oNmE8WWwCNzEq4Y WMRQ== 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:dkim-signature; bh=WlcBwfAXhbXdlUNiGmFgKnONA3Hnug4y4lbyu8JzlH0=; b=l6rRzilAjFfIPvb+/B6CnHDBT3wPqZrCeB2ooHJrJGTfXwDZA1eorlFs34K9gmSxgA 0SetlChSEZpCndR1tFMJpqNYSmC3pEczzOHKsjHgTqxlaJ/3ZMPnaOVoMokzDsaLKVQs iMgrdCunV5aInc34zo4HESA1m2k+GAwp7R8vhaQlPQO2nkHtQ8wJxD0CrD5RpmYcYeQT NqLvYR5aqvW8HK8SMm8qAWbPqoWiiG/xALMPymIGqZM/7BkmWHJVh3ymYdJ+cJnoPWWR dxC/pGikfBSv5Eg5pnY00lgvwxotQj25Y4pO9LDuc4fFCZdZd+Iyez6Yr+xanZdQBTly DAGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fRHyIz91; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w23-20020a1709027b9700b0016a0529c312si2534691pll.142.2022.07.21.09.59.02; Thu, 21 Jul 2022 09:59:18 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fRHyIz91; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232179AbiGUQnU (ORCPT + 99 others); Thu, 21 Jul 2022 12:43:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231524AbiGUQnT (ORCPT ); Thu, 21 Jul 2022 12:43:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05C6088F2A; Thu, 21 Jul 2022 09:43:19 -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 963EE61E12; Thu, 21 Jul 2022 16:43:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFFD1C3411E; Thu, 21 Jul 2022 16:43:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658421798; bh=3RI6nZRkNzei/6De1TBsop6oUMdID22DlrmrVjPcuuU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fRHyIz91h+5ha6WwsOUAMB52Nr3I7iLScL0AZri8YiK1PW0Hv4kgI9CGfWPO0tZGn tnS4sH7vAli5mkzLeGYftCc7DI0KGLhV/wqW41Jj9Up+0GQHfyrpQhw038asFxWK1Y kfUQ9cy7tqdL8ssTpedw3FnQTRbot0954iAZ2BZnCAV5vP2YU5MvhUge+uHpro9ZKQ Kkz1wv9PIZRQaUY2+pnVTZHh+I2iDs3+9sXYyF7yMj9IPARZdZB7diXmCNzSQ5dwow fFQ1PR4UROBaE3apgdm+mUGDGlKRSTk1RHrdr8yIfdMX4uVqYAzzj0T3x9E0WBSBXX gFgtmVsEav74Q== Message-ID: <9845acf0-1567-d4bb-ef56-588d3415f72e@kernel.org> Date: Thu, 21 Jul 2022 18:43:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH V6 16/16] rv/reactor: Add the panic reactor Content-Language: en-US To: Steven Rostedt 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 References: <2701cbe85b1fd6940fa5eeafdc8cacded1ce99fe.1658244826.git.bristot@kernel.org> <20220721113106.31d8a525@gandalf.local.home> From: Daniel Bristot de Oliveira In-Reply-To: <20220721113106.31d8a525@gandalf.local.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 7/21/22 17:31, Steven Rostedt wrote: > On Tue, 19 Jul 2022 19:27:21 +0200 > Daniel Bristot de Oliveira wrote: > >> Sample reactor that panics the system when an exception is found. This >> is useful both to capture a vmcore, or to fail-safe a critical system. > > BTW, do you plan on adding models to model the reactors? I was about to say that at the panic level, it would not be needed, as code inspection is reasonable (people in Elisa did IIRC). But then I recalled that we have a printk reactor, and one might model it - at event level :-) But then can disable the reactor :-). -- Daniel > ;-) > > -- Steve