using shark to sample root owned processes
using shark to sample root owned processes
- Subject: using shark to sample root owned processes
- From: Cem Karan <email@hidden>
- Date: Mon, 23 Jul 2007 09:03:26 -0400
I am trying to sample a root owned process (ocspd) so I have
something to send in with my bug reports other than 'its really slow
and hogs the CPU'. I'm trying to do that via the following command:
sudo shark -a 418 -i -1
but I keep getting the following output:
"""
Boomer:~/Desktop/XCode:GDB crash stuff/ocspd ckaran$ sudo shark -a
418 -i -1
shark 4.4.3-5
* Option+Esc to start/stop a trace session
* Ctrl+c to quit (any pending session will saved)
* Batch mode
* Watching task exits
* Profiling limited to ocspd (PID #418)
Sampling Config: Time Profile
CHUDDataSource
-Sampling begins immediately.
-A sample is taken every 1ms.
-Sampling ends automatically after 30s.
Ready.
Sampling...
Processing samples...
ERROR: Failed to collect session data [No samples taken.
[CHUDDataSource]
].Quitting...
..processing done.
"""
With no output. Any ideas what I'm doing wrong?
Thanks,
Cem Karan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden