Reputation: 1716
So doing the standard printf using "%p" to print a pointer, results in the literal string "< ptr >" being printed. As in:
kernel[0]: getvnode zp <ptr> with vp 0 zfsvfs <ptr> vfs <ptr>
Which is a bit tedious. I thought for a second it could be connected to SIP, since it has only started with it since El Capitan. But my csrutil show "debug" to be disabled. (KEXT VM has all SIP disabled).
I am guessing Apple had something in mind here, but I would like to be able to debug :)
Upvotes: 3
Views: 474
Reputation: 1716
I was told to pass "-show_pointers" to nvram's boot-args and I can confirm that makes everything works as expected.
Upvotes: 3