Post

Replies

Boosts

Views

Activity

Reply to XCTOSSignpostMetric doesn’t detect signposts logged by static library in my app
I've faced similar issue renaming segnemtnts in my binary using ld64 options like that: "-Wl,-rename_section,__TEXT,__cstring,__RE_TEXT,__cstring", "-Wl,-rename_section,__TEXT,__ustring,__RE_TEXT,__ustring", Measuring mechanism couldn't detect signposts. I believe this is because of address mismatch of strings used as metric name. os_signpost receives name StaticString, instead of just String. Renaming code segment like that: "-Wl,-rename_section,__TEXT,__text,__RE_TEXT,__text", didn't broke metrics collection in my case.
Dec ’21