From 410466074a8091b234391abdcb8a32291c605b3a Mon Sep 17 00:00:00 2001 From: Feng Tang Date: Fri, 7 Sep 2012 16:42:24 +0800 Subject: [PATCH] --- yaml --- r: 323836 b: refs/heads/master c: 36385be55da10b3271407c45c3a62d9af3db666e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-script.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9adcfdb16030..f65ad02962c6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1500b93b61fc70a1176871b64f1c8ae3bd4da9dd +refs/heads/master: 36385be55da10b3271407c45c3a62d9af3db666e diff --git a/trunk/tools/perf/builtin-script.c b/trunk/tools/perf/builtin-script.c index 6d98a83d5a60..76577e67c3b3 100644 --- a/trunk/tools/perf/builtin-script.c +++ b/trunk/tools/perf/builtin-script.c @@ -14,6 +14,7 @@ #include "util/util.h" #include "util/evlist.h" #include "util/evsel.h" +#include "util/sort.h" #include static char const *script_name; @@ -1143,6 +1144,8 @@ static const struct option options[] = { parse_output_fields), OPT_BOOLEAN('a', "all-cpus", &system_wide, "system-wide collection from all CPUs"), + OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", + "only consider these symbols"), OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", "only display events for these comms"),