Include trx state in query profiling (and DBPerformance log)