src: Little changes in trace_event()