> It should work with inlined code. At least, I can't think of a reason > why it wouldn't.
I tried this method, but pcinfo gives the first line in the function, which is not necessarily the decl_line, especially if the declaration is spread over multiple lines. gcc autofdo expects the decl_line. So decl_line tracking is still needed. It would require extending the syminfo callback with MOREDATA too, but could just keep it in pcinfo? -Andi
