aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
AgeCommit message (Expand)AuthorFilesLines
2025-10-21perf annotate: fix a crash when annotate the same symbol with 's' and 'T'Tianyou Li1-0/+2
2025-09-02perf annotate: Use a hashmap to save type dataNamhyung Kim1-0/+2
2025-08-28perf annotate: Pass annotation_print_data to annotation_line__write()Namhyung Kim1-2/+13
2025-08-28perf annotate: Remove __annotation_line__write()Namhyung Kim1-1/+1
2025-08-28perf annotate: Rename to __hist_entry__tui_annotate()Namhyung Kim1-12/+0
2025-06-26perf annotate: Fix source code annotate with objdumpNamhyung Kim1-0/+1
2025-04-10perf ui browser annotate: Don't show the source code view status initiallyArnaldo Carvalho de Melo1-0/+1
2025-03-13perf annotate: Implement code + data type annotationNamhyung Kim1-0/+1
2025-03-13perf annotate: Pass hist_entry to annotate functionsNamhyung Kim1-4/+3
2025-03-06perf annotate: Add annotation_options.disassembler_usedAthira Rajeev1-0/+1
2025-01-27perf annotate: Use an array for the disassembler preferenceIan Rogers1-5/+10
2025-01-18perf annotate: Prefer passing evsel to evsel->core.idxIan Rogers1-9/+11
2024-12-09perf disasm: Return a proper error when not determining the file typeArnaldo Carvalho de Melo1-0/+1
2024-11-13perf disasm: Allow configuring what disassemblers to useArnaldo Carvalho de Melo1-0/+6
2024-08-14perf annotate: Display the branch counter histogramKan Liang1-0/+11
2024-08-14perf report: Display the branch counter histogramKan Liang1-0/+3
2024-08-14perf annotate: Save branch counters for each blockKan Liang1-1/+9
2024-08-08perf annotate: Cache debuginfo for data type profilingNamhyung Kim1-0/+2
2024-08-05perf annotate: Use annotation__pcnt_width() consistentlyNamhyung Kim1-1/+1
2024-07-31perf annotate: Add disasm_line__parse() to parse raw instruction for powerpcAthira Rajeev1-1/+4
2024-04-08perf annotate: Move 'start' field struct to 'struct annotated_source'Namhyung Kim1-1/+1
2024-04-08perf annotate: Move nr_events struct to 'struct annotated_source'Namhyung Kim1-2/+3
2024-04-08perf annotate: Move 'max_jump_sources' struct to 'struct annotated_source'Namhyung Kim1-1/+3
2024-04-08perf annotate: Move 'widths' struct to 'struct annotated_source'Namhyung Kim1-10/+10
2024-04-08perf annotate: Get rid of offsets arrayNamhyung Kim1-2/+0
2024-04-08perf annotate: Introduce annotated_source__get_line()Namhyung Kim1-0/+3
2024-04-08perf annotate: Staticize some local functionsNamhyung Kim1-3/+0
2024-04-03perf annotate: Split out util/disasm.cNamhyung Kim1-57/+3
2024-04-03perf annotate: Add and use ins__is_nop()Namhyung Kim1-0/+1
2024-03-21perf annotate: Parse x86 segment register locationNamhyung Kim1-0/+15
2024-03-21perf annotate: Add annotate_get_basic_blocks()Namhyung Kim1-0/+16
2024-03-06perf annotate: Add comments in the data structuresperf-tools-for-v6.9-2024-03-13Namhyung Kim1-7/+62
2024-03-06perf annotate: Remove sym_hist.addr[] arrayNamhyung Kim1-3/+1
2024-03-06perf annotate: Calculate instruction overhead using hashmapNamhyung Kim1-0/+11
2024-03-06perf annotate: Add a hashmap for symbol histogramNamhyung Kim1-0/+2
2024-01-22perf annotate-data: Support global variablesNamhyung Kim1-0/+4
2024-01-22perf annotate-data: Handle array style accessesNamhyung Kim1-2/+6
2023-12-23perf annotate: Add --insn-stat option for debuggingNamhyung Kim1-0/+8
2023-12-23perf annotate: Implement hist_entry__get_data_type()Namhyung Kim1-0/+4
2023-12-23perf annotate: Add annotate_get_insn_location()Namhyung Kim1-0/+36
2023-12-23perf annotate: Factor out evsel__get_arch()Namhyung Kim1-0/+2
2023-12-07perf annotate: Get rid of local annotation optionsNamhyung Kim1-1/+0
2023-12-07perf annotate: Remove remaining usages of local annotation optionsNamhyung Kim1-3/+3
2023-12-07perf annotate: Ensure init/exit for global optionsNamhyung Kim1-4/+4
2023-12-07perf ui/browser/annotate: Use global annotation_optionsNamhyung Kim1-4/+2
2023-12-07perf annotate: Use global annotation_optionsNamhyung Kim1-10/+5
2023-12-07perf annotate: Introduce global annotation_optionsNamhyung Kim1-0/+2
2023-11-27perf annotate: Check if operand has multiple regsNamhyung Kim1-0/+2
2023-11-10perf annotate: Move raw_comment and raw_func_start fields out of 'struct ins_...Namhyung Kim1-2/+4
2023-11-09perf annotate: Move offsets array from 'struct annotation' to 'struct annotat...Namhyung Kim1-1/+1
2023-11-09perf annotate: Move some source code related fields from 'struct annotation' ...Namhyung Kim1-7/+7
2023-11-09perf annotate: Move max_coverage from 'struct annotation' to 'struct annotate...Namhyung Kim1-1/+3
2023-11-09perf annotate: Split branch stack cycles info from 'struct annotation'Namhyung Kim1-7/+10
2023-11-09perf annotate: Split branch stack cycles information out of 'struct annotatio...Namhyung Kim1-6/+9
2023-06-20perf annotation: Switch lock from a mutex to a sharded_mutexIan Rogers1-3/+8
2023-04-04perf annotate: Own objdump_path and disassembler_style stringsIan Rogers1-2/+2
2023-04-04perf annotate: Add init/exit to annotation_options remove defaultIan Rogers1-2/+3
2022-10-04perf annotate: Toggle full address <-> offset displayNamhyung Kim1-1/+3
2022-10-04perf annotate: Update use of pthread mutexIan Rogers1-2/+2
2021-11-13perf symbols: Factor out annotation init/exitIan Rogers1-0/+3
2021-03-06perf annotate: Show full source location with 'l' hotkeyMartin Liska1-0/+2
2021-02-11perf annotate: Fix jump parsing for C++ code.Martin Liška1-0/+1
2020-05-28perf tools: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-2/+2
2020-03-24perf report: Support interactive annotation of code without symbolsJin Yao1-0/+1
2020-03-04perf annotate: Get rid of annotation->nr_jumpsRavi Bangoria1-1/+0
2020-02-27perf annotate: Simplify disasm_line allocation and freeing codeRavi Bangoria1-1/+0
2020-02-27perf annotate: Remove privsize from symbol__annotate() argsRavi Bangoria1-1/+1
2020-02-27perf annotate: Make perf config effectiveRavi Bangoria1-3/+1
2020-02-27perf annotate: Fix --show-total-period for tui/stdio2Ravi Bangoria1-1/+1
2020-01-14perf tools: Support --prefix/--prefix-stripAndi Kleen1-0/+5
2019-11-12perf annotate: Pass a 'map_symbol' in places receiving a pair of 'map' and 's...Arnaldo Carvalho de Melo1-14/+8
2019-10-11perf diff: Report noisy for cycles diffJin Yao1-0/+2
2019-09-30perf annotate: Don't return -1 for error when doing BPF disassemblyArnaldo Carvalho de Melo1-0/+2
2019-09-30perf annotate: Fix arch specific ->init() failure errorsArnaldo Carvalho de Melo1-0/+2
2019-07-29libperf: Add nr_entries to struct perf_evlistJiri Olsa1-1/+1
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-13/+13
2019-03-20perf annotate: Enable annotation of BPF programsSong Liu1-0/+1
2019-03-06perf annotate: Calculate the max instruction name, align column to thatArnaldo Carvalho de Melo1-3/+4
2019-01-25perf annotate: Remove lots of headers from annotate.hArnaldo Carvalho de Melo1-3/+11
2018-12-17perf annotate: Compute average IPC and IPC coverage per symbolJin Yao1-0/+5
2018-08-30perf annotate: Fix parsing aarch64 branch instructions after objdump updateKim Phillips1-0/+1
2018-08-08perf annotate: Add --percent-type optionJiri Olsa1-0/+2
2018-08-08perf annotate: Add support to toggle percent typeJiri Olsa1-0/+16
2018-08-08perf annotate: Pass 'struct annotation_options' to map_symbol__annotation_dump()Jiri Olsa1-2/+4
2018-08-08perf annotate: Add percent_type to struct annotation_optionsJiri Olsa1-0/+1
2018-08-08perf annotate: Add PERCENT_PERIOD_GLOBAL percent valueJiri Olsa1-0/+1
2018-08-08perf annotate: Add PERCENT_PERIOD_LOCAL percent valueJiri Olsa1-0/+1
2018-08-08perf annotate: Add PERCENT_HITS_GLOBAL percent valueJiri Olsa1-0/+1
2018-08-08perf annotate: Switch struct annotation_data::percent to arrayJiri Olsa1-1/+12
2018-08-08perf annotate: Rename struct annotation_line::samples* to data*Jiri Olsa1-2/+2
2018-08-08perf annotate: Get rid of annotation__scnprintf_samples_period()Jiri Olsa1-7/+0
2018-08-08perf annotate: Make annotation_line__max_percent staticJiri Olsa1-1/+0
2018-08-08perf annotate: Make symbol__annotate_fprintf2() localJiri Olsa1-1/+0
2018-06-04perf annotate: Move objdump_path to struct annotation_optionsArnaldo Carvalho de Melo1-0/+1
2018-06-04perf hists browser: Pass annotation_options from tool to browserArnaldo Carvalho de Melo1-3/+4
2018-06-04perf annotate: Move disassembler_style global to annotation_optionsArnaldo Carvalho de Melo1-2/+1
2018-06-04perf annotate: Adopt anotation options from symbol_confArnaldo Carvalho de Melo1-1/+3
2018-06-04perf annotate: Pass annotation_options to symbol__annotate()Arnaldo Carvalho de Melo1-0/+1
2018-06-04perf annotate stdio: Use annotation_options consistentlyArnaldo Carvalho de Melo1-6/+9
2018-06-04perf annotate: Add comment about annotated_src->nr_histogramsArnaldo Carvalho de Melo1-0/+4
2018-06-04perf annotate: Replace symbol__alloc_hists() with symbol__hists()Arnaldo Carvalho de Melo1-1/+1
2018-06-04perf annotate: __symbol__inc_addr_samples() needs just annotated_sourceArnaldo Carvalho de Melo1-2/+6
2018-06-04perf annotate: Split allocation of annotated_source structArnaldo Carvalho de Melo1-3/+3
2018-06-04perf annotate: Pass perf_evsel instead of just evsel->idxArnaldo Carvalho de Melo1-2/+2
2018-05-19perf annotate: Create hotkey 'c' to show min/max cyclesJin Yao1-1/+6
2018-05-18perf annotate: Record the min/max cyclesJin Yao1-0/+4
2018-04-12perf annotate: Allow showing offsets in more than just jump targetsArnaldo Carvalho de Melo1-0/+9
2018-04-03perf annotate: Introduce annotation__scnprintf_samples_period() methodArnaldo Carvalho de Melo1-0/+12
2018-03-23perf annotate: Add "_local" to jump/offset validation routinesArnaldo Carvalho de Melo1-3/+11
2018-03-21perf annotate: Mark jumps to outher functions with the call arrowArnaldo Carvalho de Melo1-0/+1
2018-03-21perf annotate: Pass function descriptor to its instruction parsing routinesArnaldo Carvalho de Melo1-1/+1
2018-03-21perf annotate browser: Add 'P' hotkey to dump annotation to fileArnaldo Carvalho de Melo1-0/+2
2018-03-21perf annotate: Move the default annotate options to the libraryArnaldo Carvalho de Melo1-0/+4
2018-03-21perf annotate: Introduce the --stdio2 output modeArnaldo Carvalho de Melo1-0/+5
2018-03-20perf annotate: Introduce annotation_line__filter()Arnaldo Carvalho de Melo1-0/+4
2018-03-20perf annotate: Use a ops table for annotation_line__write()Arnaldo Carvalho de Melo1-7/+12
2018-03-20perf annotate: Finish the generalization of annotate_browser__write()Arnaldo Carvalho de Melo1-5/+8
2018-03-20perf annotate: Introduce annotation_line__print_start() out of TUI codeArnaldo Carvalho de Melo1-0/+5
2018-03-20perf annotate: Introduce annotation_line__max_percent()Arnaldo Carvalho de Melo1-0/+3
2018-03-20perf annotate: Introduce symbol__annotate2 methodArnaldo Carvalho de Melo1-0/+4
2018-03-20perf annotate: Introduce init_column_widths() method out of TUI codeArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate: Move update_column_widths() to the generic libArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate: Move the column widths from the TUI to generic libArnaldo Carvalho de Melo1-0/+7
2018-03-20perf annotate: Introduce set_offsets() method out of TUI codeArnaldo Carvalho de Melo1-0/+3
2018-03-20perf annotate: Move nr_{asm_}entries to struct annotationArnaldo Carvalho de Melo1-0/+2
2018-03-20perf annotate: Move 'start' to struct annotationArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate: Nuke struct browser_lineArnaldo Carvalho de Melo1-0/+2
2018-03-20perf annotate: Move mark_jump_targets from the TUI to the annotation libraryArnaldo Carvalho de Melo1-0/+4
2018-03-20perf annotate: Move nr_jumps to struct annotationArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate: Move max_jump_sources to struct annotationArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate: Move pcnt_with() to the annotation libraryArnaldo Carvalho de Melo1-0/+5
2018-03-20perf annotate: Stop using a global config structArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate: Move nr_events from annotate_browser to annotation structArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate: Move compute_ipc() to annotation libraryArnaldo Carvalho de Melo1-0/+2
2018-03-20perf annotate: Move annotation_line array from TUI to generic codeArnaldo Carvalho de Melo1-0/+1
2018-03-20perf annotate tui: Move have_cycles to struct annotationArnaldo Carvalho de Melo1-0/+6
2018-03-20perf annotate: Move cycles/IPC formatting width constants outside TUIArnaldo Carvalho de Melo1-0/+3
2018-03-20perf annotate: Move annotation_options out of the TUI browserArnaldo Carvalho de Melo1-0/+10
2018-03-05perf annotate: Find 'call' instruction target symbol at parsing timeArnaldo Carvalho de Melo1-0/+1
2017-12-27perf annotate: Get the cpuid from evsel->evlist->env in symbol__annotate()Arnaldo Carvalho de Melo1-1/+1
2017-11-17perf tools: Change (symbol|annotation)__calc_percent return type to voidJiri Olsa1-1/+1
2017-11-16perf annotate: Remove struct source_lineJiri Olsa1-14/+0
2017-11-16perf annotate: Remove disasm__calc_percent functionJiri Olsa1-2/+0
2017-11-16perf annotate: Add symbol__calc_lines functionJiri Olsa1-0/+2
2017-11-16perf annotate: Add symbol__calc_percent functionJiri Olsa1-0/+1
2017-11-13perf annotate: Add samples into struct annotation_lineJiri Olsa1-5/+12
2017-11-13perf annotate: Add annotated_source__purge functionJiri Olsa1-1/+1
2017-11-13perf annotate: Add annotation_line__(new|delete) functionsJiri Olsa1-1/+9
2017-11-13perf annotate: Move rb_node to struct annotation_lineJiri Olsa1-0/+1
2017-11-13perf annotate: Add annotation_line__next functionJiri Olsa1-1/+2
2017-11-13perf annotate: Add evsel into struct annotation_line_argsJiri Olsa1-1/+1
2017-11-13perf annotate: Add symbol__annotate functionJiri Olsa1-3/+3
2017-11-13perf annotate: Move ipc/cycles into annotation_line structJiri Olsa1-2/+2
2017-11-13perf annotate: Move line/offset into annotation_line structJiri Olsa1-3/+3
2017-11-13perf annotate: Add annotation_line structJiri Olsa1-8/+12
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-21perf annotate: Store the sample period in each histogram bucketTaeung Song1-0/+1
2017-07-21perf hists: Pass perf_sample to __symbol__inc_addr_samples()Taeung Song1-2/+4
2017-07-21perf annotate: Rename 'sum' to 'nr_samples' in struct sym_histTaeung Song1-1/+1
2017-07-21perf annotate: Introduce struct sym_hist_entryTaeung Song1-2/+7
2017-07-18perf annotate: Implement visual marker for macro fusionJin Yao1-0/+1
2017-07-18perf annotate: Check for fused instructionsJin Yao1-1/+2
2017-06-19perf annotate: Return arch from symbol__disassemble() and save it in browserJin Yao1-1/+3
2017-04-04perf annotate: Fix missing number of samples for source_line_samplesTaeung Song1-1/+1
2016-12-15perf annotate: Fix jump target outside of function address rangeRavi Bangoria1-2/+3
2016-11-25perf annotate: Remove duplicate 'name' field from disasm_lineArnaldo Carvalho de Melo1-9/+8
2016-11-17perf annotate: Start supporting cross arch annotationArnaldo Carvalho de Melo1-2/+4
2016-09-20perf annotate: Pass the symbol's map/dso to the instruction parsersArnaldo Carvalho de Melo1-1/+1
2016-09-08perf annotate: Add branch stack / basic blockPeter Zijlstra1-0/+1
2016-08-30perf annotate: Initialize the priv are in symbol__new()Arnaldo Carvalho de Melo1-1/+0
2016-08-01perf annotate: Introduce strerror for handling symbol__disassemble() errorsArnaldo Carvalho de Melo1-0/+20
2016-08-01perf annotate: Rename symbol__annotate() to symbol__disassemble()Arnaldo Carvalho de Melo1-1/+1
2016-06-27perf annotate: Generalize handling of 'ret' instructionsNaveen N. Rao1-0/+1
2016-06-27perf annotate: Remove unused hist_entry__annotate functionRavi Bangoria1-2/+0
2016-03-23perf tools: Remove misplaced __maybe_unusedArnaldo Carvalho de Melo1-1/+1
2015-10-05perf annotate: Fix sizeof_sym_hist overflow issueJiri Olsa1-1/+1
2015-08-06perf annotate: Compute IPC and basic block cyclesAndi Kleen1-0/+2
2015-08-06perf report: Add infrastructure for a cycles histogramAndi Kleen1-0/+17
2015-06-19perf annotate: Rename source_line_percent to source_line_samplesArnaldo Carvalho de Melo1-3/+3
2015-06-19perf annotate: Display total number of samples with --show-total-periodMartin Liška1-1/+2
2015-01-16perf tools: Fix segfault for symbol annotation on TUINamhyung Kim1-7/+1
2014-11-19perf annotate: Support source line numbers in annotateAndi Kleen1-0/+1
2014-05-01tools: Consolidate types.hBorislav Petkov1-1/+1
2014-02-24perf annotate: Check availability of annotate when processing samplesNamhyung Kim1-0/+2
2013-12-19perf annotate: Make symbol__inc_addr_samples privateArnaldo Carvalho de Melo1-3/+0
2013-12-19perf annotate: Adopt methods from histsArnaldo Carvalho de Melo1-0/+5
2013-12-19perf annotate: Add inc_samples method to addr_map_symbolArnaldo Carvalho de Melo1-0/+3
2013-10-09perf tools: Separate out GTK codes to libperf-gtk.soNamhyung Kim1-24/+0
2013-10-09tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORTIngo Molnar1-2/+2
2013-04-01perf tools: Remove dependency on libnewtArnaldo Carvalho de Melo1-1/+1
2013-03-15perf annotate browser: Use disasm__calc_percent()Namhyung Kim1-0/+4
2013-03-15perf annotate: Support event group view for --print-lineNamhyung Kim1-0/+1
2013-03-15perf annotate: Factor out struct source_line_percentNamhyung Kim1-2/+6
2013-03-15perf annotate: Pass evsel instead of evidx on annotation functionsNamhyung Kim1-17/+19
2013-02-14perf gtk/annotate: Support multiple event annotationNamhyung Kim1-0/+4
2013-02-14perf ui/gtk: Implement basic GTK2 annotation browserNamhyung Kim1-0/+20
2012-11-09perf annotate: Merge same lines in summary viewNamhyung Kim1-0/+1
2012-11-05perf tools: Introduce struct hist_browser_timerNamhyung Kim1-4/+4
2012-10-24perf tools: Try to find cross-built objdump pathIrina Tirdea1-1/+0
2012-10-02perf tools: Convert to NEWT_SUPPORTNamhyung Kim1-4/+4