Shark not profiling correctly on command-line tool
Shark not profiling correctly on command-line tool
- Subject: Shark not profiling correctly on command-line tool
- From: Wade Williams <email@hidden>
- Date: Thu, 19 Feb 2009 13:49:41 -0600
I've got a command-line tool (written in straight C) that Shark is not
generating any samples for.
The tool was built with -g -O0. It runs as root since it attaches to
port 80 and it stays attached to the terminal that started it.
When I try to run Shark against it, I get:
ERROR:
No samples taken. [CHUDDataSource]
If I restart the machine I can get it to actually produce some output
for 1 or 2 attempts, but the output has only 1 line that says "Unknown
library". After 1 or 2 tries, Shark goes back to "No samples taken.
[CHUDDataSource]".
I have used the CHUD remover to remove CHUD and reinstalled the latest
version from Developer connection. The Shark version is 4.6.1 (227).
The Mac in question is a MacBook Pro 2.3Ghz Core 2 Duo running 10.5.6.
Any thoughts?
Thanks,
Wade
_______________________________________________
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