i am trying to start/stop shark (profiling tool) programmatically
...
q: what header should i include?
(i found the framwork in the sdk, but opposed to f.i. coreservices, it has no header files)
H'm. doing a find on /Developer, I found a CHUD.framework in the 10.3.9 SDK that included header files. But after 10.3, CHUD.framework seems to have gone private. _Maybe_ you could copy those headers to wherever you need them, but I'd worry that if they changed the framework from public to private, other changes may have taken place that obsolete the headers.
On the other hand, the 2006 man page for amber includes advice on linking CHUD.framework out of the private frameworks. So what do I know?
The current, separate installer for CHUD may install a CHUD.framework complete with headers. I haven't tried.
You should file a bug against the development tools.
-- F