perf hists: Introduce nr_header_lines into struct perf_hpp_list
authorJiri Olsa <jolsa@kernel.org>
Sun, 7 Aug 2016 15:28:26 +0000 (17:28 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Aug 2016 18:37:33 +0000 (15:37 -0300)
commitf8e6710de859e1ac3a5df294bddeca19f60cec9a
treefe328a7beb138b17ce1e42e9a1e5ca97e058b8b2
parentb9c4b0f40d22d4b1d29540f5faf6ca4269f25848
perf hists: Introduce nr_header_lines into struct perf_hpp_list

Currently we support just single line headers, this is first step to
allow more.

Store the number of header lines in perf_hpp_list, which encompasses all
the display/sort entries and is thus suitable to hold this value.

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/1470583710-1649-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/ui/hist.c
tools/perf/util/hist.h