Merge "Check if the trace was stopped before starting the tracing thread" into rvc-dev am: 164a1d8b1e am: 0e6538a98e am: e8bdf1b2ae am: b1c6625c5e

Change-Id: I2ca01154edeec09bea943d550f55bd792fdbe4bb