• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Shark not profiling correctly on command-line tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Shark not profiling correctly on command-line tool
      • From: Rick Altherr <email@hidden>
    • Re: Shark not profiling correctly on command-line tool
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Question about symbol visibility link warning
  • Next by Date: Re: Shark not profiling correctly on command-line tool
  • Previous by thread: Re: Question about symbol visibility link warning
  • Next by thread: Re: Shark not profiling correctly on command-line tool
  • Index(es):
    • Date
    • Thread