commit | e1d8820ceb0fd75542edcb997461033d239f350f | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Tue Dec 23 09:56:28 2014 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Mon Jan 05 15:03:58 2015 -0500 |
tree | c65adbc4da2bf68e116c4aa1cdefd22018068fc4 | |
parent | a96471c90dd2bf8710c6c1e28ed2b64474a8a37a [diff] |
trace-cmd: Use record->cpu instead of tracking cpu tracecmd_read_data(), tracecmd_read_next_data() and tracecmd_peek_data() all set the record->cpu to the cpu that the record is on. Do not track the cpu if we can use record->cpu instead. This prevents the bug (that this patch fixes) where the cpu gets out of sync with the record be processed. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>