Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTrace Support #645

Closed
ryao opened this issue Apr 8, 2012 · 5 comments
Closed

DTrace Support #645

ryao opened this issue Apr 8, 2012 · 5 comments
Labels
Type: Feature Feature request or new feature

Comments

@ryao
Copy link
Contributor

ryao commented Apr 8, 2012

It appears that Oracle is porting DTrace to Linux:

http://oss.oracle.com/git/?p=linux-2.6-dtrace-modules-beta.git;a=summary
http://oss.oracle.com/git/?p=linux-2.6-dtrace-unbreakable-beta.git;a=summary

We might be able to leverage this to enable us to debug issues involving ZFS.

@pyavdr
Copy link
Contributor

pyavdr commented Apr 9, 2012

Did you try it? Is it worth to try it ?

@ryao
Copy link
Contributor Author

ryao commented Apr 9, 2012

I have not tried it yet. ZFSOnLinux has no DTrace probes as far as I have seen. This would be more of a long term goal than something we could do right away.

@behlendorf
Copy link
Contributor

There were some dtrace probes but they have been disabled since they didn't make any sense under Linux. Personally, I've found the Linux systemtap and ftrace utilities meet my needs, but to be honest I don't have much experience with DTrace. But if someone wants to make this work long term on Linux I'm all for it, the more tools the better.

@ryao
Copy link
Contributor Author

ryao commented Nov 6, 2012

There seems to be another dtrace port being done. This one appears to be an improvement on Oracle's port in that it is not tied to kernel versions that Oracle uses, although its build system does not appear to be as robust as ZFSOnLinux's build system:

https://github.com/dtrace4linux/linux

@behlendorf
Copy link
Contributor

I'm convinced the cleanest thing we can do here is tie to dtrace probes to Linux kernel tracepoints. An initial version of this patch can be found in #2406. If at some point we can use the dtrace4linux port too that would be great, but porting dtrace is outside the scope of ZoL.

@behlendorf behlendorf removed this from the 1.0.0 milestone Oct 6, 2014
pcd1193182 pushed a commit to pcd1193182/zfs that referenced this issue Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Feature request or new feature
Projects
None yet
Development

No branches or pull requests

3 participants