-
Notifications
You must be signed in to change notification settings - Fork 0
skrp/DTRACE
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
################################## # DTRACE - dtrace & zdb interface # MAP ############################ ZFS & FreeBSD vv perl_probe_object_framework vv API: foreach (@obj_req) push @RES probe($_); vv ALG: dresult = analyze(@RES); ################################## # OLD ############################ zdb commands of importance dtrace reports for early disaster detection # ZDB ANALYSIS ####### 1 - pass config verify 2 - zpool stats 3 - zfs stats 4 - dataset tool 5 - list tools # DTRACE TOOLS ####### https://metacpan.org/source/XSAWYERX/perl-5.26.0/INSTALL#L1002 =head2 DTrace support On platforms where DTrace is available, it may be enabled by using the -Dusedtrace option to Configure. DTrace probes are available for subroutine entry (sub-entry) and subroutine exit (sub-exit). Here's a simple D script that uses them: perl$target:::sub-entry, perl$target:::sub-return { printf("%s %s (%s:%d)\n", probename == "sub-entry" ? "->" : "<-", copyinstr(arg0), copyinstr(arg1), arg2); }
About
ZFS on FreeBSD
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published