diff options
author | Arnaldo Carvalho de Melo | 2018-03-15 16:18:21 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2018-03-20 13:19:29 -0300 |
commit | 9761e86e36c0957e76c1b7c328953687a1a38655 (patch) | |
tree | 3f718e6e566cb61b1159d56f910c686e819a4936 /tools/perf/util/annotate.h | |
parent | 5bc49f6120203c9fbe8e63fdcb9598e0ba615de7 (diff) |
perf annotate: Move the column widths from the TUI to generic lib
This also will be used in other output formats, such as --stdio2.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-86h6ftebc62ij1rx8q9zkpwk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r-- | tools/perf/util/annotate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 8a61ec9a5291..0aa77c154fe3 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h @@ -178,6 +178,13 @@ struct annotation { int nr_entries; int nr_asm_entries; u16 max_line_len; + struct { + u8 addr; + u8 jumps; + u8 target; + u8 min_addr; + u8 max_addr; + } widths; bool have_cycles; struct annotated_source *src; }; |