From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754532AbaKEKtj (ORCPT ); Wed, 5 Nov 2014 05:49:39 -0500 Received: from mail.skyhub.de ([78.46.96.112]:58923 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbaKEKth (ORCPT ); Wed, 5 Nov 2014 05:49:37 -0500 Date: Wed, 5 Nov 2014 11:49:35 +0100 From: Borislav Petkov To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Masami Hiramatsu , Jiri Kosina , Josh Poimboeuf , Vojtech Pavlik , Seth Jennings , "Paul E. McKenney" , Benjamin Herrenschmidt Subject: Re: [for-next][PATCH 4/4] ftrace: Add more information to ftrace_bug() output Message-ID: <20141105104935.GD5245@pd.tnic> References: <20141027182702.778680710@goodmis.org> <20141027182948.733905051@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20141027182948.733905051@goodmis.org> 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 On Mon, Oct 27, 2014 at 02:27:06PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > With the introduction of the dynamic trampolines, it is useful that if > things go wrong that ftrace_bug() produces more information about what > the current state is. This can help debug issues that may arise. > > Ftrace has lots of checks to make sure that the state of the system it > touchs is exactly what it expects it to be. When it detects an abnormality > it calls ftrace_bug() and disables itself to prevent any further damage. > It is crucial that ftrace_bug() produces sufficient information that > can be used to debug the situation. > > Cc: Benjamin Herrenschmidt > Signed-off-by: Steven Rostedt Acked-by: Borislav Petkov -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --