diff options
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; |