I tried to run plockstat on Solaris 10 U4 on a process running in a Solaris 8 branded zone and it looks like there are no plockstat$PID probes for S8 processes. This would mean it is impossible to plockstat an S8 process. Is that correct ? Paul
iirc, plockstat relies on dtrace probe points built into libc. s8 branded processes use the s8 version of libc, and the s8 version of libc doesn''t have any built in dtrace probes. so yes, plockstat won''t work on s8 branded processes. ed On Mon, Jun 29, 2009 at 01:55:40PM +0200, Paul van der Zwan wrote:> I tried to run plockstat on Solaris 10 U4 on a process running in a > Solaris 8 branded zone > and it looks like there are no plockstat$PID probes for S8 processes. > This would mean it is impossible to plockstat an S8 process. > > Is that correct ? > > Paul > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org
On Jun 29, 2009, at 1:53 PM, Edward Pilatowicz wrote:> iirc, plockstat relies on dtrace probe points built into libc. s8 > branded processes use the s8 version of libc, and the s8 version of > libc > doesn''t have any built in dtrace probes. so yes, plockstat won''t work > on s8 branded processes.That''s correct. What was the failure mode? We could at least emit a helpful message. Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
On 30 jun 2009, at 18:22, Adam Leventhal wrote:> On Jun 29, 2009, at 1:53 PM, Edward Pilatowicz wrote: >> iirc, plockstat relies on dtrace probe points built into libc. s8 >> branded processes use the s8 version of libc, and the s8 version of >> libc >> doesn''t have any built in dtrace probes. so yes, plockstat won''t >> work >> on s8 branded processes. > > > That''s correct. What was the failure mode? We could at least emit a > helpful > message. >I have no log of the error but if my memory is correct it was something like a missing plockstat$PID:::rwlock probe. ( For $PID insert the numerical pid of the process you want to probe). Paul> Adam > > -- > Adam Leventhal, Fishworks http://blogs.sun.com/ahl >
On 07/01/09 10:09, Paul van der Zwan wrote:> > On 30 jun 2009, at 18:22, Adam Leventhal wrote: > >> On Jun 29, 2009, at 1:53 PM, Edward Pilatowicz wrote: >>> iirc, plockstat relies on dtrace probe points built into libc. s8 >>> branded processes use the s8 version of libc, and the s8 version of libc >>> doesn''t have any built in dtrace probes. so yes, plockstat won''t work >>> on s8 branded processes. >> >> >> That''s correct. What was the failure mode? We could at least emit a >> helpful >> message. >> > > I have no log of the error but if my memory is correct it was something > like a missing > plockstat$PID:::rwlock probe. ( For $PID insert the numerical pid of the > process you want to > probe).It fails like this: $ plockstat -p 1747 plockstat: failed to compile program: probe description plockstat1747:::rw-block does not match any probes -- Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno