diff options
| author | Ingo Molnar <mingo@kernel.org> | 2018-04-16 02:14:00 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2018-04-16 02:15:22 -0400 |
| commit | aacd188a2deea4e0886e43641cdae6b47b540b7f (patch) | |
| tree | 7896329830230b757348867ec1d3536405c2e982 /tools/perf/util/annotate.h | |
| parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
| parent | b0d5c81e872ed21de1e56feb0fa6e4161da7be61 (diff) | |
Merge tag 'perf-core-for-mingo-4.17-20180413' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull tooling improvements and fixes from Arnaldo Carvalho de Melo:
perf annotate fixes and improvements:
- Allow showing offsets in more than just jump targets, use the new
'O' hotkey in the TUI, config ~/.perfconfig annotate.offset_level
for it and for --stdio2 (Arnaldo Carvalho de Melo)
- Use the resolved variable names from objdump disassembled lines to
make them more compact, just like was already done for some instructions,
like "mov", this eventually will be done more generally, but lets now add
some more to the existing mechanism (Arnaldo Carvalho de Melo)
perf record fixes:
- Change warning for missing topology sysfs entry to debug, as not all
architectures have those files, s390 being one of those (Thomas Richter)
perf sched fixes:
- Fix -g/--call-graph documentation (Takuya Yamamoto)
perf stat:
- Enable 1ms interval for printing event counters values in (Alexey Budankov)
perf test fixes:
- Run dwarf unwind on arm32 (Kim Phillips)
- Remove unused ptrace.h include from LLVM test, sidesteping older
clang's lack of support for some asm constructs (Arnaldo Carvalho de Melo)
perf version fixes:
- Do not print info about HAVE_LIBAUDIT_SUPPORT in 'perf version --build-options'
when HAVE_SYSCALL_TABLE_SUPPORT is true, as libaudit won't be used in that
case, print info about syscall_table support instead (Jin Yao)
Build system fixes:
- Use HAVE_..._SUPPORT used consistently (Jin Yao)
- Restore READ_ONCE() C++ compatibility in tools/include (Mark Rutland)
- Give hints about package names needed to build jvmti (Arnaldo Carvalho de Melo)
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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index db8d09bea07e..f28a9e43421d 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h | |||
| @@ -70,8 +70,17 @@ struct annotation_options { | |||
| 70 | show_nr_jumps, | 70 | show_nr_jumps, |
| 71 | show_nr_samples, | 71 | show_nr_samples, |
| 72 | show_total_period; | 72 | show_total_period; |
| 73 | u8 offset_level; | ||
| 73 | }; | 74 | }; |
| 74 | 75 | ||
| 76 | enum { | ||
| 77 | ANNOTATION__OFFSET_JUMP_TARGETS = 1, | ||
| 78 | ANNOTATION__OFFSET_CALL, | ||
| 79 | ANNOTATION__MAX_OFFSET_LEVEL, | ||
| 80 | }; | ||
| 81 | |||
| 82 | #define ANNOTATION__MIN_OFFSET_LEVEL ANNOTATION__OFFSET_JUMP_TARGETS | ||
| 83 | |||
| 75 | extern struct annotation_options annotation__default_options; | 84 | extern struct annotation_options annotation__default_options; |
| 76 | 85 | ||
| 77 | struct annotation; | 86 | struct annotation; |
