Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756714Ab3DLUhW (ORCPT ); Fri, 12 Apr 2013 16:37:22 -0400 Received: from usmamail.tilera.com ([12.216.194.151]:60900 "EHLO USMAMAIL.TILERA.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755542Ab3DLUhU (ORCPT ); Fri, 12 Apr 2013 16:37:20 -0400 Message-ID: <5168707E.6040304@tilera.com> Date: Fri, 12 Apr 2013 16:37:18 -0400 From: Chris Metcalf User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tejun Heo CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , Heiko Carstens Subject: Re: [PATCH 6/7] dump_stack: unify debug information printed by show_regs() References: <1365016497-32033-1-git-send-email-tj@kernel.org> <1365016497-32033-7-git-send-email-tj@kernel.org> In-Reply-To: <1365016497-32033-7-git-send-email-tj@kernel.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1287 Lines: 33 On 4/3/2013 3:14 PM, Tejun Heo wrote: > show_regs() is inherently arch-dependent but it does make sense to > print generic debug information and some archs already do albeit in > slightly different forms. This patch introduces a generic function to > print debug information from show_regs() so that different archs print > out the same information and it's much easier to modify what's > printed. > > show_regs_print_info() prints out the same debug info as dump_stack() > does plus task and thread_info pointers. > > * Archs which didn't print debug info now do. > > alpha, arc, blackfin, c6x, cris, frv, h8300, hexagon, ia64, m32r, > metag, microblaze, mn10300, openrisc, parisc, score, sh64, sparc, > um, xtensa > > * Already prints debug info. Replaced with show_regs_print_info(). > The printed information is superset of what used to be there. > > arm, arm64, avr32, mips, powerpc, sh32, tile, unicore32, x86 Acked-by: Chris Metcalf [for tile] -- Chris Metcalf, Tilera Corp. http://www.tilera.com -- 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/