path: root/tools/perf/builtin.h
diff options
authorFeng Tang <>2012-09-07 16:42:26 +0800
committerArnaldo Carvalho de Melo <>2012-09-17 13:11:26 -0300
commite5f3705e62b03251797a5173024184bfc223599d (patch)
tree0063204a6feb32eb63e5f06e5444ef6af0d6fbd0 /tools/perf/builtin.h
parent59cbea229473350168930941986ebe5bf685cc23 (diff)
perf scripts: Export a find_scripts() function
So that other perf commands/browser has a way to dig out the available scripts info in system, this is a preparation for the script browser. Signed-off-by: Feng Tang <> Cc: Andi Kleen <> Cc: David Ahern <> Cc: Ingo Molnar <> Cc: Namhyung Kim <> Cc: Peter Zijlstra <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/builtin.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin.h b/tools/perf/builtin.h
index b382bd551aac..3ea74ed1b26b 100644
--- a/tools/perf/builtin.h
+++ b/tools/perf/builtin.h
@@ -36,4 +36,5 @@ extern int cmd_kvm(int argc, const char **argv, const char *prefix);
extern int cmd_test(int argc, const char **argv, const char *prefix);
extern int cmd_inject(int argc, const char **argv, const char *prefix);
+extern int find_scripts(char **scripts_array, char **scripts_path_array);