Detecting goroutine leaks with DTrace

Holy ..... Windows Server 2025 will have DTRACE?

#dtrace #windows

@ahl @bcantrill Thanks for not waiting until after your break to post it, that was a doozy.

Listeners should note this mentions use of #dtrace not just through its anonymous tracing feature, but in fact through its speculative tracing feature as well.

#ZFS

Starting to get back into illumos/arm64. Current weekend project is getting DTrace working. Some initial progress:

# dtrace -n 'profile-997{@[stack()] = count();}' | tail
dtrace: description 'profile-997' matched 1 probe
genunix`taskq_thread+0x2e8
genunix`thread_exit
6

0xf9400e80
391

0xd53b4221
genunix`thread_exit
3779

Working fbt provider will be a bit harder...

#illumos #dtrace

Tip of the day: Work for a company that lets you write a compiler for a #dtrace-like language to instrument python applications at runtime for a product you made up and decided to work on. And no-one bats an eye, they just encourage you.

#nextest now has support for USDT probes with #DTrace and #bpftrace, and it's so cool!

https://nexte.st/docs/integrations/usdt/

Is #DTrace really that much better than other Tracing #Software?
How to reproduce and fix an I/O data race with DTrace

And another blog article, once again about Go and DTrace:

https://gaultier.github.io/blog/go_dtrace_see_all_network_traffic.html
#dtrace #golang

See all network traffic in a Go program, even when encrypted and compressed

I just wrote another Go + DTrace blog article!
This time: Are my SQL files read at build time or run time?
https://gaultier.github.io/blog/are_my_sql_files_read_at_build_time_or_run_time.html

#golang #dtrace

Are my SQL files read at build time or run time?