def SetUp(self):
   if self.trace_output and self._trace_all:
     to_include = [r"pylib\..*", r"devil\..*", "__main__"]
     to_exclude = ["logging"]
     instrumentation_tracing.start_instrumenting(self.trace_output, to_include,
                                                 to_exclude)
   elif self.trace_output:
     self.EnableTracing()
 def SetUp(self):
     if self.trace_output and self._trace_all:
         to_include = [r"pylib\..*", r"devil\..*", "__main__"]
         to_exclude = ["logging"]
         instrumentation_tracing.start_instrumenting(
             self.trace_output, to_include, to_exclude)
     elif self.trace_output:
         self.EnableTracing()