diff options
author | David Ahern <dsahern@gmail.com> | 2013-11-18 15:32:48 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-27 12:58:38 -0500 |
commit | 3bfe5f81fc8f87bf822f3da36927cfc549f3b3db (patch) | |
tree | e53c8d8de4b88bbc763ff1aceabf20711b23f131 | |
parent | 1f3878c11ca8c9f2d9545ec6e1e6bb5386e0565f (diff) |
perf tools: Export setup_list
Used in upcoming patches (perf sched timehist command).
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1384806771-2945-6-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/symbol.c | 2 | ||||
-rw-r--r-- | tools/perf/util/symbol.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index f55c18da1e40..ce9ce101adf4 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -1749,7 +1749,7 @@ out_fail: | |||
1749 | return -1; | 1749 | return -1; |
1750 | } | 1750 | } |
1751 | 1751 | ||
1752 | static int setup_list(struct strlist **list, const char *list_str, | 1752 | int setup_list(struct strlist **list, const char *list_str, |
1753 | const char *list_name) | 1753 | const char *list_name) |
1754 | { | 1754 | { |
1755 | if (list_str == NULL) | 1755 | if (list_str == NULL) |
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index ad13c5d50b91..f1031a1358a1 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -274,4 +274,7 @@ void kcore_extract__delete(struct kcore_extract *kce); | |||
274 | int kcore_copy(const char *from_dir, const char *to_dir); | 274 | int kcore_copy(const char *from_dir, const char *to_dir); |
275 | int compare_proc_modules(const char *from, const char *to); | 275 | int compare_proc_modules(const char *from, const char *to); |
276 | 276 | ||
277 | int setup_list(struct strlist **list, const char *list_str, | ||
278 | const char *list_name); | ||
279 | |||
277 | #endif /* __PERF_SYMBOL */ | 280 | #endif /* __PERF_SYMBOL */ |