diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-script.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 6d98a83d5a60..76577e67c3b3 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include "util/util.h" | 14 | #include "util/util.h" |
15 | #include "util/evlist.h" | 15 | #include "util/evlist.h" |
16 | #include "util/evsel.h" | 16 | #include "util/evsel.h" |
17 | #include "util/sort.h" | ||
17 | #include <linux/bitmap.h> | 18 | #include <linux/bitmap.h> |
18 | 19 | ||
19 | static char const *script_name; | 20 | static char const *script_name; |
@@ -1143,6 +1144,8 @@ static const struct option options[] = { | |||
1143 | parse_output_fields), | 1144 | parse_output_fields), |
1144 | OPT_BOOLEAN('a', "all-cpus", &system_wide, | 1145 | OPT_BOOLEAN('a', "all-cpus", &system_wide, |
1145 | "system-wide collection from all CPUs"), | 1146 | "system-wide collection from all CPUs"), |
1147 | OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", | ||
1148 | "only consider these symbols"), | ||
1146 | OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), | 1149 | OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), |
1147 | OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", | 1150 | OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", |
1148 | "only display events for these comms"), | 1151 | "only display events for these comms"), |