Instruments Counters do not work

Instruments Version 12.5 (12E262) on MacOS 11.3.1 (20E241) does not work in a very ominous way:
  • Required kernel recoding resources in use by another document

  • Unexpected failure: Tap agent has returned in an unexpected state 'Tap Running'.

  • Kdebug samplers differ from analysis core spec and ktrace configuration.

  • Data source agent mishandled a non-blocking rendezvous.

I was wondering if I had a a malware using kdebug to inspect stuff, and reinstalled the OS...
Anyway the old version (12.4) from https://developer.apple.com/download/more/ works

I also submitted a feedback about this.
Hi!

Thank you so much for the feedback!

The issue you are mentioning should only occur when no PMC configuration is provided to the “Counters” template. To workaround the issue, you can add some events in the recording options (“File” > “Recording Options…”).

Once this done, you should still be able to get the desired counters values (you can either sample by time, or by event - see the “Sample By:” drop down menu in the recording options).

Please, do not hesitate to let us know whether this workaround works for you, we’ll be glad to answer more of your questions.
Oops, it's my fault. it's working. :)


Hi, I have a same problem.

"Time Profiler" in Instrument shows message below and couldn't start it to profile.
  • required kernel recording resources are in use by another document

And about
  • "you can add some events in the recording options (“File” > “Recording Options…”)."

There is no place that I can add some events in "Recording Options".

Could you please explain it in detail? :) (I'm noob!!)

I'm running into the same issue with "Time Profiler" and "System trace" too. My fault, it's sign error.

same thing happend just now, the version of instrument is 13.0 (13A5154h) ,after using the version of 12.4 (12D4e) it works,so maybe it's a problem。

Got the same problem, "add some events in the recording options" in “File” > “Recording Options…” doesn't work!

Instruments Counters do not work
 
 
Q