On 7/27/20 1:03 PM, Jan Hubicka wrote:
Did you do chroot to the chromium build?
Oh, you are right!
It really takes move than 60 seconds with:
35.43% a.out libc-2.31.so [.] mem2chunk_check
26.54% a.out libc-2.31.so [.] mem2mem_check
21.50% a.out libc-2.31.so [.] realloc_check
8.38% a.out libc-2.31.so [.] mremap_chunk
5.03% a.out libc-2.31.so [.] realloc
1.87% a.out a.out [.] main
So there's really a hardening enabled in openSUSE:Factory chroot.
@Andreas: Is it a known issue?
Note that there may be an interleaving load on the machine.
Perf says:
55.40% a.out libc-2.26.so [.] realloc
36.01% a.out a.out [.] realloc@plt
4.98% a.out libc-2.26.so [.] mremap_chunk
3.60% a.out a.out [.] main
How one can do perfing on kunlun?
You can install perf with:
osc build -x perf -x kernel-default
and then you can run it in a chroot env.
Martin