perf hists: Separate sort fields parsing into setup_sort_list function
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:10 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 15:24:09 +0000 (12:24 -0300)
commit2fbaa39079672bf52a9208ec1263385b48933cc3
treece050c35804d30a5eae098db45dbcac8d1a1e971
parent564132f3116cf376fdc04b2380e621f35efbb6c7
perf hists: Separate sort fields parsing into setup_sort_list function

Separating sort fields parsing into setup_sort_list function, so it's
separated from sort_order string setup and could be reused later in
following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1453109064-1026-13-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c