DTrace — Pt. 6

This thing is incredible.
I’m learning from the book “DTrace
Dynamic Tracing in Oracle® Solaris, Mac OS X, and FreeBSD”
by
Brendan Gregg Jim Mauro

It’s a good book so far. I’m in Ch. 1 <3 DTrace does have > 30,000 trace points.. Here are the ones I found concerning nameFS:

bash-3.00# dtrace -l | grep namefs
37591        fbt            namefs                          nm_mount entry
37592        fbt            namefs                          nm_mount return
37593        fbt            namefs                        nm_unmount entry
37594        fbt            namefs                        nm_unmount return
37595        fbt            namefs                           nm_root entry
37596        fbt            namefs                           nm_root return
37597        fbt            namefs                        nm_statvfs entry
37598        fbt            namefs                        nm_statvfs return
37599        fbt            namefs                           nm_sync entry
37600        fbt            namefs                           nm_sync return
37601        fbt            namefs                   namenodeno_init entry
37602        fbt            namefs                   namenodeno_init return
37603        fbt            namefs                      nm_umountall entry
37604        fbt            namefs                      nm_umountall return
37605        fbt            namefs                          nm_close entry
37606        fbt            namefs                          nm_close return
37607        fbt            namefs                           nm_read entry
37608        fbt            namefs                           nm_read return
37609        fbt            namefs                          nm_write entry
37610        fbt            namefs                          nm_write return
37611        fbt            namefs                          nm_ioctl entry
37612        fbt            namefs                          nm_ioctl return
37613        fbt            namefs                        nm_getattr entry
37614        fbt            namefs                        nm_getattr return
37615        fbt            namefs                        nm_setattr entry
37616        fbt            namefs                        nm_setattr return
37617        fbt            namefs                         nm_access entry
37618        fbt            namefs                         nm_access return
37619        fbt            namefs                         nm_create entry
37620        fbt            namefs                         nm_create return
37621        fbt            namefs                           nm_link entry
37622        fbt            namefs                           nm_link return
37623        fbt            namefs                          nm_fsync entry
37624        fbt            namefs                          nm_fsync return
37625        fbt            namefs                       nm_inactive entry
37626        fbt            namefs                       nm_inactive return
37627        fbt            namefs                            nm_fid entry
37628        fbt            namefs                            nm_fid return
37629        fbt            namefs                         nm_rwlock entry
37630        fbt            namefs                         nm_rwlock return
37631        fbt            namefs                       nm_rwunlock entry
37632        fbt            namefs                       nm_rwunlock return
37633        fbt            namefs                           nm_seek entry
37634        fbt            namefs                           nm_seek return
37635        fbt            namefs                         nm_realvp entry
37636        fbt            namefs                         nm_realvp return
37637        fbt            namefs                           nm_poll entry
37638        fbt            namefs                           nm_poll return
37639        fbt            namefs                nm_access_unlocked entry
37640        fbt            namefs                nm_access_unlocked return
37641        fbt            namefs                             _info entry
37642        fbt            namefs                             _info return
37643        fbt            namefs                     nm_unmountall entry
37644        fbt            namefs                     nm_unmountall return
37645        fbt            namefs                           nm_open entry
37646        fbt            namefs                           nm_open return
37647        fbt            namefs                          namefind entry
37648        fbt            namefs                          namefind return
37649        fbt            namefs                          nameinit entry
37650        fbt            namefs                          nameinit return
37651        fbt            namefs                   namenodeno_free entry
37652        fbt            namefs                   namenodeno_free return
37653        fbt            namefs                  namenodeno_alloc entry
37654        fbt            namefs                  namenodeno_alloc return
37655        fbt            namefs                        nameinsert entry
37656        fbt            namefs                        nameinsert return
37657        fbt            namefs                        nameremove entry
37658        fbt            namefs                        nameremove return

And VFS ones too:

