ftrace: Fix parsing textual traces with no trailing line
Created by: bjackman
We currently strip off the last character under the assumption that it is a '\n'. However it isn't always. So use rstrip to do that instead.
Created by: bjackman
We currently strip off the last character under the assumption that it is a '\n'. However it isn't always. So use rstrip to do that instead.