I discovered opensnoop tool today and was using it to debug another problem, but the first thing I saw when running it was that DisplayLink appears to be reading /Library/Application Support/DisplayLink/.dl.xml several times a second.
Here's what a few seconds of running
looks like to me. I'm using the latest DisplayLink OSX 2.4.beta1 and OSX 10.10.3 on a MacBook Air (11-inch, Mid 2011). I do not have a DisplayLink device (or any external devices) connected at present.
Code:
~ $ sudo opensnoop
Password:
UID PID COMM FD PATH
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
501 428 SpotifyWebHelpe 8 /Users/chris/Library/LaunchAgents/com.spotify.webhelper.plist
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
501 1004 iTerm 24 /Applications/iTerm.app/Contents/Resources/config.png
0 268 WindowServer 4 /Applications/iTerm.app
0 268 WindowServer 4 /Applications/iTerm.app/Contents
0 268 WindowServer 4 /Applications/iTerm.app/Contents/Info.plist
0 268 WindowServer 4 /Applications/iTerm.app/Contents/Resources
0 268 WindowServer 4 /Applications/iTerm.app/Contents/Resources
0 268 WindowServer 4 /Applications/iTerm.app/Contents/Resources/English.lproj
0 268 WindowServer -1 /Applications/iTerm.app/Contents/Resources/Base.lproj
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
0 103 DisplayLinkMana 59 /Library/Application Support/DisplayLink/.dl.xml
Reporting because as a developer this "smells" like a place where code is not behaving as expected and might lead to bugs or suboptimal performance - would be interested if others can see the same behaviour on OSX?