I'm currently exploring Instruments for profiling and tracing on macOS 15.6.1. I know there is the "network connections" instrument which records TCP/UDP information, however it seems to not include the "lo0" (loopback) interface.
Is there a way to configure it so that localhost traffic is included in the recording? as the application I'm tracing uses that and I want that information to be included in traces.
The documentation for network-interface-detection
schema makes no mention of how it detects interfaces.
Thanks in advance.
Thanks for the pointers. I’ve always been curious as to how this stuff actually works, and your info gave me a useful thread to pull on [1].
My research confirms that Instruments goes out of its way to exclude loopback connections from its recording. This happens at a pretty low level, so it’s not the case that the data was recorded and you just have to find a way to show it.
I’d appreciate you filing an enhancement request for a way to configure this. Once you’re done, post your bug number here and I’ll use that to explore a potential workaround.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] It’s the same infrastructure that backs nettop
; see its man page. There’s also the mysterious netlog
, which has a man page but AFAICT isn’t actually installed on the system O-: