lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] recordmcount.pl: look for jgnop instruction as well as bcrl on s390
On Fri, Dec 10, 2021 at 01:31:23PM +0100, Miroslav Benes wrote:
> > > Otherwise I would be surprised that this would make any difference.
> >
> > How come? I mean, s390 does not define HAVE_C_RECORDMCOUNT which implies
> > that recordmcount.pl is used (see scripts/Makefile.build and
> > BUILD_C_RECORDMCOUNT definition in Makefile).
>
> Ah, sorry, that was too quick.
>
> I guess you want to say that recordmcount is not used at all and GCC
> should do it. Because CONFIG_FTRACE_MCOUNT_USE_RECORDMCOUNT is not set,
> since FTRACE_MCOUNT_USE_CC should be set.
>
> What a maze.
>
> But isn't -mrecord-mcount x86_64-only option?

No, it is (at least) also supported on s390. IIRC that was added with
gcc9. Anyway, this is not too important since the fix makes sense
anyway.

\
 
 \ /
  Last update: 2021-12-10 16:53    [W:0.076 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site