## Summary Exporting the three symbols had no measurable cost on ruby-bench's `lobsters`, with or without ZJIT, on x86-64 or arm64. With default visibility, though, GCC compiles `vm.c` differently, which can move interpreter microbenc...dalehamel (Dale Hamel)
## Motivation External profilers such as [OpenTelemetry's eBPF profiler](https://github.com/open-telemetry/opentelemetry-ebpf-profiler) collect Ruby stacks from outside the Ruby process. Distribution packages commonly ship shared l...dalehamel (Dale Hamel)
> does this suffice your use case? Interesting, I'll need to investigate this - it certainly has potential. My use case is for experimental tracing work, and I basically want to be able to pre-compile original source with added in...dalehamel (Dale Hamel)
Yes when I test out Koichi's sample, the iseq look like: ``` disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,6)> (catch: FALSE) 0000 putself ( 1)[Li] 0001 opt_send_without_...dalehamel (Dale Hamel)
> Could you show us how V8 and Python provide USDT features? V8 has ustack helpers (which I'd love to try and figure out how to do for MRI) https://www.joyent.com/blog/understanding-dtrace-ustack-helpers which make the type of probing...dalehamel (Dale Hamel)
Thanks for the reply and your work on TracePoints, Koichi. > I need to study USDT... I can recommend some resources, I might suggest this excerpt of [my own writing on this](https://bpf.sh/usdt-report-doc/index.html#adding-usdt-s...dalehamel (Dale Hamel)
Hi Martin, > Do you have any parts implemented already Yes,I have a prototype gem that adds StaticTracing.tracepoint as a way to define a stub library that can be used for a debugger (dtrace/bpftrace) to attach to, similar to the...dalehamel (Dale Hamel)