On Jul 20, 2017 8:03 PM, "Nan Xiao" <[email protected]> wrote:
Hi all,
My FreeBSD version is 11.0, and I write a simple DTrace script:
#!/usr/sbin/dtrace -s -x dynvarsize=64m
dtrace:::BEGIN
{
printf("Hello FreeBSD!\n");
}
Running it will generate following error:
dtrace: failed to open -x dynvarsize=64m: No such file or directory
I'm not able to test at this very moment, but I suspect that -s needs to be
the last argument for this to work.
So does DTrace only support using "#pragma D option dynvarsize=64m" format
in script? I remembered Solaris can support both formats.
Thanks!
Best Regards
Nan Xiao
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"