Lines Matching +full:sample +full:- +full:at +full:- +full:reset
1 /* SPDX-License-Identifier: GPL-2.0 */
139 /* This needs to be at the end. */
150 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent()
179 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
214 * struct sym_hist - symbol histogram information for an event
217 * @period: Sum of sample periods.
225 * struct cyc_hist - (CPU) cycle histogram for a basic block
236 * @reset: Number of resets due to a different start address.
238 * If sample has branch_stack and cycles info, it can construct basic blocks
241 * accounted at the end address. If multiple basic blocks end at the same
260 u16 reset; member
264 * struct annotated_source - symbols with hits have this attached as in annotation
269 * @nr_histograms: This may not be the same as evsel->evlist->core.nr_entries if
272 * sets src->nr_histograms to evsel->nr_members.
317 * struct annotated_branch - basic block and IPC information for a symbol.
324 * @max_coverage: Maximum number of covered basic block (used for block-range).
327 * This struct is used by two different codes when the sample has branch stack
331 * basic block ends at the given address.
361 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
364 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
369 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events; in annotation__pcnt_width()
374 return annotate_opts.hide_src_code && al->offset == -1; in annotation_line__filter()
388 return &src->histograms[evsel->core.idx]; in annotated_source__histogram()
394 return annotated_source__histogram(notes->src, evsel); in annotation__histogram()
401 long key = offset << 16 | evsel->core.idx; in annotated_source__hist_entry()
403 if (!hashmap__find(src->samples, key, &entry)) in annotated_source__hist_entry()
410 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
413 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample,
424 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample,
447 __SYMBOL_ANNOTATE_ERRNO__START = -10000,
497 * struct annotated_op_loc - Location info of instruction operand
535 * struct annotated_insn_loc - Location info of instruction
543 for (i = INSN_OP_SOURCE, op_loc = &(insn_loc)->ops[i]; \
551 /* Returns a data type from the sample instruction (if any) */
562 /* Calculate PC-relative address */
567 * struct annotated_basic_block - Basic block of instructions