[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKwvOdkp_P8BCtFuKqDrtC_=A89ZfDf66Yr3FL2e=ojwv4KaMA@mail.gmail.com>
Date: Fri, 30 Apr 2021 17:25:02 -0700
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Masahiro Yamada <masahiroy@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: Very slow clang kernel config ..
On Fri, Apr 30, 2021 at 5:23 PM Nick Desaulniers
<ndesaulniers@...gle.com> wrote:
>
> On Fri, Apr 30, 2021 at 5:19 PM Nick Desaulniers
> <ndesaulniers@...gle.com> wrote:
> >
> > A quick:
> > $ perf record -e cycles:pp --call-graph lbr make LLVM=1 LLVM_IAS=1
> > -j72 allmodconfig
> > $ perf report --no-children --sort=dso,symbol
> > shows:
> > 2.35% [unknown] [k] 0xffffffffabc00fc7
> > + 2.29% libc-2.31.so [.] _int_malloc
> > 1.24% libc-2.31.so [.] _int_free
> > + 1.23% ld-2.31.so [.] do_lookup_x
>
> ^ bfd
> > + 0.63% ld-2.31.so [.] _dl_lookup_symbol_x
>
> ^ bfd
Ah, no, sorry, these are the runtime link editor/loader. So probably
spending quite some time resolving symbols in large binaries.
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists