Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751650AbaJ1M7c (ORCPT ); Tue, 28 Oct 2014 08:59:32 -0400 Received: from mga01.intel.com ([192.55.52.88]:35128 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750959AbaJ1M73 (ORCPT ); Tue, 28 Oct 2014 08:59:29 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,802,1406617200"; d="scan'208";a="612739125" Date: Tue, 28 Oct 2014 05:59:27 -0700 From: Andi Kleen To: Vivek Goyal Cc: Prarit Bhargava , linux-kernel@vger.kernel.org, Jonathan Corbet , Andrew Morton , Rusty Russell , "H. Peter Anvin" , Masami Hiramatsu , Fabian Frederick , isimatu.yasuaki@jp.fujitsu.com, linux-doc@vger.kernel.org, kexec@lists.infradead.org, linux-api@vger.kernel.org, jason.wessel@windriver.com Subject: Re: [PATCH V4] kernel, add bug_on_warn Message-ID: <20141028125927.GG3274@tassilo.jf.intel.com> References: <1414155207-29839-1-git-send-email-prarit@redhat.com> <20141028121636.GC3274@tassilo.jf.intel.com> <544F8A78.9070008@redhat.com> <20141028122900.GA10632@redhat.com> <20141028124425.GD3274@tassilo.jf.intel.com> <20141028125534.GC10632@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141028125534.GC10632@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > kdb="on, bp warn_slowpath_common sr c, go" > > So does it already work or proposal is to make something like this work > with kdb? It does not work today, the missing pieces are: - extending kdb= to execute a list of kdb commands - extending bp to define a list of commands to execute > > What about the case of enabling it post boot and using a /sys file for > that. This would be another patch, add a sysfs file to run a list of kdb commands. -Andi -- ak@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/