-
Notifications
You must be signed in to change notification settings - Fork 5
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
Mac OS X support? #7
Comments
I believe the problem is that OS X does not support USDT translators. the bylatency script works because it doesn't try to use the arguments at On Wed, Oct 30, 2013 at 4:58 PM, mzachh notifications@github.com wrote:
|
I think I understand. Can we we somehow verify of USDT translators are for sure not supported on MacOSX 10.9? The man page (https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dtrace.1.html) does not mention it. Sorry USDT probes and also MacOSX is quite new to me, therefore me naive approach: I could not use the Makefile, therefore I did the following:
At the moment I could imagine that:
But it's already great that the probes work without the arguments. |
I'm not sure how to verify that USDT translators don't work on MacOS. At sudo dtrace -n 'node*:::http-server-request{ printf("%s\n",
and when I looked at the types of the probe's arguments using "dtrace -lv", The net.d and procfs.d from Solaris will almost certainly not work on OS X, On Thu, Oct 31, 2013 at 2:18 AM, mzachh notifications@github.com wrote:
|
I hacked together a first prototype with non-struct arguments and it seems to work. What do you think, does it make sense do add additional probes like "request-start_nonstruct", to not break existing scripts for your module? Or create an own fork? |
How many arguments are there? Could you put them after the existing the arguments, using the same probes? (That's what we did for the Node.js provider when we added support for OS X. We kept the struct arguments for platforms that support those, but added additional non-struct args for those platforms.) |
Hi,
should this module work on Mac OS X?
I have some issues to get it running.
At the moment I am stuck at the following issue:
sudo dtrace -s examples/http-requests.d
dtrace: failed to compile script examples/http-requests.d: line 22: index 1 is out of range for httpd*:::request-done args[ ]
http-requests-bylatency.d (without arguments) works.
The text was updated successfully, but these errors were encountered: