ARM-software / trappy

This repository has moved to https://gitlab.arm.com/tooling/trappy
Apache License 2.0
60 stars 39 forks source link

ftrace: Fix parsing textual traces with no trailing line #275

Closed bjackman closed 6 years ago

bjackman commented 6 years ago

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.

valschneider commented 6 years ago

Didn't test but LGTM