From mboxrd@z Thu Jan 1 00:00:00 1970 From: rusty@rustcorp.com.au (Rusty Russell) Date: Thu, 18 Sep 2014 13:48:57 +0930 Subject: [PATCH] aarch64: filter $x from kallsyms In-Reply-To: <20140916213718.GR22012@redacted.bos.redhat.com> References: <20140916213718.GR22012@redacted.bos.redhat.com> Message-ID: <87r3z9o91q.fsf@rustcorp.com.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Kyle McMartin writes: > Similar to ARM, AArch64 is generating $x and $d syms... which isn't > terribly helpful when looking at %pF output and the like. Filter those > out in kallsyms, modpost and when looking at module symbols. > > Seems simplest since none of these check EM_ARM anyway, to just add it > to the strchr used, rather than trying to make things overly > complicated. > > initcall_debug improves: > dmesg_before.txt: initcall $x+0x0/0x154 [sg] returned 0 after 26331 usecs > dmesg_after.txt: initcall init_sg+0x0/0x154 [sg] returned 0 after 15461 usecs > > Signed-off-by: Kyle McMartin Acked-by: Rusty Russell Thanks, Rusty. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756527AbaIWT0q (ORCPT ); Tue, 23 Sep 2014 15:26:46 -0400 Received: from ozlabs.org ([103.22.144.67]:59003 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756444AbaIWT0o (ORCPT ); Tue, 23 Sep 2014 15:26:44 -0400 From: Rusty Russell To: Kyle McMartin , linux-kernel@vger.kernel.org Cc: will.deacon@arm.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] aarch64: filter $x from kallsyms In-Reply-To: <20140916213718.GR22012@redacted.bos.redhat.com> References: <20140916213718.GR22012@redacted.bos.redhat.com> User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Thu, 18 Sep 2014 13:48:57 +0930 Message-ID: <87r3z9o91q.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kyle McMartin writes: > Similar to ARM, AArch64 is generating $x and $d syms... which isn't > terribly helpful when looking at %pF output and the like. Filter those > out in kallsyms, modpost and when looking at module symbols. > > Seems simplest since none of these check EM_ARM anyway, to just add it > to the strchr used, rather than trying to make things overly > complicated. > > initcall_debug improves: > dmesg_before.txt: initcall $x+0x0/0x154 [sg] returned 0 after 26331 usecs > dmesg_after.txt: initcall init_sg+0x0/0x154 [sg] returned 0 after 15461 usecs > > Signed-off-by: Kyle McMartin Acked-by: Rusty Russell Thanks, Rusty.