From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754890Ab0AWB0X (ORCPT ); Fri, 22 Jan 2010 20:26:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753759Ab0AWB0W (ORCPT ); Fri, 22 Jan 2010 20:26:22 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:49469 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753998Ab0AWB0V (ORCPT ); Fri, 22 Jan 2010 20:26:21 -0500 Date: Fri, 22 Jan 2010 17:26:15 -0800 From: Andrew Morton To: Hui Zhu Cc: Arjan van de Ven , Sam Ravnborg , Ozan =?ISO-8859-1?Q?=C7aglayan?= , Matthew Wilcox , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Add options to markup_oops.pl to make it support cross-compiler environment better Message-Id: <20100122172615.4a560908.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 17 Jan 2010 21:38:28 +0800 Hui Zhu wrote: > Hello, > > The markup_oops.pl have 2 troubles to support cross-compiler environment: > 1. It use objdump directly. > 2. It use modinfo to get the message of module. > > This patch add 2 options to markup_oops.pl: > 1. -c CROSS_COMPILE Specify the prefix used for toolchain. > 2. -m MODULE_DIRNAME Specify the module directory name. > > After this patch, parse the x8664 oops in x86, we can: > cat amd64m | perl ~/kernel/tmp/m.pl -c > /home/teawater/kernel/bin/x8664- -m ./e.ko vmlinux > The other patches are wordwrapped and one still didn't apply after fixing that, so please just redo and resend everything. Send them to yourself first and check that the result still applies OK. Also, we prefer patch titles to be of the form subsystem-identifier: what was changed so a good title for this patch would have been markup_oops.pl: add options to improve cross-sompilation environments Thanks.