Add the first USDT probe to Lix #727

Closed
opened 2025-03-12 04:11:06 +00:00 by jade · 1 comment
Owner

There's a bunch of nice observability infrastructure like eBPF, dtrace, etc, which we could use on Lix if we integrate some explicit probes. We could maybe push NixOS on frame pointers a bit (or at least enable them ourselves): https://discourse.nixos.org/t/nixos-frame-pointer-enable/39554.

This isn't hard, we just need someone to put the first USDT probe in, and we would be off to the races. Maybe do it to gc events in the interpreter, maybe something else. Doesn't matter too much, the infra is just important to put together.

Possibly helpful link: https://manpages.debian.org/testing/systemtap-sdt-dev/dtrace.1.en.html

Possibly useful (but I'm so sorry it's autoconf): 645cd6a5ad/build/php.m4 (L2271) 645cd6a5ad/configure.ac (L995) 645cd6a5ad/Zend/zend_dtrace.d

There's a bunch of nice observability infrastructure like eBPF, dtrace, etc, which we could use on Lix if we integrate some explicit probes. We could maybe push NixOS on frame pointers a bit (or at least enable them ourselves): https://discourse.nixos.org/t/nixos-frame-pointer-enable/39554. This isn't hard, we just need someone to put the first USDT probe in, and we would be off to the races. Maybe do it to gc events in the interpreter, maybe something else. Doesn't matter too much, the infra is just important to put together. Possibly helpful link: https://manpages.debian.org/testing/systemtap-sdt-dev/dtrace.1.en.html Possibly useful (but I'm so sorry it's autoconf): https://github.com/php/php-src/blob/645cd6a5adfa82ed0ab8c2458dd3fcac3465d542/build/php.m4#L2271 https://github.com/php/php-src/blob/645cd6a5adfa82ed0ab8c2458dd3fcac3465d542/configure.ac#L995 https://github.com/php/php-src/blob/645cd6a5adfa82ed0ab8c2458dd3fcac3465d542/Zend/zend_dtrace.d
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/2884 ("observability: add the first USDT probe")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/2884", "number": 2884, "kind": "commit message"}], "cl_meta": {"2884": {"change_title": "observability: add the first USDT probe"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/2884](https://gerrit.lix.systems/c/lix/+/2884) ("observability: add the first USDT probe")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#727
No description provided.