perf callchain: Move option parsing code to util.c
authorKan Liang <kan.liang@intel.com>
Thu, 6 Aug 2015 19:44:52 +0000 (15:44 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 8 Aug 2015 17:16:49 +0000 (14:16 -0300)
commit076a30c411ba2b91a18d44a5a01977035cdd7716
tree535cb24f04445c9fd233ccefc0cbb60e2067f694
parentd809560b36a7ed31fbaf3719fdf79ddcbd30950b
perf callchain: Move option parsing code to util.c

Move callchain option parse related code to util.c, to avoid dragging
more object files into the python binding.

Signed-off-by: Kan Liang <kan.liang@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1438890294-33409-1-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/callchain.c
tools/perf/util/callchain.h
tools/perf/util/util.c
tools/perf/util/util.h