Maaarcocr opened PR #6701 from Maaarcocr:main
to bytecodealliance:main
:
why?
perfmaps are fairly simple files that are written to
/tmp/
and that are read byperf
. It does kind of make sense to have them only work for linux, but with more modern profilers also adopting some of theperf
standards like samply, which can run both on linux and on macos, it may make sense to be able to produce these artefacts also on macos.I know that samply does already support jitdumps, but currently the jitdump implementation here cannot run outside of linux as it uses
gettid
. Samply also supports perf maps, on both linux and macos, and the perf map implementation here is fairly simple and can run on both platforms.This would be very beneficial for developers using macos to their code.
how?
change the
cfg!
statement to compile for all unix platforms.
Maaarcocr requested alexcrichton for a review on PR #6701.
Maaarcocr requested wasmtime-core-reviewers for a review on PR #6701.
bjorn3 created PR review comment:
Can you also change this in cranelift/jit?
bjorn3 edited PR review comment.
Maaarcocr requested cfallin for a review on PR #6701.
Maaarcocr updated PR #6701.
Maaarcocr requested wasmtime-compiler-reviewers for a review on PR #6701.
Maaarcocr created PR review comment:
done!
bjorn3 created PR review comment:
Thanks!
alexcrichton submitted PR review:
Thanks!
alexcrichton merged PR #6701.
Last updated: Nov 22 2024 at 17:03 UTC