perf trace/scripting: Remove extraneous header read
authorTom Zanussi <tzanussi@gmail.com>
Wed, 3 Mar 2010 07:04:32 +0000 (01:04 -0600)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Mar 2010 11:19:54 +0000 (12:19 +0100)
commit10c95f4f41889daaa8130e0bd12209825dbe8d39
tree7498ca6847199d32459944efb1dfaa5bd573f2f9
parentda7196e1f986c846ffa8b2ec385223fad38e8518
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@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
LKML-Reference: <1267599873-8193-2-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-trace.c