Custom Instrument

Hi there!


I'm really inspired by possibilities of the new instrument architecture that were presented during the last WWDC. Unfortunately, the demo application wasn't released, so I tried to reproduce it by myself.
I created a project to research how new instruments might be built above signpost functionality. To my surprise, it doesn't work for me in any configuration when I'm trying to use a os-signpost-interval-schema with message pattern both for start and end tags. However, it works with a raw-message. Could you, please, help me to figure out, what is the problem here? Am I doing something wrong, or it's a bug in Instruments?

Github with demo project: https://github.com/aabalaban/XCode10-Custom-Instrument
Documentation I used: https://help.apple.com/instruments/developer/mac/current/#/devcd5016d31
Sincerely,
Alex

Accepted Reply

The issue was in CLIPS variable names in start- and end- patterns. Different names are solving the issue.

Replies

Bug is reported under 46092348

The issue was in CLIPS variable names in start- and end- patterns. Different names are solving the issue.