summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAiden Fox Ivey <aiden.foxivey@shopify.com>2025-09-30 16:51:56 -0400
committerGitHub <noreply@github.com>2025-09-30 20:51:56 +0000
commitdf2d1d5ad386c51ad9750282917ecacf2b343598 (patch)
treeccf3ae1ffb460d6935e6269ef2446537f8189c73 /doc
parente90729aa6c34d00743e2de9095293d3189587333 (diff)
ZJIT: Decouple stats and side exit tracing (#14688)
Diffstat (limited to 'doc')
-rw-r--r--doc/zjit.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/zjit.md b/doc/zjit.md
index 57a95457d3..ba65739e3f 100644
--- a/doc/zjit.md
+++ b/doc/zjit.md
@@ -155,10 +155,10 @@ make -j
### Tracing side exits
-Through [Stackprof](https://github.com/tmm1/stackprof), detailed information about the methods that the JIT side-exits from can be displayed after some execution of a program. Note that the use of `--zjit-trace-exits` must be used alongside `--zjit-stats`.
+Through [Stackprof](https://github.com/tmm1/stackprof), detailed information about the methods that the JIT side-exits from can be displayed after some execution of a program.
```bash
-./miniruby --zjit-stats --zjit-trace-exits script.rb
+./miniruby --zjit-trace-exits script.rb
```
A file called `zjit_exit_locations.dump` will be created in the same directory as `script.rb`. Viewing the side exited methods can be done with Stackprof: