Re: [PATCH] Add options to markup_oops.pl to make it support cross-compiler environment better

From: Andrew Morton
Date: Fri Jan 22 2010 - 20:26:27 EST


On Sun, 17 Jan 2010 21:38:28 +0800
Hui Zhu <teawater@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/