Instruments 'os_signpost' not working with OSSignposter

Hi,


I have been using the 'os_signpost' API along with the Instruments instrument "Points of interest", to track interesting intervals in my app. However, as it is deprecated (os_signpost(...) – Apple Developer Documentation) I tried replacing it with OSSignposter and the 'os_signpost' Instrument, as described here.


However, the image that they show for what it will look like:



does not at all match what I am getting:



Even though the same code yields this:



when I run it with the old os_signpost(...) API.


How can I use the new API and get the results I was previously getting with the old API?


EDIT: I should say my instrumentation of the code is identical to that of the link above, except I invoke my own code instead of their example 'let data = fetchData(from: request)' and 'processData(data)'.

Posted on May 22, 2022 2:38 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Instruments 'os_signpost' not working with OSSignposter

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.