Skip to content

Move emscripten_memprof_sbrk_grow into libtrace.js#26364

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_libmemoryprofiler
Feb 28, 2026
Merged

Move emscripten_memprof_sbrk_grow into libtrace.js#26364
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_libmemoryprofiler

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented Feb 27, 2026

This allows for the complete removal of libmemoryprofiler.js since the memory profiler can now just use the same libtrace-based hooks for all events.

I noticed this while reviewing #26175

@sbc100 sbc100 changed the title Move emscripten_memprof_sbrk_grow into libtrace.js Move emscripten_memprof_sbrk_grow into libtrace.js Feb 27, 2026
@sbc100 sbc100 force-pushed the remove_libmemoryprofiler branch from 9ff8a4d to b18defd Compare February 27, 2026 22:13
@sbc100 sbc100 requested review from juj and kripken February 27, 2026 22:15
@sbc100 sbc100 force-pushed the remove_libmemoryprofiler branch 4 times, most recently from a109631 to 998fb42 Compare February 27, 2026 22:20
This allows for the complete removal of libmemoryprofiler.js since the
memory profiler can now just use the same libtrace-based hooks for all
events.
@sbc100 sbc100 force-pushed the remove_libmemoryprofiler branch from 998fb42 to 839f2b3 Compare February 27, 2026 22:46
@sbc100 sbc100 requested a review from dschuff February 27, 2026 22:58
@dschuff
Copy link
Copy Markdown
Member

dschuff commented Feb 27, 2026

Should we add a changelog entry that the API has been renamed?

@sbc100
Copy link
Copy Markdown
Collaborator Author

sbc100 commented Feb 27, 2026

Should we add a changelog entry that the API has been renamed?

I don't think its should be necessary.. its a completely internal API (that caller and receiver are both part of emscripten).

@sbc100 sbc100 merged commit 2f0e331 into emscripten-core:main Feb 28, 2026
36 checks passed
@sbc100 sbc100 deleted the remove_libmemoryprofiler branch February 28, 2026 00:34
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.

3 participants