equal
deleted
inserted
replaced
666 out->print_cr("flag value has to be an integer"); |
666 out->print_cr("flag value has to be an integer"); |
667 return JNI_ERR; |
667 return JNI_ERR; |
668 } |
668 } |
669 } |
669 } |
670 |
670 |
671 if (strcmp(name, "ExtendedDTraceProbes") != 0) { |
671 if (strcmp(name, "ExtendedDTraceProbes") == 0) { |
672 out->print_cr("flag '%s' cannot be changed", name); |
672 DTrace::set_extended_dprobes(flag); |
673 return JNI_ERR; |
673 return JNI_OK; |
674 } |
674 } |
675 |
675 |
676 DTrace::set_extended_dprobes(flag); |
676 if (strcmp(name, "DTraceMonitorProbes") == 0) { |
677 return JNI_OK; |
677 DTrace::set_monitor_dprobes(flag); |
|
678 return JNI_OK; |
|
679 } |
|
680 |
|
681 out->print_cr("flag '%s' cannot be changed", name); |
|
682 return JNI_ERR; |
678 } |
683 } |
679 |
684 |
680 void AttachListener::pd_detachall() { |
685 void AttachListener::pd_detachall() { |
681 DTrace::detach_all_clients(); |
686 DTrace::detach_all_clients(); |
682 } |
687 } |