aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>2010-01-22 08:45:29 -0500
committerIngo Molnar <mingo@elte.hu>2010-01-27 07:01:34 -0500
commit408f0d18ba6b9bb447f807f621b2c9663c5cf638 (patch)
treed5bd67efd985f2d4d15d8f0d6418e27f420bcff0 /tools
parent19fc2dedff448120a7aeaa3c136689c6b71777c6 (diff)
perf trace: Add -i option for choosing input file
perf trace lacks -i option for choosing input file. This patch adds it to perf trace. Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <1264167929-6741-1-git-send-email-mitake@dcl.info.waseda.ac.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 8e9cbfe608d6..0b65779e3c10 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -515,6 +515,8 @@ static const struct option options[] = {
515 parse_scriptname), 515 parse_scriptname),
516 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", 516 OPT_STRING('g', "gen-script", &generate_script_lang, "lang",
517 "generate perf-trace.xx script in specified language"), 517 "generate perf-trace.xx script in specified language"),
518 OPT_STRING('i', "input", &input_name, "file",
519 "input file name"),
518 520
519 OPT_END() 521 OPT_END()
520}; 522};