trace: move backend-specific code into the trace/ directorySigned-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
123456789