提交 3bfe5f81 编写于 作者: D David Ahern 提交者: Arnaldo Carvalho de Melo

perf tools: Export setup_list

Used in upcoming patches (perf sched timehist command).
Signed-off-by: NDavid 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.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 1f3878c1
......@@ -1749,7 +1749,7 @@ static int vmlinux_path__init(void)
return -1;
}
static int setup_list(struct strlist **list, const char *list_str,
int setup_list(struct strlist **list, const char *list_str,
const char *list_name)
{
if (list_str == NULL)
......
......@@ -274,4 +274,7 @@ void kcore_extract__delete(struct kcore_extract *kce);
int kcore_copy(const char *from_dir, const char *to_dir);
int compare_proc_modules(const char *from, const char *to);
int setup_list(struct strlist **list, const char *list_str,
const char *list_name);
#endif /* __PERF_SYMBOL */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册