Introduce "trim" function in gamalyzer.data.input for Trace objects.