-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Eio's CTF tracing with OCaml's tracing #138
Comments
@sadiqj and I discussed a couple of ways of doing this today:
The second option seems better, because:
The default eventring size is quite small (64KB) but is configurable. Eio uses 1MB by default. |
Custom event rings PR: ocaml/ocaml#11474 |
Had a quick go at using custom runtime events: patricoferris@671a5b4#diff-b48e492abda9e349dd9f1df758814b45a11c5a63fcd89d65d09dc0bb7194125b -- looks good @TheLortex, but I didn't test it fully. (note: I had to do some questionable changes to your OCaml PR to get it running on macOS) |
PR: #554 |
This was done in #635. |
Eio's
Ctf
module provides a ring-buffer for storing trace events. Currently, this only works for a single domain. OCaml has its own CTF-basedeventlog
system (https://ocaml.org/manual/instrumented-runtime.html) and we should probably just use that somehow. It might not currently support user-defined events. There's also a proposal to replace it witheventring
(ocaml-multicore/ocaml-multicore#793), which says:/cc @sadiqj
The text was updated successfully, but these errors were encountered: