Bug Description:
When loading a binary trace, the BinaryFTrace validate method should not throw. In this instance, the getMagicValuesAndFtraceVersion throws if it fails to parse the trace file. This happens when the binary file is not an ftrace trace.
Steps to Reproduce:
- Have a binary trace file which is not an ftrace trace
- Open it in Trace Compass
- The validation throws a TmfTraceException which interrupts validation and the trace is parsed incorrectly.
Additional Information
- Operating System: EndeavourOS Linux
- Trace Compass Version: latest