def newTrace(self, traceName = None):
    """
    Create a new empty trace file.

    @param traceName:  Resulting trace name
    """
    trace     = Trace.Trace()
    traceName = traceName or len(self.analyzer.traces) % "t%d"
    self.analyzer.traces[traceName]     = trace
    self.reportInfo("Created new trace as %s." % (traceName))
    return trace
dataset/ETHPy150Open skyostil/tracy/src/analyzer/plugins/core/CorePlugin.py/CoreInteractivePlugin.newTrace/swapped operands of `%`