perf hists: Count number of sort keys
authorNamhyung Kim <namhyung@kernel.org>
Wed, 24 Feb 2016 15:13:40 +0000 (00:13 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 24 Feb 2016 23:21:11 +0000 (20:21 -0300)
commit1f2d72cf3258eacd667cd1920e64c9b64b9984d5
tree9ddf67a6c23108b0dfb6a825adaa4493e7eabaea
parent70642850fa581df219d7bc03cd7aca6e1956968c
perf hists: Count number of sort keys

It'll be used for hierarchy output mode to indent entries properly.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1456326830-30456-9-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/hist.c
tools/perf/util/hist.h