Stream: git-wasmtime

Topic: wasmtime / PR #3344 Load generated trampolines into jitdu...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 16:06):

alexcrichton opened PR #3344 from jitdump-trampoline to main:

This commit updates the jitdump profiler to generate JIT profiling
records for generated trampolines in a wasm module in addition to the
functions already in a module. It's also updated to learn about
trampolines generated via Func::new and friends. These trampolines
were all not previously registered meaning that stack traces with these
pc values would be confusing to see in the profile output. While the
names aren't the best it should at least be more clear than before if a
function is hot!

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 17:35):

alexcrichton updated PR #3344 from jitdump-trampoline to main.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 14:53):

alexcrichton requested fitzgen for a review on PR #3344.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 17:04):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 17:04):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 17:04):

fitzgen created PR review comment:

Heads up @jlb6740, since you're the original author of the VTune support: generated trampolines for calling into Wasm weren't previously being registered for profilers (see the top-level PR description) and there are some updates needed for including them in the VTune support. See the jitdump support in this PR for an idea of the kind of thing needed. I don't know exactly what is needed for VTune.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 18:05):

alexcrichton merged PR #3344.


Last updated: Dec 23 2024 at 12:05 UTC