13567        fbt           genunix                  vfs_mountdevices entry
13568        fbt           genunix                  vfs_mountdevices return
13569        fbt           genunix                       vfs_mountfs entry
13570        fbt           genunix                       vfs_mountfs return
13571        fbt           genunix              vfs_setmntopt_nolock entry
13572        fbt           genunix              vfs_setmntopt_nolock return
13573        fbt           genunix            vfs_optionisset_nolock entry
13574        fbt           genunix            vfs_optionisset_nolock return
13575        fbt           genunix           vfs_createopttbl_extend entry
13576        fbt           genunix           vfs_createopttbl_extend return
13577        fbt           genunix             vfs_swapopttbl_nolock entry
13578        fbt           genunix             vfs_swapopttbl_nolock return
13579        fbt           genunix                    vfs_swapopttbl entry
13580        fbt           genunix                    vfs_swapopttbl return
13581        fbt           genunix                    vfs_freemnttab entry
13582        fbt           genunix                    vfs_freemnttab return
13583        fbt           genunix                       vfs_setpath entry
13584        fbt           genunix                       vfs_setpath return
13585        fbt           genunix             vfs_copyopttbl_extend entry
13586        fbt           genunix             vfs_copyopttbl_extend return
13587        fbt           genunix          vfs_copycancelopt_extend entry
13588        fbt           genunix          vfs_copycancelopt_extend return
13589        fbt           genunix                       vfs_copyopt entry
13590        fbt           genunix                       vfs_copyopt return
13591        fbt           genunix               vfs_mergecancelopts entry
13592        fbt           genunix               vfs_mergecancelopts return
13593        fbt           genunix                       vfs_freeopt entry
13594        fbt           genunix                       vfs_freeopt return
13595        fbt           genunix                 vfs_freecancelopt entry
13596        fbt           genunix                 vfs_freecancelopt return
13597        fbt           genunix            vfs_clearmntopt_nolock entry
13598        fbt           genunix            vfs_clearmntopt_nolock return
13599        fbt           genunix                        vfs_addtag entry
13600        fbt           genunix                        vfs_addtag return
13601        fbt           genunix                      vfs_hash_add entry
13602        fbt           genunix                      vfs_hash_add return
13603        fbt           genunix                   vfs_hash_remove entry
13604        fbt           genunix                   vfs_hash_remove return
13605        fbt           genunix                    vfs_to_modname entry
13606        fbt           genunix                    vfs_to_modname return
14434        fbt           genunix                      vfs_opsinuse entry
14435        fbt           genunix                      vfs_opsinuse return
14886        fbt           genunix                vfs_list_read_lock entry
14887        fbt           genunix                vfs_list_read_lock return
15032        fbt           genunix                    vfs_freevfsops entry
15033        fbt           genunix                    vfs_freevfsops return
15040        fbt           genunix                 vfs_mntpoint2vfsp entry
15041        fbt           genunix                 vfs_mntpoint2vfsp return
15078        fbt           genunix              vfs_getvfsswbyvfsops entry
15079        fbt           genunix              vfs_getvfsswbyvfsops return
15170        fbt           genunix            vfs_freevfsops_by_type entry
15171        fbt           genunix            vfs_freevfsops_by_type return
15250        fbt           genunix                      vfs_can_sync entry
15251        fbt           genunix                      vfs_can_sync return
15286        fbt           genunix                vfs_mnttab_modtime entry
15287        fbt           genunix                vfs_mnttab_modtime return
15392        fbt           genunix                   vfs_clearmntopt entry
15393        fbt           genunix                   vfs_clearmntopt return
15590        fbt           genunix                   vfs_mergeopttbl entry
15591        fbt           genunix                   vfs_mergeopttbl return
16010        fbt           genunix                    vfs_copyopttbl entry
16011        fbt           genunix                    vfs_copyopttbl return
16328        fbt           genunix             vfs_mnttab_modtimeupd entry
16329        fbt           genunix             vfs_mnttab_modtimeupd return
16540        fbt           genunix                        vfs_addmip entry
16541        fbt           genunix                        vfs_addmip return
16578        fbt           genunix                    vfs_rlock_wait entry
16579        fbt           genunix                    vfs_rlock_wait return
16596        fbt           genunix                        vfs_clrtag entry
16597        fbt           genunix                        vfs_clrtag return
16635        fbt           genunix                        vfs_delmip entry
16636        fbt           genunix                        vfs_delmip return
16769        fbt           genunix                        vfs_getops entry
16770        fbt           genunix                        vfs_getops return
16771        fbt           genunix                   vfs_getresource entry
16772        fbt           genunix                   vfs_getresource return
16831        fbt           genunix                        vfs_hasopt entry
16832        fbt           genunix                        vfs_hasopt return
16853        fbt           genunix                    vfs_root_redev entry
16854        fbt           genunix                    vfs_root_redev return
16899        fbt           genunix                   vfs_setresource entry
16900        fbt           genunix                   vfs_setresource return
17003        fbt           genunix                  vfs_parsemntopts entry
17004        fbt           genunix                  vfs_parsemntopts return
17051        fbt           genunix                    vfs_unrefvfssw entry
17052        fbt           genunix                    vfs_unrefvfssw return
17099        fbt           genunix                     vfs_list_lock entry
17100        fbt           genunix                     vfs_list_lock return
17256        fbt           genunix                        vfs_remove entry
17257        fbt           genunix                        vfs_remove return
17294        fbt           genunix                        vfs_settag entry
17295        fbt           genunix                        vfs_settag return
17296        fbt           genunix                        vfs_setops entry
17297        fbt           genunix                        vfs_setops return
17420        fbt           genunix                        vfs_unlock entry
17421        fbt           genunix                        vfs_unlock return
17454        fbt           genunix                vfs_buildoptionstr entry
17455        fbt           genunix                vfs_buildoptionstr return
17560        fbt           genunix                     vfs_lock_held entry
17561        fbt           genunix                     vfs_lock_held return
17570        fbt           genunix                vfs_getvfsswbyname entry
17571        fbt           genunix                vfs_getvfsswbyname return
17574        fbt           genunix                     vfs_lock_wait entry
17575        fbt           genunix                     vfs_lock_wait return
17782        fbt           genunix                      vfs_list_add entry
17783        fbt           genunix                      vfs_list_add return
17970        fbt           genunix                  vfs_devismounted entry
17971        fbt           genunix                  vfs_devismounted return
18050        fbt           genunix                    vfs_freeopttbl entry
18051        fbt           genunix                    vfs_freeopttbl return
18074        fbt           genunix                     vfs_setmntopt entry
18075        fbt           genunix                     vfs_setmntopt return
18276        fbt           genunix                     vfs_mountroot entry
18277        fbt           genunix                     vfs_mountroot return
18686        fbt           genunix                         vfs_rlock entry
18687        fbt           genunix                         vfs_rlock return
19284        fbt           genunix                       vfs_syncall entry
19285        fbt           genunix                       vfs_syncall return
19710        fbt           genunix                    vfs_unmountall entry
19711        fbt           genunix                    vfs_unmountall return
19750        fbt           genunix                      vfs_dev2vfsp entry
19751        fbt           genunix                      vfs_dev2vfsp return
19766        fbt           genunix                      vfs_setfsops entry
19767        fbt           genunix                      vfs_setfsops return
19802        fbt           genunix                      vfs_getvfssw entry
19803        fbt           genunix                      vfs_getvfssw return
19886        fbt           genunix                      vfs_EIO_sync entry
19887        fbt           genunix                      vfs_EIO_sync return
20066        fbt           genunix                      vfs_refvfssw entry
20067        fbt           genunix                      vfs_refvfssw return
20491        fbt           genunix                           vfs_EIO entry
20492        fbt           genunix                           vfs_EIO return
20493        fbt           genunix                           vfs_add entry
20494        fbt           genunix                           vfs_add return
20509        fbt           genunix                   vfs_setmntpoint entry
20510        fbt           genunix                   vfs_setmntpoint return
20525        fbt           genunix                   vfs_getmntpoint entry
20526        fbt           genunix                   vfs_getmntpoint return
20625        fbt           genunix                   vfs_optionisset entry
20626        fbt           genunix                   vfs_optionisset return
20695        fbt           genunix                     vfs_makefsops entry
20696        fbt           genunix                     vfs_makefsops return
20773        fbt           genunix                     vfs_make_fsid entry
20774        fbt           genunix                     vfs_make_fsid return
20783        fbt           genunix                          vfs_hold entry
20784        fbt           genunix                          vfs_hold return
20785        fbt           genunix                          vfs_init entry
20786        fbt           genunix                          vfs_init return
20787        fbt           genunix                          vfs_lock entry
20788        fbt           genunix                          vfs_lock return
20791        fbt           genunix                          vfs_rele entry
20792        fbt           genunix                          vfs_rele return
20795        fbt           genunix                          vfs_sync entry
20796        fbt           genunix                          vfs_sync return
21054        fbt           genunix                   vfs_mnttab_poll entry
21055        fbt           genunix                   vfs_mnttab_poll return
21518        fbt           genunix                      vfs_matchops entry
21519        fbt           genunix                      vfs_matchops return
21670        fbt           genunix                  vfs_createopttbl entry
21671        fbt           genunix                  vfs_createopttbl return
21720        fbt           genunix                   vfs_list_unlock entry
21721        fbt           genunix                   vfs_list_unlock return
21726        fbt           genunix                   vfs_list_remove entry
21727        fbt           genunix                   vfs_list_remove return
21750        fbt           genunix                  vfs_syncprogress entry
21751        fbt           genunix                  vfs_syncprogress return
21762        fbt           genunix                   vfs_devmounting entry
21763        fbt           genunix                   vfs_devmounting return

To install packages that work with my 6/06 Solaris 10 version of LibC, I had to use openCSW’s legacy packages :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*