> On 24-Jan-2022, at 10:15 PM, Steven Rostedt <rost...@goodmis.org> wrote: > > On Mon, 24 Jan 2022 20:15:06 +0800 > Yinan Liu <yi...@linux.alibaba.com> wrote: > >> Hi, Steven and Sachin >> >> I don't have a powerpc machine for testing, I guess the ppc has a >> similar problem with the s390. It's not clear to me why the compiler >> does this. Maybe we can handle ppc like you did with the s390 before, >> but I'm not sure if other architectures have similar issues. Or limit >> BUILDTIME_MCOUNT_SORT to a smaller scope and make it only available for >> x86 and arm? >> >> steven, what's your opinion? > > Yeah, I think it's time to opt in, instead of opting out. > > Something like this: > Thanks. This fixes the reported problem.
Tested-by: Sachin Sant <sach...@linux.ibm.com> - Sachin