Re: [PATCH] recordmcount.pl: look for jgnop instruction as well as bcrl on s390
From: Miroslav Benes
Date: Fri Dec 10 2021 - 07:31:26 EST
> > 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?
Miroslav