Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 16, 2021

As and example the python code for the emdump tool lives in
tools/emdump.py, but we want the entey point to be at the top
level of emscripten.

Hopefully this will help with #13464

@juj
Copy link
Collaborator

juj commented Mar 16, 2021

Can this land after #13498?

sbc100 referenced this pull request Mar 16, 2021
…iles. (#13464)

* Simplify the use of emprofile and fix issue with empty generated profiles.

* Change EM_PROFILE_TOOLCHAIN environment variable to simpler "EMPROFILE", so that users only need to remember one word "EMPROFILE" to use the toolchain profiler.

* Add -c and -o flags and simplify generated profile filename

* Add mouse hover tooltips to emprofile results.
@sbc100 sbc100 force-pushed the entry_point_remap branch from 7519b5e to 26224e0 Compare March 16, 2021 18:28
As and example the python code for the emdump tool lives in
tools/emdump.py, but we want the entey point to be at the top
level of emscripten.

Hopefully this will help with #13464
@sbc100 sbc100 force-pushed the entry_point_remap branch from 26224e0 to 3ffd1a3 Compare March 16, 2021 21:40
@sbc100
Copy link
Collaborator Author

sbc100 commented Mar 16, 2021

Rebased. PTAL

@sbc100 sbc100 enabled auto-merge (squash) March 16, 2021 23:24
@sbc100 sbc100 merged commit 37f72d7 into main Mar 17, 2021
@sbc100 sbc100 deleted the entry_point_remap branch March 17, 2021 06:27
@juj
Copy link
Collaborator

juj commented Mar 17, 2021

Overall I'm starting to feel like this automatic script creation is more complex than hand-maintaining them would be.

@sbc100
Copy link
Collaborator Author

sbc100 commented Mar 17, 2021

I've got some ideas on how to improve this over time.

@sbc100
Copy link
Collaborator Author

sbc100 commented Mar 17, 2021

I see a lot of value in managing this stuff centrally. The bug in the hand-edited emprofile launcher that this change fixes is perfect example of the kind of thing we can avoid using central management.... but I agree that some of original simplicity of this script has be lost and I have some ideas on how to restore it.

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