commit | e0a5f0a59d0f4fe26cbfd3a05f8f45baab7cec3a | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Feb 16 11:50:38 2017 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Wed Apr 26 10:49:42 2017 -0400 |
tree | 0019cf9d06e0e2894de8d9d6e56f209f3463aeb7 | |
parent | ee713313d7e14097626e72e6c0241bebc9210e80 [diff] |
trace-cmd: Do not initialize profiler if it isn't being used The profiler requires scheduler tracepoints enabled, and will bug out if they are not. The profiler initialization will error without these tracepoints defined. There's no reason to initialize the profiler on reading a trace.dat file especially since it could cause that reading to fail if the profiler required tracepoints are not there. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>