-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3598 want to dtrace when errors are generated in zfs
Reviewed by: Dan Kimmel <[email protected]> Reviewed by: Adam Leventhal <[email protected]> Reviewed by: Christopher Siden <[email protected]> Approved by: Garrett D'Amore <[email protected]>
- Loading branch information
Showing
59 changed files
with
993 additions
and
893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* CDDL HEADER START | ||
* | ||
* This file and its contents are supplied under the terms of the | ||
* Common Development and Distribution License ("CDDL"), version 1.0. | ||
* You may only use this file in accordance with the terms of version | ||
* 1.0 of the CDDL. | ||
* | ||
* A full copy of the text of the CDDL should have accompanied this | ||
* source. A copy of the CDDL is also available via the Internet at | ||
* http://www.illumos.org/license/CDDL. | ||
* | ||
* CDDL HEADER END | ||
*/ | ||
|
||
/* | ||
* Copyright (c) 2013 by Delphix. All rights reserved. | ||
*/ | ||
|
||
provider zfs { | ||
probe probe0(char *probename); | ||
probe probe1(char *probename, unsigned long arg1); | ||
probe probe2(char *probename, unsigned long arg1, unsigned long arg2); | ||
probe probe3(char *probename, unsigned long arg1, unsigned long arg2, | ||
unsigned long arg3); | ||
probe probe4(char *probename, unsigned long arg1, unsigned long arg2, | ||
unsigned long arg3, unsigned long arg4); | ||
|
||
probe set__error(int err); | ||
}; | ||
|
||
#pragma D attributes Evolving/Evolving/ISA provider zfs provider | ||
#pragma D attributes Private/Private/Unknown provider zfs module | ||
#pragma D attributes Private/Private/Unknown provider zfs function | ||
#pragma D attributes Evolving/Evolving/ISA provider zfs name | ||
#pragma D attributes Evolving/Evolving/ISA provider zfs args |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.