lockstat broken?

lockstat broken?

Post by Thomas Maier-Komo » Fri, 26 Aug 2005 22:19:51



Hello all,

has anybody had the following error?


lockstat: failed to compile program: probe description
lockstat:::adaptive-spin does not match any probes

This is just the simplest example from the manpage. What might
the reason therefore be? privileges seem to be ok:


4531:   /bin/tcsh
flags = <none>
         E: basic,dtrace_proc,dtrace_user
         I: basic,dtrace_proc,dtrace_user
         P: basic,dtrace_proc,dtrace_user
         L: all

What am I doing wrong?

TIA,
Tom

 
 
 

lockstat broken?

Post by Dragan Cvetkovi » Fri, 26 Aug 2005 22:44:35



> Hello all,

> has anybody had the following error?


> lockstat: failed to compile program: probe description
> lockstat:::adaptive-spin does not match any probes

> This is just the simplest example from the manpage. What might
> the reason therefore be? privileges seem to be ok:


> 4531:   /bin/tcsh
> flags = <none>
>          E: basic,dtrace_proc,dtrace_user
>          I: basic,dtrace_proc,dtrace_user
>          P: basic,dtrace_proc,dtrace_user
>          L: all

> What am I doing wrong?

Don't you need dtrace_kernel as well?

Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!

 
 
 

1. Can't run lockstat

root changed permission on lockstat device (soft linked to from
/dev/lockstat). A regular user still can't run lockstat. Why?

$ ls -l /dev/lockstat
lrwxrwxrwx   1 root     root          37 Feb 22  2002 /dev/lockstat ->

$ ls -lL /dev/lockstat
crw-r--r--   1 root     sys       89,  0 May  3  2002 /dev/lockstat

crw-r--r--   1 root     sys       89,  0 May  3  2002

$ id
uid=20114(oracle) gid=20003(dba)
$ /usr/sbin/lockstat -gIW sleep 5
lockstat: cannot open /dev/lockstat: Permission denied
$ ls -l /usr/sbin/lockstat
-r-xr-xr-x  38 root     bin         5256 Jan  5  2000
/usr/sbin/lockstat
$ uname -a
SunOS {mymachine} 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-80

Yong Huang

2. Ethernet / PPP Conlict???

3. Output from lockstat

4. Looking for Dallas Fort Worth Linux Users Group

5. dtrace's lockstat provider

6. HELP needed with Mars_nwe Novell Server for Linux

7. Lockstats for SMP DB Workload

8. NFS Open Files Problem (RH 7.X)

9. lockstat -kgIW and spl()

10. Make broken, top broken, flock errors, kernel modules broken

11. 2.5: ieee1394 still broken, vesafb still broken, ipv6 still broken

12. HELP! Linux broke WinNT and fdisk broke Linux!

13. PPPoE and IP MASQ: ftp is great, HTTP is broken, NNTP is broken