aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-branch-options.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2015-05-27 10:51:51 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-05-27 21:02:17 -0300
commitf00898f4e20b286877b8d6d96d6e404661fd7985 (patch)
tree74a48727edbc5edb44b6df4b1455e6e17c332f13 /tools/perf/util/parse-branch-options.h
parentperf annotation: Add symbol__get_annotation (diff)
downloadlinux-dev-f00898f4e20b286877b8d6d96d6e404661fd7985.tar.xz
linux-dev-f00898f4e20b286877b8d6d96d6e404661fd7985.zip
perf tools: Move branch option parsing to own file
.. to allow sharing between builtin-record and builtin-top later. No code changes, just moved code. Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1432749114-904-9-git-send-email-andi@firstfloor.org [ Rename too generic branch.[ch] name to parse-branch-options.[ch] ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-branch-options.h')
-rw-r--r--tools/perf/util/parse-branch-options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/parse-branch-options.h b/tools/perf/util/parse-branch-options.h
new file mode 100644
index 000000000000..b9d9470c2e82
--- /dev/null
+++ b/tools/perf/util/parse-branch-options.h
@@ -0,0 +1,5 @@
+#ifndef _PERF_PARSE_BRANCH_OPTIONS_H
+#define _PERF_PARSE_BRANCH_OPTIONS_H 1
+struct option;
+int parse_branch_stack(const struct option *opt, const char *str, int unset);
+#endif /* _PERF_PARSE_BRANCH_OPTIONS_H */