diff options
Diffstat (limited to 'tools/perf/util/annotate.h')
| -rw-r--r-- | tools/perf/util/annotate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 7ad503fbff74..3dc4ca1d6c08 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h | |||
| @@ -202,6 +202,10 @@ struct cyc_hist { | |||
| 202 | /** struct annotated_source - symbols with hits have this attached as in sannotation | 202 | /** struct annotated_source - symbols with hits have this attached as in sannotation |
| 203 | * | 203 | * |
| 204 | * @histograms: Array of addr hit histograms per event being monitored | 204 | * @histograms: Array of addr hit histograms per event being monitored |
| 205 | * nr_histograms: This may not be the same as evsel->evlist->nr_entries if | ||
| 206 | * we have more than a group in a evlist, where we will want | ||
| 207 | * to see each group separately, that is why symbol__annotate2() | ||
| 208 | * sets src->nr_histograms to evsel->nr_members. | ||
| 205 | * @lines: If 'print_lines' is specified, per source code line percentages | 209 | * @lines: If 'print_lines' is specified, per source code line percentages |
| 206 | * @source: source parsed from a disassembler like objdump -dS | 210 | * @source: source parsed from a disassembler like objdump -dS |
| 207 | * @cyc_hist: Average cycles per basic block | 211 | * @cyc_hist: Average cycles per basic block |
