diff options
author | 2016-03-07 16:44:48 -0300 | |
---|---|---|
committer | 2016-03-08 10:11:20 +0100 | |
commit | 2dbbe9f26c082be5aa0e8ba5480e7bac43b2c4f0 (patch) | |
tree | dccf67f5759a3c9cc30fb66c50c96c2fa677d895 /tools/perf/util/hist.h | |
parent | perf hists: Support multiple sort keys in a hierarchy level (diff) | |
download | linux-2dbbe9f26c082be5aa0e8ba5480e7bac43b2c4f0.tar.gz linux-2dbbe9f26c082be5aa0e8ba5480e7bac43b2c4f0.tar.bz2 linux-2dbbe9f26c082be5aa0e8ba5480e7bac43b2c4f0.zip |
perf hists: Fix indent for multiple hierarchy sort key
When multiple sort keys are used in a single hierarchy, it should indent
using number of hierarchy levels instead of number of sort keys.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1457361308-514-5-git-send-email-namhyung@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 2209188d729c..2cb017f28f9e 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h @@ -80,6 +80,7 @@ struct hists { struct perf_hpp_list *hpp_list; struct list_head hpp_formats; int nr_sort_keys; + int nr_hpp_node; }; struct hist_entry_iter; |