Skip to content

Enhance memory profiling with structured logging support#4896

Merged
lum1n0us merged 4 commits intobytecodealliance:mainfrom
TianlongLiang:dev/mem_profiling_enhance
Apr 8, 2026
Merged

Enhance memory profiling with structured logging support#4896
lum1n0us merged 4 commits intobytecodealliance:mainfrom
TianlongLiang:dev/mem_profiling_enhance

Conversation

@TianlongLiang
Copy link
Copy Markdown
Contributor

  • Enable memory profiling and structured logging in CMake configuration.
  • Update memory tracing definitions to support custom sections.
  • Replace os_printf with MEM_PROF_PRINTF for memory-related outputs.
  • Add verbose logging for memory consumption in various modules.

- Enable memory profiling and structured logging in CMake configuration.
- Update memory tracing definitions to support custom sections.
- Replace os_printf with MEM_PROF_PRINTF for memory-related outputs.
- Add verbose logging for memory consumption in various modules.
@TianlongLiang
Copy link
Copy Markdown
Contributor Author

Hi, @no1wudi, I replaced os_printf usage with LOG_VERBOSE for memory consumption info printing. Let me know if it would cause issues on your end.

@lum1n0us lum1n0us merged commit 389d206 into bytecodealliance:main Apr 8, 2026
567 of 572 checks passed
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.

2 participants