49 } |
49 } |
50 }; |
50 }; |
51 |
51 |
52 static void set_bool_flag(const char* flag, bool value) { |
52 static void set_bool_flag(const char* flag, bool value) { |
53 CommandLineFlags::boolAtPut((char*)flag, strlen(flag), &value, |
53 CommandLineFlags::boolAtPut((char*)flag, strlen(flag), &value, |
54 ATTACH_ON_DEMAND); |
54 Flag::ATTACH_ON_DEMAND); |
55 } |
55 } |
56 |
56 |
57 // Enable only the "fine grained" flags. Do *not* touch |
57 // Enable only the "fine grained" flags. Do *not* touch |
58 // the overall "ExtendedDTraceProbes" flag. |
58 // the overall "ExtendedDTraceProbes" flag. |
59 void DTrace::enable_dprobes(int probes) { |
59 void DTrace::enable_dprobes(int probes) { |