-
psarriadanmcd, thanks a lot, i tried to upload via curl and sent you an alternative way to download it
-
jperkinpjustice: I added some more diagnosis to that unbound ticket, speculative dtrace ftw
-
jperkin(to be clear I didn't stumble across that first time, spent a long time code reading and writing manual dtrace probes trying to figure out the code path before finding I could do that instead)
-
jperkindefinitely adding that to my arsenal for next time
-
pjusticeDang. Quite the opus.
-
pjusticeI was wondering why it was setting IPv6 options, since v6 doesn't work in our environment.
-
bahamatBecause in general, apps can just use inet6 the system will use both inet and inet6, or only inet if inet6 is unavailable.
-
bahamatE.g., you can listen on `::` and it will implicitly also listen on `0.0.0.0`.
-
pjusticeA couple of us are going to stash that post away as a really nice dtrace example.
-
jperkinpjustice: yeh I was throwing the idea out on mastodon that we should have some dtrace cookbook site for this stuff
-
bahamatWe do have the dtracetools package.
-
sjorgewe have a dtrace doc somewhere on illumos.org too no?
-
sjorgewhere our generic dev guide is?
-
sjorgethat might be a good spot?
-
sjorgealso the smartos wiki has a few nice onelines to help with lx debugging
-
jperkinthat's the official dtrace guide, it's not really a suitable place for dumping snippets and howtos
-
jperkinalso for those not on #illumos I also found that gstrip was losing function argument types for userland CTF, I'm now rebuilding all trunk packages to pick up refreshed builds using native strip(1)
-
jperkinwill mean you can use lovely print(*args[0]) stuff in scripts and get loads of useful information
-
rmustaccsjorge: illumos.org/books/dtrace
-
hadfljperkin, we use the native strip(1) with '-x' option on omnios. just be aware of issue 15091 when applying it to go binaries:
-
hadfl
-
jperkinhadfl: yeh we basically disable everything for go: github.com/NetBSD/pkgsrc/blob/trunk/lang/go/go-vars.mk
-
jperkinghc also needs a bunch of exclusions