Edward Welbourne wrote: >>>> Interesting way such as LTTNG/ETW :) ? > >>> Spoiler alert: not on Mac ... > > Konstantin Tokarev (31 August 2017 15:50) >> Mac has DTrace > > Do we have anyone eager to follow up on the LLTNG/ETW work > (see earlier mail in this thread for link), adding DTrace for Mac ?
I don't use that often, in part because dtrace must be run as root. However, I think that the instruments from Instruments.app use that facility in a way that allows the instrumented application to be run as a regular user. If true than writing such an instrument (module?) would probably be the way to go. Needless to say such a module would need to be signed and possibly have special permissions that Apple might not want to sell. (Although one can build lldb and use a self-signed certificate to sign and get a functional debug server.) R. _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development