From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CABEC433EF for ; Fri, 17 Jun 2022 16:09:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383005AbiFQQJO (ORCPT ); Fri, 17 Jun 2022 12:09:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237329AbiFQQJN (ORCPT ); Fri, 17 Jun 2022 12:09:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D68E33A10; Fri, 17 Jun 2022 09:09:12 -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 54C8761026; Fri, 17 Jun 2022 16:09:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6597EC3411F; Fri, 17 Jun 2022 16:09:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655482151; bh=3dpAcESJw5vtLwj0XpoF4BT7WEo88JPPXnfDDRPknfs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=X0DPpv9AZYnJfNCekqSgFR3Er0Rt0xlBcb2O/m8p61zFLsI8Lk/mx52KThftyP+lb eeCLKofOqJZNy2NmxH/Y4QNjmIX1/yAPDC3dvVwSmbaO6sYCp8PZMebzrtNDoB4R1P 4Ysi/QM6yC+v9I4styMlYK4FSLCoVlCwfaaV0si2edf7ld/Zdqh0ysYUhbk0LRO47U o8y/k/0VZIGaO8ONleSVrnhr4dtet82TVAM2XD7LwxVXO1rj8pFEuLkA4V5VjuUCge tga7LzRC1OQTXf3DMXn0ceYhRTCMwXBSyqeH7Ildv6yHslRcOJQkejJCHAy/JBmyMX dCkEGaLyNhvrQ== Message-ID: <7a45d9cb-02c0-6139-35e1-7bd6cda6c162@kernel.org> Date: Fri, 17 Jun 2022 18:09:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH V4 13/20] rv/reactor: Add the panic reactor Content-Language: en-US To: Randy Dunlap , 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 , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org References: <67e522ab57e64eee313af508a8c70f3cce33e525.1655368610.git.bristot@kernel.org> <3230f073-5228-693e-f7cd-5fc4b7226a66@infradead.org> From: Daniel Bristot de Oliveira In-Reply-To: <3230f073-5228-693e-f7cd-5fc4b7226a66@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org On 6/16/22 23:03, Randy Dunlap wrote: > > > On 6/16/22 01:44, Daniel Bristot de Oliveira wrote: >> diff --git a/kernel/trace/rv/Kconfig b/kernel/trace/rv/Kconfig >> index be8e3dab0a52..91a17b13a080 100644 >> --- a/kernel/trace/rv/Kconfig >> +++ b/kernel/trace/rv/Kconfig >> @@ -60,4 +60,12 @@ config RV_REACT_PRINTK >> Enables the printk reactor. The printk reactor emmits a printk() > > emits oops! >> message if an exception is found. >> >> +config RV_REACT_PANIC >> + bool "Panic reactor" >> + depends on RV_REACTORS >> + default y if RV_REACTORS >> + help >> + Enables the panic reactor. The panic reactor emmits a printk() > > emits and Oops again. >> + message if an exception is found and panic()s the system. > I will fix that, thanks Randy! -- Daniel