Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1635227
| From | Russell King - ARM Linux <linux@armlinux.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ARM: Fix __show_regs output timestamps |
| Date | 2017-05-03 21:30 +0200 |
| Message-ID | <tD88h-1cl-3@gated-at.bofh.it> (permalink) |
| References | <tAzeG-5qR-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 26, 2017 at 10:39:49AM -0700, Joe Perches wrote:
> Multiple line formats are not preferred as the second and
> subsequent lines may not have timestamps.
>
> Lacking timestamps makes reading the output a bit difficult.
> This also makes arm/arm64 output more similar.
>
> Previous:
>
> [ 1514.093231] pc : [<bf79c304>] lr : [<bf79ced8>] psr: a00f0013
> sp : ecdd7e20 ip : 00000000 fp : ffffffff
>
> New:
>
> [ 1514.093231] pc : [<bf79c304>] lr : [<bf79ced8>] psr: a00f0013
> [ 1514.105316] sp : ecdd7e20 ip : 00000000 fp : ffffffff
>
> Signed-off-by: Joe Perches <joe@perches.com>
Hi Joe,
Could you put this in my patch system please, I'm unlikely to remember to
apply it otherwise if not already there (massive email backlog.)
Thanks.
> ---
> arch/arm/kernel/process.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
> index 939e8b58c59d..151cece4a293 100644
> --- a/arch/arm/kernel/process.c
> +++ b/arch/arm/kernel/process.c
> @@ -123,10 +123,10 @@ void __show_regs(struct pt_regs *regs)
>
> print_symbol("PC is at %s\n", instruction_pointer(regs));
> print_symbol("LR is at %s\n", regs->ARM_lr);
> - printk("pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n"
> - "sp : %08lx ip : %08lx fp : %08lx\n",
> - regs->ARM_pc, regs->ARM_lr, regs->ARM_cpsr,
> - regs->ARM_sp, regs->ARM_ip, regs->ARM_fp);
> + printk("pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n",
> + regs->ARM_pc, regs->ARM_lr, regs->ARM_cpsr);
> + printk("sp : %08lx ip : %08lx fp : %08lx\n",
> + regs->ARM_sp, regs->ARM_ip, regs->ARM_fp);
> printk("r10: %08lx r9 : %08lx r8 : %08lx\n",
> regs->ARM_r10, regs->ARM_r9,
> regs->ARM_r8);
> --
> 2.10.0.rc2.1.g053435c
>
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] ARM: Fix __show_regs output timestamps Joe Perches <joe@perches.com> - 2017-04-26 19:50 +0200
Re: [PATCH] ARM: Fix __show_regs output timestamps Andreas Kemnade <andreas@kemnade.info> - 2017-04-26 22:20 +0200
Re: [PATCH] ARM: Fix __show_regs output timestamps Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-05-03 21:30 +0200
Re: [PATCH] ARM: Fix __show_regs output timestamps Joe Perches <joe@perches.com> - 2017-05-03 21:50 +0200
Re: [PATCH] ARM: Fix __show_regs output timestamps Joe Perches <joe@perches.com> - 2017-05-03 21:50 +0200
Re: [PATCH] ARM: Fix __show_regs output timestamps Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-05-03 23:40 +0200
Re: [PATCH] ARM: Fix __show_regs output timestamps Joe Perches <joe@perches.com> - 2017-05-04 02:30 +0200
Re: [PATCH] ARM: Fix __show_regs output timestamps Vladimir Murzin <vladimir.murzin@arm.com> - 2017-05-04 10:30 +0200
csiph-web