OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7196e
)
perf trace/scripting: Remove extraneous header read
author
Tom Zanussi
<tzanussi@gmail.com>
Wed, 3 Mar 2010 07:04:32 +0000
(
01:04
-0600)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 4 Mar 2010 11:19:54 +0000
(12:19 +0100)
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
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-trace.c
b/tools/perf/builtin-trace.c
index
5db687f
..
b8153db
100644
(file)
--- 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;
}