My error here was in how I created the Signposter. To get a segment to show up on the PointsOfInterest in the profiler, you need to create it with the preset category of .pointsOfInterest. For example, instead of:
signposter = OSSignposter(logger: logger)
I should have set it:
signposter = OSSignposter(subsystem: "MySubsystem", category: .pointsOfInterest)
(thank you James Dempsey) - who also pointed out that I could add the different os_signpost instrument to see the ones that I'd created with the original method. They just didn't show up in the PointsOfInterest segment of the time profiler.
Topic:
Developer Tools & Services
SubTopic:
Instruments
Tags: