perf tools: Move branch option parsing to own file
authorAndi Kleen <ak@linux.intel.com>
Wed, 27 May 2015 17:51:51 +0000 (10:51 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 May 2015 00:02:17 +0000 (21:02 -0300)
commitf00898f4e20b286877b8d6d96d6e404661fd7985
tree74a48727edbc5edb44b6df4b1455e6e17c332f13
parent83be34a7a913bdf9f21f524333c63d9c48a28ef4
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>
tools/perf/builtin-record.c
tools/perf/util/Build
tools/perf/util/parse-branch-options.c [new file with mode: 0644]
tools/perf/util/parse-branch-options.h [new file with mode: 0644]