提交 10c95f4f 编写于 作者: T Tom Zanussi 提交者: Ingo Molnar

perf trace/scripting: Remove extraneous header read

perf_header__read() is already done in perf_session__open(), so
remove it from the script gen case.
Signed-off-by: NTom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
LKML-Reference: <1267599873-8193-2-git-send-email-tzanussi@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 da7196e1
......@@ -608,7 +608,6 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used)
return -1;
}
perf_header__read(&session->header, input);
err = scripting_ops->generate_script("perf-trace");
goto out;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册