aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.h
AgeCommit message (Expand)AuthorFilesLines
2025-10-21perf annotate: Fix build with NO_SLANG=1Namhyung Kim1-4/+6
2025-10-19perf c2c annotate: Start from the contention lineTianyou Li1-2/+4
2025-08-28perf annotate: Rename to __hist_entry__tui_annotate()Namhyung Kim1-5/+7
2025-07-25perf sample: Remove arch notion of sample parsingIan Rogers1-1/+2
2025-05-13perf report: Add 'tgid' sort keyNamhyung Kim1-0/+1
2025-05-02perf mem: Add 'dtlb' output fieldNamhyung Kim1-0/+1
2025-05-02perf mem: Add 'snoop' output fieldNamhyung Kim1-0/+1
2025-05-02perf mem: Add 'cache' and 'memory' output fieldsNamhyung Kim1-0/+2
2025-05-02perf hist: Hide unused mem stat columnsNamhyung Kim1-0/+1
2025-05-02perf mem: Add 'op' output fieldNamhyung Kim1-1/+1
2025-05-02perf hist: Implement output fields for mem statsNamhyung Kim1-0/+4
2025-05-02perf hist: Basic support for mem_stat accountingNamhyung Kim1-0/+4
2025-05-02perf hist: Add struct he_mem_statNamhyung Kim1-0/+9
2025-04-25perf hist: Remove formats in hierarchy when cancel latencyNamhyung Kim1-1/+1
2025-04-25perf hist: Remove formats in hierarchy when cancel childrenNamhyung Kim1-1/+1
2025-02-18perf hist: Shrink struct hist_entry sizeDmitry Vyukov1-4/+4
2025-02-18perf report: Add --latency flagDmitry Vyukov1-0/+1
2025-02-18perf report: Add latency output fieldDmitry Vyukov1-0/+12
2025-02-18perf report: Add parallelism filterDmitry Vyukov1-1/+5
2025-02-18perf report: Switch filtered from u8 to u16Dmitry Vyukov1-1/+3
2025-02-17perf report: Add parallelism sort keyDmitry Vyukov1-0/+3
2025-01-16perf hist: Deduplicate cmp/sort/collapse codeDmitry Vyukov1-8/+6
2024-10-10perf report: Display columns Predicted/Abort/Cycles in --branch-historyThomas Falcon1-0/+3
2024-08-28perf tools: Print lost samples due to BPF filterNamhyung Kim1-0/+1
2024-08-21perf annotate-data: Add 'typecln' sort keyNamhyung Kim1-0/+1
2024-08-14perf annotate: Save branch counters for each blockKan Liang1-1/+1
2024-06-15perf hist: Add symbol_conf.skip_emptyNamhyung Kim1-2/+1
2024-05-07perf hist: Avoid 'struct hist_entry_iter' mem_info memory leakIan Rogers1-3/+5
2024-04-17perf report: Add weight[123] output fieldsNamhyung Kim1-2/+13
2024-04-17perf hist: Add weight fields to hist entry statsNamhyung Kim1-0/+3
2024-04-17perf hist: Move histogram related code to hist.hNamhyung Kim1-8/+183
2023-12-23perf report: Add 'symoff' sort keyNamhyung Kim1-0/+1
2023-12-23perf report: Add 'typeoff' sort keyNamhyung Kim1-0/+1
2023-12-23perf report: Add 'type' sort keyNamhyung Kim1-0/+1
2023-12-07perf ui/browser/annotate: Use global annotation_optionsNamhyung Kim1-17/+8
2023-03-20perf report: Add 'simd' sort fieldGerman Gomez1-0/+1
2023-03-15perf hist: Add 'kvm_info' field in histograms entryLeo Yan1-0/+3
2022-12-21perf hist: Add perf_hpp_fmt->init() callbackNamhyung Kim1-0/+1
2022-10-04perf tools: Add 'addr' sort keyNamhyung Kim1-0/+1
2022-10-04perf hist: Add nr_lost_samples to hist_statsNamhyung Kim1-0/+1
2022-10-04perf hist: Update use of pthread mutexIan Rogers1-2/+2
2022-02-16perf report: Add "addr_from" and "addr_to" sort dimensionsStephane Eranian1-0/+2
2022-01-10perf sort: Include global and local variants for p_stage_cyc sort keyAthira Rajeev1-1/+2
2021-11-18perf hist: Fix memory leak of a perf_hpp_fmtIan Rogers1-1/+0
2021-04-29perf report: Add --skip-empty option to suppress 0 event statNamhyung Kim1-1/+2
2021-04-29perf hists: Split hists_stats from events_statsNamhyung Kim1-2/+2
2021-03-26perf tools: Support pipeline stage cycles for powerpcAthira Rajeev1-0/+1
2021-02-08perf report: Support instruction latencyKan Liang1-0/+2
2021-02-08perf tools: Support data block and addr blockKan Liang1-0/+1
2021-01-20perf report: Add support for PERF_SAMPLE_CODE_PAGE_SIZEStephane Eranian1-0/+1
2020-12-19perf sort: Add sort option for data page sizeKan Liang1-0/+1
2020-11-30perf evlist: Use the right prefix for 'struct evlist' print methodsArnaldo Carvalho de Melo1-1/+1
2020-11-30perf evlist: Use the right prefix for 'struct evlist' browser methodsArnaldo Carvalho de Melo1-13/+10
2020-05-28perf evsel: Rename perf_evsel__resort*() to evsel__resort*()Arnaldo Carvalho de Melo1-3/+3
2020-04-03perf report: Add 'cgroup' sort keyNamhyung Kim1-0/+1
2020-03-24perf report: Support a new key to reload the browserJin Yao1-0/+1
2019-12-20perf hists: Fix variable name's inconsistency in hists__for_each() macroYuya Fujita1-2/+2
2019-11-19perf report: Jump to symbol source view from total cycles viewJin Yao1-2/+5
2019-11-19perf util: Move block TUI function to ui browsersJin Yao1-0/+12
2019-11-07perf hist: Count the total cycles of all samplesJin Yao1-1/+2
2019-09-20perf hist: Add missing 'struct branch_stack' forward declarationArnaldo Carvalho de Melo1-0/+1
2019-08-31perf tools: Move 'struct events_stats' and prototypes to separate headerArnaldo Carvalho de Melo1-3/+1
2019-08-31perf hist: Remove needless ui/progress.h from hist.hArnaldo Carvalho de Melo1-1/+1
2019-08-28perf top: Fix event group with more than two eventsNamhyung Kim1-0/+1
2019-07-29perf evlist: Rename struct perf_evlist to struct evlistJiri Olsa1-5/+5
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-14/+14
2019-07-02perf diff: Print the basic block cycles diffJin Yao1-0/+3
2019-07-02perf hists: Add block_info in hist_entryJin Yao1-0/+5
2019-03-11perf report: Implement browsing of individual samplesAndi Kleen1-0/+22
2019-03-11perf report: Support builtin perf script in scripts menuAndi Kleen1-2/+6
2019-03-11perf report: Support time sort keyAndi Kleen1-0/+1
2019-02-06perf evsel: Add output_resort_cb methodJiri Olsa1-0/+2
2019-02-06perf hists: Add argument to hists__resort_cb_t callbackJiri Olsa1-1/+1
2019-02-06perf hist: Remove the needless callchain.h include from hist.hArnaldo Carvalho de Melo1-1/+2
2019-02-06perf hist: Remove symbol.h from hist.h, just fwd decls are neededArnaldo Carvalho de Melo1-1/+2
2019-02-06perf symbols: Introduce map_symbol.hArnaldo Carvalho de Melo1-0/+1
2019-01-25perf hist: Use cached rbtreesDavidlohr Bueso1-5/+5
2018-12-17perf report: Display average IPC and IPC coverage per symbolJin Yao1-0/+1
2018-07-24perf hists: Clarify callchain disabling when availableArnaldo Carvalho de Melo1-1/+1
2018-06-07perf hists: Reimplement hists__has_callchains()Arnaldo Carvalho de Melo1-2/+2
2018-06-06perf hists: Check if a hist_entry has callchains before using themArnaldo Carvalho de Melo1-0/+6
2018-06-04perf hists browser: Pass annotation_options from tool to browserArnaldo Carvalho de Melo1-6/+14
2018-04-03perf hists: Introduce hists__scnprint_title()Arnaldo Carvalho de Melo1-0/+6
2018-04-02perf tools: Add a "dso_size" sort orderKim Phillips1-0/+1
2018-02-16perf report: Fix memory corruption in --branch-history mode --branch-historyJiri Olsa1-1/+0
2018-02-15perf hists browser: Add parameter to disable lost event warningKan Liang1-2/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-01perf sort: Add sort option for physical addressKan Liang1-0/+1
2017-03-14perf tools: Add 'cgroup_id' sort order keywordHari Bathini1-0/+1
2017-03-03perf tools: Allow sorting by symbol sizeCharles Baylis1-0/+1
2017-02-02perf diff: Fix -o/--order option behavior (again)Namhyung Kim1-0/+7
2016-10-21perf c2c report: Limit the cachelines table entriesJiri Olsa1-0/+1
2016-09-22perf hists: Make hists__fprintf_headers function globalJiri Olsa1-0/+1
2016-09-22perf hists: Make __hist_entry__snprintf function globalJiri Olsa1-0/+2
2016-09-22perf tools: Make several display functions globalJiri Olsa1-0/+2
2016-09-20perf hists: Factor out hists__reset_column_width()Namhyung Kim1-0/+1
2016-08-23perf hists: Add support for header spanJiri Olsa1-1/+1
2016-08-23perf hists: Add line argument into perf_hpp_fmt's header callbackJiri Olsa1-1/+1
2016-08-23perf hists: Introduce nr_header_lines into struct perf_hpp_listJiri Olsa1-0/+1
2016-08-02perf hists: Introduce output_resort_cb methodJiri Olsa1-0/+4
2016-07-12perf hists: Introduce hists__add_entry_ops functionJiri Olsa1-0/+11
2016-06-21perf hists: Rename __hists__add_entry to hists__add_entryJiri Olsa1-7/+7
2016-06-15perf hists: Replace perf_evsel arg perf_hpp_fmt's width callbackJiri Olsa1-1/+1
2016-06-15perf hists: Replace perf_evsel arg perf_hpp_fmt's header callbackJiri Olsa1-1/+1
2016-06-15perf stdio: Add use_callchain parameter to hists__fprintfJiri Olsa1-1/+2
2016-05-23perf report: Add srcline_from/to branch sort keysAndi Kleen1-0/+2
2016-05-05perf hists: Move sort__has_comm into struct perf_hpp_listJiri Olsa1-0/+1
2016-05-05perf hists: Move sort__has_thread into struct perf_hpp_listJiri Olsa1-0/+1
2016-05-05perf hists: Move sort__has_socket into struct perf_hpp_listJiri Olsa1-0/+1
2016-05-05perf hists: Move sort__has_dso into struct perf_hpp_listJiri Olsa1-0/+1
2016-05-05perf hists: Move sort__has_sym into struct perf_hpp_listJiri Olsa1-0/+1
2016-05-05perf hists: Move sort__has_parent into struct perf_hpp_listJiri Olsa1-0/+1
2016-05-05perf hists: Move sort__need_collapse into struct perf_hpp_listJiri Olsa1-0/+4
2016-03-30perf tools: Make hists__collapse_insert_entry staticJiri Olsa1-2/+0
2016-03-23perf tools: Remove misplaced __maybe_unusedArnaldo Carvalho de Melo1-2/+1
2016-03-10perf tools: Remove nr_sort_keys fieldNamhyung Kim1-2/+0
2016-03-10perf tools: Add more sort entry check functionsNamhyung Kim1-0/+4
2016-03-08perf hists: Fix indent for multiple hierarchy sort keyNamhyung Kim1-0/+1
2016-03-08perf hists: Use own hpp_list for hierarchy modeNamhyung Kim1-0/+1
2016-03-08perf hists: Introduce perf_hpp__setup_hists_formats()Namhyung Kim1-0/+11
2016-03-08perf hists: Add level field to struct perf_hpp_fmtNamhyung Kim1-0/+1
2016-02-26perf report: Fix indentation of dynamic entries in hierarchyNamhyung Kim1-0/+1
2016-02-26perf hists: Add more helper functions for the hierarchy modeNamhyung Kim1-0/+3
2016-02-24perf ui/stdio: Implement hierarchy output modeNamhyung Kim1-0/+2
2016-02-24perf hists: Count number of sort keysNamhyung Kim1-0/+1
2016-02-24perf hists: Introduce hist_entry__filter()Namhyung Kim1-0/+2
2016-02-24perf hists: Add helper functions for hierarchy modeNamhyung Kim1-0/+16
2016-02-24perf tools: Add helper functions for some sort keysNamhyung Kim1-0/+3
2016-02-19perf hists: Return error from hists__collapse_resort()Namhyung Kim1-2/+2
2016-02-19perf hists browser: Fix percentage update on key pressNamhyung Kim1-0/+2
2016-02-12perf hists: Do column alignment on the format iteratorArnaldo Carvalho de Melo1-0/+5
2016-02-03perf hists: Introduce hists__for_each_sort_list macroJiri Olsa1-0/+3
2016-02-03perf hists: Introduce hists__for_each_format macroJiri Olsa1-0/+3
2016-02-03perf tools: Add hpp_list into struct hists objectJiri Olsa1-1/+2
2016-02-03perf hists: Add struct perf_hpp_list argument to helper functionsJiri Olsa1-3/+4
2016-02-03perf hists: Introduce perf_hpp_list__for_each_sort_list_safe macroJiri Olsa1-2/+2
2016-02-03perf hists: Introduce perf_hpp_list__for_each_sort_list macroJiri Olsa1-2/+2
2016-02-03perf hists: Introduce perf_hpp_list__for_each_format_safe macroJiri Olsa1-2/+2
2016-02-03perf hists: Introduce perf_hpp_list__for_each_format macroJiri Olsa1-2/+2
2016-02-03perf hists: Add perf_hpp_list register helpersJiri Olsa1-3/+15
2016-02-03perf hists: Introduce perf_hpp_list__init functionJiri Olsa1-0/+2
2016-02-03perf hists: Introduce struct perf_hpp_listJiri Olsa1-6/+10
2016-02-03perf hists: Properly release format fieldsJiri Olsa1-0/+1
2016-02-03perf hists: Remove perf_hpp__column_(disable|enable)Jiri Olsa1-2/+0
2016-02-03perf hists: Add 'equal' method to perf_hpp_fmt structJiri Olsa1-1/+1
2016-02-03perf hists: Add _idx fields into struct perf_hpp_fmtJiri Olsa1-0/+1
2016-02-03perf hists: Introduce perf_evsel__output_resort functionJiri Olsa1-0/+1
2016-01-08perf hists: Export a couple of hist functionsNamhyung Kim1-0/+5
2016-01-06perf tools: Skip dynamic fields not defined for current eventNamhyung Kim1-2/+12
2016-01-06perf tools: Add 'trace' sort keyNamhyung Kim1-0/+1
2016-01-06perf hist: Pass struct sample to __hists__add_entry()Namhyung Kim1-2/+2
2015-10-05perf tools: Add support for sorting on the iaddrDon Zickus1-0/+1
2015-09-28perf hists: Allow for max_stack greater than PERF_MAX_STACK_DEPTHAdrian Hunter1-0/+1
2015-09-14perf hists browser: Zoom in/out for processor socketKan Liang1-0/+1
2015-09-14perf report: Introduce --socket-filter optionKan Liang1-1/+3
2015-09-14perf tools: Introduce new sort type "socket" for the processor socketKan Liang1-0/+1
2015-08-28perf tools: Rename perf_session_env to perf_envKan Liang1-2/+2
2015-08-10perf report: Add support for srcfile sort keyAndi Kleen1-0/+1
2015-08-06perf report: Add processing for cycle histogramsAndi Kleen1-0/+3
2015-08-06perf tools: Add support for cycles, weight branch_info fieldAndi Kleen1-0/+1
2015-05-27perf hists: Reducing arguments of hist_entry_iter__add()Namhyung Kim1-1/+0
2015-03-17perf hists browser: Allow annotating entries in callchainsArnaldo Carvalho de Melo1-0/+9
2015-03-03perf tools: Reference count struct threadArnaldo Carvalho de Melo1-1/+1
2015-01-21perf tools: Pass struct perf_hpp_fmt to its callbacksNamhyung Kim1-3/+6
2015-01-21perf hists: Rename hist_entry__free to __deleteArnaldo Carvalho de Melo1-1/+1
2014-12-23perf report: Show progress bar for output resortingNamhyung Kim1-1/+1
2014-10-14perf tools: Remove hists from evselArnaldo Carvalho de Melo1-0/+20
2014-10-14perf callchain: Move the callchain_param extern to callchain.hArnaldo Carvalho de Melo1-2/+0
2014-10-14perf session: Remove last reference to hists structArnaldo Carvalho de Melo1-0/+1
2014-10-10perf tools: Move events_stats struct to event.hArnaldo Carvalho de Melo1-26/+0
2014-08-13perf top: Fix -z option behaviorNamhyung Kim1-0/+1
2014-08-12perf tools: Add name field into perf_hpp_fmtNamhyung Kim1-0/+1
2014-08-12perf report: Honor column width settingNamhyung Kim1-6/+8
2014-08-12perf tools: Save column length in perf_hpp_fmtNamhyung Kim1-0/+2
2014-08-12perf tools: Make __hpp__fmt() receive an additional len argumentNamhyung Kim1-2/+2
2014-06-09perf tools: Add dcacheline sortDon Zickus1-0/+1
2014-06-03perf tools: Move elide bool into perf_hpp_fmt structJiri Olsa1-1/+7
2014-06-01perf tools: Add callback function to hist_entry_iterNamhyung Kim1-1/+4
2014-06-01perf tools: Add more hpp helper functionsNamhyung Kim1-0/+4
2014-06-01perf ui/hist: Add support to accumulated hist statNamhyung Kim1-0/+4
2014-06-01perf hists: Accumulate hist entry stat based on the callchainNamhyung Kim1-0/+1
2014-06-01perf hists: Check if accumulated when adding a hist entryNamhyung Kim1-1/+2
2014-06-01perf tools: Introduce struct hist_entry_iterNamhyung Kim1-0/+33
2014-06-01perf tools: Introduce hists__inc_nr_samples()Namhyung Kim1-0/+1
2014-05-21perf tools: Introduce reset_output_field()Namhyung Kim1-0/+7
2014-05-21perf hists: Reset width of output fields with header lengthNamhyung Kim1-0/+1
2014-05-21perf tools: Skip elided sort entriesNamhyung Kim1-0/+1
2014-05-21perf report: Add -F option to specify output fieldsNamhyung Kim1-0/+4
2014-05-21perf ui: Get rid of callback from __hpp__fmt()Namhyung Kim1-2/+2
2014-05-21perf tools: Consolidate output field handling to hpp format routinesNamhyung Kim1-0/+1
2014-05-21perf tools: Convert sort entries to hpp formatsNamhyung Kim1-0/+6
2014-05-21perf tools: Add ->cmp(), ->collapse() and ->sort() to perf_hpp_fmtNamhyung Kim1-0/+3
2014-04-24perf top/tui: Update nr_entries properly after a filter is appliedNamhyung Kim1-0/+6
2014-04-24perf hists: Add a couple of hists stat helper functionsNamhyung Kim1-0/+1
2014-04-24perf hists: Rename hists__inc_stats()Namhyung Kim1-1/+1
2014-04-16perf tools: Add hist.percentage config optionNamhyung Kim1-0/+1
2014-04-16perf top: Add --percentage optionNamhyung Kim1-0/+5
2014-04-16perf report: Add --percentage optionNamhyung Kim1-0/+1
2014-04-16perf hists: Add support for showing relative percentageNamhyung Kim1-0/+3
2014-03-18perf symbols: Record the reason for filtering an address_locationNamhyung Kim1-0/+9