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

freebsd support #4

Open
rkearsley opened this issue May 19, 2013 · 2 comments
Open

freebsd support #4

rkearsley opened this issue May 19, 2013 · 2 comments

Comments

@rkearsley
Copy link

Hi Yichun
Thought I'd try this on my lua code to find if I could improve anything as it's getting to be quite a few LOC now, but came to a stop pretty early as I'm using freebsd.

What are the obstacles with freebsd - would it be possible to run it with some work or is it just a no-go?

Thanks as always
Richard

@agentzh
Copy link
Member

agentzh commented May 20, 2013

Hello!

Systemtap is specific to Linux. So you will never run any of the tools in the Nginx Systemtap Toolkit on other operating systems (unless systemtap is ported to those systems, which is pretty unlikely).

Fortuantely FreeBSD has dtrace, which is similar to systemtap (so do Solaris and Mac OS X). Maybe we can start an nginx-dtrace-toolkit project at some point ;) Or will you contribute to this project?

Quite a few tools in nginx-systemtap-toolkit can be easily ported over to dtrace but some should be really tricky to port due to various limitations in dtrace (like lack of DWARF automatic inspection support in user land probing and lack of control flow statements like "if" and "for"/"while"). I think we can just start by porting those "easy" tools first :)

Best regards,
-agentzh

@rkearsley
Copy link
Author

Hey
Sure, let's do it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants