diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-08-07 11:28:26 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-08-23 14:37:33 -0400 |
commit | f8e6710de859e1ac3a5df294bddeca19f60cec9a (patch) | |
tree | fe328a7beb138b17ce1e42e9a1e5ca97e058b8b2 /tools/perf/util/hist.h | |
parent | b9c4b0f40d22d4b1d29540f5faf6ca4269f25848 (diff) |
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>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 0a1edf1ab450..8cc5d33d2405 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -259,6 +259,7 @@ struct perf_hpp_list { | |||
259 | struct list_head fields; | 259 | struct list_head fields; |
260 | struct list_head sorts; | 260 | struct list_head sorts; |
261 | 261 | ||
262 | int nr_header_lines; | ||
262 | int need_collapse; | 263 | int need_collapse; |
263 | int parent; | 264 | int parent; |
264 | int sym; | 265 | int sym; |