Jignesh K. Shah
2008-Apr-04 21:08 UTC
[dtrace-discuss] Using beta builds of Solaris 10 U5 and sched.d
Hello All,
Anybody using early builds of Solaris 10 U5.. Many DTrace kit returns
errors like following
# ./hotkernel
Sampling... Hit Ctrl-C to end.
dtrace: invalid probe specifier
#pragma D option quiet
profile:::profile-1001hz
/arg0/
{
@pc[arg0] = count();
}
dtrace:::END
{
printa("%a %@d\n", @pc);
}
: "/usr/lib/dtrace/sched.d", line 39: invalid cast expression:
"union "
to "processor_info_t *"
FUNCTION COUNT PCNT
Regards,
Jignesh
Adam Leventhal
2008-Apr-07 08:15 UTC
[dtrace-discuss] Using beta builds of Solaris 10 U5 and sched.d
It turns out this was caused by an incorrectly formed patch -- one that was only for internal use so no one outside of Sun should hit this specific issue. Adam On Apr 4, 2008, at 2:08 PM, Jignesh K. Shah wrote:> Hello All, > > Anybody using early builds of Solaris 10 U5.. Many DTrace kit returns > errors like following > > # ./hotkernel > Sampling... Hit Ctrl-C to end. > dtrace: invalid probe specifier > #pragma D option quiet > profile:::profile-1001hz > /arg0/ > { > @pc[arg0] = count(); > } > dtrace:::END > { > printa("%a %@d\n", @pc); > } > : "/usr/lib/dtrace/sched.d", line 39: invalid cast expression: > "union " > to "processor_info_t *" > > FUNCTION COUNT PCNT > > > > > Regards, > Jignesh > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Fishworks http://blogs.sun.com/ahl