DTrace: coming attractions

I haven't been as prolific a blog writer as I like for the last few days because I've been working morning, noon, and night on some pretty cool new stuff for DTrace. Here's a teaser, I promise I'll give you more later when I have it all working:

bash-2.05b# dtrace -l -n plockstat100694:::

   ID     PROVIDER            MODULE                        FUNCTION NAME
37394 plockstat694         libc.so.1                mutex_lock_queue mutex-block
37395 plockstat694         libc.so.1                     rwlock_lock rw-block
37396 plockstat694         libc.so.1                 __mutex_trylock mutex-acquire
37397 plockstat694         libc.so.1                  __mutex_unlock mutex-release
37398 plockstat694         libc.so.1           mutex_unlock_internal mutex-release
37399 plockstat694         libc.so.1          mutex_trylock_adaptive mutex-spin
37400 plockstat694         libc.so.1                     rwlock_lock rw-block
37401 plockstat694         libc.so.1                 cond_wait_queue mutex-acquire
37402 plockstat694         libc.so.1           _pthread_spin_trylock mutex-acquire
37403 plockstat694         libc.so.1                     lmutex_lock mutex-acquire
37404 plockstat694         libc.so.1                 __mutex_trylock mutex-acquire
37405 plockstat694         libc.so.1                 mutex_lock_impl mutex-acquire
37406 plockstat694         libc.so.1               fast_process_lock mutex-acquire
...

In case you need a hint, note that plockstat rhymes with lockstat(1m)...

Comments:

I believe that my comment on this one on the internal Dtrace alias was ...

mmmm, yummy

Those of us that get stuck with user-space performance calls with a (decided lack of data) are going to find this one useful... Well, it will be useful when we can get these folks onto Solaris 10, many are still running 2.6 (and some even on 2.5.1!).

alan.

Posted by Alan Hargreaves on July 25, 2004 at 11:39 AM PDT #

[Trackback] Just noticed two rather large dtrace putbacks into build 67 today. Bryan has just completed a whole lot of small fixes that include the gas/as problem with the fbt provider that was discussed on the bigadmin forum and some interaction issues wit...

Posted by Alan Hargreaves' Weblog on August 30, 2004 at 02:26 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

Adam Leventhal, Fishworks engineer

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today