From: tip-bot for Tom Zanussi on
Commit-ID: 10c95f4f41889daaa8130e0bd12209825dbe8d39
Author: Tom Zanussi <tzanussi(a)>
AuthorDate: Wed, 3 Mar 2010 01:04:32 -0600
Committer: Ingo Molnar <mingo(a)>
CommitDate: Thu, 4 Mar 2010 12:19:54 +0100

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: Tom Zanussi <tzanussi(a)>
Cc: fweisbec(a)
Cc: rostedt(a)
LKML-Reference: <1267599873-8193-2-git-send-email-tzanussi(a)>
Signed-off-by: Ingo Molnar <mingo(a)>
tools/perf/builtin-trace.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 5db687f..b8153db 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -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;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at