commit | c42213e4b113cdea8062a30945d1101dc02a8d31 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Fri Jan 22 12:45:35 2010 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Mon Feb 01 22:29:28 2010 -0500 |
tree | 408cb0a49c7b0e50dcd6f990abaf0023291da25f | |
parent | 7ad960c1cc3ca0e73abc1ecfc97c46f46ba04197 [diff] |
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>