diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-08-08 16:13:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-08 16:13:16 -0700 |
| commit | 77ffdfe79fc9dc0b327ff88ea3df4082183c08f6 (patch) | |
| tree | c078ab5431c2cd8934edeaedab2f5e2d1e6792a1 /doc | |
| parent | ec5436bc3a8e7c616a9b88c08d766180894ea82d (diff) | |
YJIT: Allow tracing fallback counters (#11347)
* YJIT: Allow tracing fallback counters
* Update yjit.md about --yjit-trace-exits=counter
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/yjit/yjit.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md index b2769a0f5d..c63d31b64f 100644 --- a/doc/yjit/yjit.md +++ b/doc/yjit/yjit.md @@ -179,7 +179,7 @@ YJIT supports all command-line options supported by upstream CRuby, but also add This can allow you to use a lower executable memory size limit, but may cause a slight drop in performance when the limit is hit. - `--yjit-perf`: enable frame pointers and profiling with the `perf` tool - `--yjit-trace-exits`: produce a Marshal dump of backtraces from all exits. Automatically enables `--yjit-stats` -- `--yjit-trace-exits=COUNTER`: produce a Marshal dump of backtraces from specified exits. Automatically enables `--yjit-stats` +- `--yjit-trace-exits=COUNTER`: produce a Marshal dump of backtraces from a counted exit or a fallback. Automatically enables `--yjit-stats` - `--yjit-trace-exits-sample-rate=N`: trace exit locations only every Nth occurrence. Automatically enables `--yjit-trace-exits` Note that there is also an environment variable `RUBY_YJIT_ENABLE` which can be used to enable YJIT. |
