Searched refs:trace_is_enabled (Results 1 – 6 of 6) sorted by relevance
68 def trace_is_enabled(): function69 return trace_event_impl.trace_is_enabled()117 def trace_is_enabled(): function181 trace_is_enabled.__doc__ = """Returns whether tracing is enabled.
52 self.assertFalse(trace_event.trace_is_enabled())56 self.assertTrue(trace_event.trace_is_enabled())63 self.assertTrue(trace_event.trace_is_enabled())82 self.assertTrue(trace_event.trace_is_enabled())85 self.assertFalse(trace_event.trace_is_enabled())
159 assert not trace_event.trace_is_enabled(), 'Tracing already running.'161 assert trace_event.trace_is_enabled(), 'Tracing didn\'t enable properly.'167 assert trace_event.trace_is_enabled(), 'Tracing not running'169 assert not trace_event.trace_is_enabled(), 'Tracing didnt disable properly.'
23 if log.trace_is_enabled():40 if log.trace_is_enabled():
45 if trace_is_enabled():
137 def trace_is_enabled(): function