From d74fc2ab046cc88f4df21c4a2ade7c6bca547eda Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 1 Oct 2012 15:20:58 -0300 Subject: [PATCH] --- yaml --- r: 333941 b: refs/heads/master c: 69b6470e9ef3f6ea72b7e46e140d85970d8e1bc8 h: refs/heads/master i: 333939: f47a3f76cbe942427700735e1f4f32b6c251e00a v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-script.c | 90 +++++++++++++++---------------- 2 files changed, 43 insertions(+), 49 deletions(-) diff --git a/[refs] b/[refs] index b1b5c6e24297..ec6cdbe4856a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b070a547fda009bdb840b90aab7274be9e41de4d +refs/heads/master: 69b6470e9ef3f6ea72b7e46e140d85970d8e1bc8 diff --git a/trunk/tools/perf/builtin-script.c b/trunk/tools/perf/builtin-script.c index 1be843aa1546..fb9625083a2e 100644 --- a/trunk/tools/perf/builtin-script.c +++ b/trunk/tools/perf/builtin-script.c @@ -24,7 +24,6 @@ static u64 last_timestamp; static u64 nr_unordered; extern const struct option record_options[]; static bool no_callchain; -static bool show_full_info; static bool system_wide; static const char *cpu_list; static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS); @@ -473,8 +472,6 @@ static int cleanup_scripting(void) return scripting_ops->stop_script(); } -static const char *input_name; - static int process_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, @@ -1156,20 +1153,40 @@ static int has_required_arg(char *script_path) return n_args; } -static const char * const script_usage[] = { - "perf script []", - "perf script [] record