trace-cmd: Do not read entire file in trace_empty()

The function to test if the trace is empty should stop when
it detects a line that is not empty, and report it.
It actually had a bug where it would reach the end of the file
and report that the trace was not empty.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed