Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable AOT perf support #2930

Merged
merged 4 commits into from
Jan 2, 2024
Merged

Conversation

lum1n0us
Copy link
Collaborator

  • use wamrc --perf-profile to generate .aot contains fp operations
  • use iwasm --perf-profile to create perf map for perf record

core/iwasm/common/wasm_runtime_common.c Outdated Show resolved Hide resolved
product-mini/platforms/posix/main.c Outdated Show resolved Hide resolved
wamr-compiler/main.c Outdated Show resolved Hide resolved
@lum1n0us lum1n0us force-pushed the fr/aot_perf branch 2 times, most recently from 75709b0 to 335fa7a Compare December 27, 2023 02:28
core/iwasm/aot/aot_loader.c Outdated Show resolved Hide resolved
core/iwasm/include/wasm_c_api.h Outdated Show resolved Hide resolved
core/iwasm/include/wasm_c_api.h Outdated Show resolved Hide resolved
wamr-compiler/CMakeLists.txt Outdated Show resolved Hide resolved
wamr-compiler/main.c Show resolved Hide resolved
- use WAMR_BUILD_PERF_SUPPORT as the compilation control
- use WASM_ENABLE_PERF_SUPPORT as the macro
- use `wamrc --perf-profile` to generate .aot contains fp operations
- use `iwasm --perf-profile` to create perf map for `perf record`
core/iwasm/aot/aot_loader.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_loader.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_loader.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_loader.c Outdated Show resolved Hide resolved
core/iwasm/common/wasm_runtime_common.c Show resolved Hide resolved
core/iwasm/aot/aot_loader.c Outdated Show resolved Hide resolved
wamr-compiler/main.c Outdated Show resolved Hide resolved
wamr-compiler/main.c Show resolved Hide resolved
@wenyongh wenyongh merged commit 5c3ad02 into bytecodealliance:main Jan 2, 2024
393 checks passed
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
And refactor the original perf support
- use WAMR_BUILD_LINUX_PERF as the cmake compilation control
- use WASM_ENABLE_LINUX_PERF as the compiler macro
- use `wamrc --enable-linux-perf` to generate aot file which contains fp operations
- use `iwasm --enable-linux-perf` to create perf map for `perf record`
@lum1n0us lum1n0us deleted the fr/aot_perf branch May 31, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants