aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-25perf sample: Remove arch notion of sample parsingIan Rogers1-2/+2
2025-05-02perf hist: Hide unused mem stat columnsNamhyung Kim1-0/+2
2025-05-02perf hist: Basic support for mem_stat accountingNamhyung Kim1-2/+4
2025-05-02perf hist: Add struct he_mem_statNamhyung Kim1-0/+74
2025-03-07perf report: Fix memory leaks in the hierarchy modeNamhyung Kim1-0/+10
2025-02-24perf report: Fix sample number stats for branch entry modeThomas Falcon1-2/+6
2025-02-18perf report: Add latency output fieldDmitry Vyukov1-14/+41
2025-02-18perf report: Add parallelism filterDmitry Vyukov1-0/+31
2025-02-18perf report: Switch filtered from u8 to u16Dmitry Vyukov1-1/+1
2025-02-17perf report: Add parallelism sort keyDmitry Vyukov1-0/+2
2025-01-16perf hist: Fix bogus profiles when filters are enabledDmitry Vyukov1-1/+10
2025-01-16perf hist: Deduplicate cmp/sort/collapse codeDmitry Vyukov1-60/+43
2024-10-10perf report: Display columns Predicted/Abort/Cycles in --branch-historyThomas Falcon1-0/+3
2024-08-28perf report: Fix segfault when 'sym' sort key is not usedNamhyung Kim1-1/+1
2024-08-28perf tools: Print lost samples due to BPF filterNamhyung Kim1-4/+15
2024-08-15perf hist: Update hist symbol when updating mapsMatt Fleming1-0/+5
2024-08-14perf annotate: Save branch counters for each blockKan Liang1-2/+3
2024-08-08perf hist: Fix reference counting of branch_infoIan Rogers1-4/+14
2024-08-01perf hist: Correct hist_entry->mem_info refcountsNamhyung Kim1-7/+7
2024-06-15perf hist: Add symbol_conf.skip_emptyNamhyung Kim1-3/+3
2024-05-07perf hist: Avoid 'struct hist_entry_iter' mem_info memory leakIan Rogers1-25/+14
2024-05-07perf mem-info: Add reference count checkingIan Rogers1-12/+14
2024-05-07perf mem-info: Move mem-info out of mem-events and symbolIan Rogers1-0/+1
2024-05-07perf block-info: Remove unused refcountIan Rogers1-2/+2
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers1-2/+2
2024-04-17perf hist: Add weight fields to hist entry statsNamhyung Kim1-2/+10
2024-01-26perf tools: Fix calloc() arguments to address error introduced in gcc-14Sun Haiyong1-2/+2
2023-10-25perf mem_info: Add and use map_symbol__exit and addr_map_symbol__exitIan Rogers1-16/+12
2023-10-25perf hist: Add missing puts to hist__account_cyclesIan Rogers1-3/+7
2023-10-25libperf rc_check: Add RC_CHK_EQUALIan Rogers1-1/+1
2023-06-12perf srcline: Optimize comparision against SRCLINE_UNKNOWNArnaldo Carvalho de Melo1-1/+1
2023-06-12perf hist: Fix srcline memory leakIan Rogers1-1/+1
2023-06-12perf srcline: Change free_srcline to zfree_srclineIan Rogers1-3/+3
2023-06-12perf callchain: Use pthread keys for tls callchain_cursorIan Rogers1-15/+31
2023-06-12perf map/maps/thread: Changes to reference countingIan Rogers1-2/+4
2023-06-12perf thread: Add reference count checkingIan Rogers1-1/+1
2023-06-12perf addr_location: Add init/exit/copy functionsIan Rogers1-3/+5
2023-06-12perf thread: Add accessor functions for threadIan Rogers1-3/+3
2023-04-10perf mem: Increase HISTC_MEM_LVL column size to 39 charsRavi Bangoria1-1/+1
2023-04-06perf map: Changes to reference countingIan Rogers1-5/+5
2023-04-04perf map: Add accessor for dsoIan Rogers1-5/+5
2023-04-04perf maps: Add functions to access mapsIan Rogers1-1/+1
2023-03-21perf kvm: Reference count 'struct kvm_info'Leo Yan1-0/+5
2023-03-20perf report: Add 'simd' sort fieldGerman Gomez1-0/+1
2023-03-15perf hist: Add 'kvm_info' field in histograms entryLeo Yan1-7/+12
2022-12-21perf hist: Add perf_hpp_fmt->init() callbackNamhyung Kim1-5/+5
2022-10-04perf tools: Add 'addr' sort keyNamhyung Kim1-0/+1
2022-10-04perf report: Show per-event LOST SAMPLES statNamhyung Kim1-3/+7
2022-10-04perf hist: Add nr_lost_samples to hist_statsNamhyung Kim1-0/+5
2022-10-04perf hist: Update use of pthread mutexIan Rogers1-3/+3
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/+3
2021-11-18perf sort: Fix the 'p_stage_cyc' sort key behaviorNamhyung Kim1-8/+4
2021-11-18perf sort: Fix the 'ins_lat' sort key behaviorNamhyung Kim1-7/+4
2021-11-18perf sort: Fix the 'weight' sort key behaviorNamhyung Kim1-9/+5
2021-04-29perf report: Add --skip-empty option to suppress 0 event statNamhyung Kim1-1/+5
2021-04-29perf hists: Split hists_stats from events_statsNamhyung Kim1-6/+14
2021-03-26perf tools: Support pipeline stage cycles for powerpcAthira Rajeev1-3/+8
2021-02-08perf report: Support instruction latencyKan Liang1-3/+9
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/+2
2020-12-19perf sort: Add sort option for data page sizeKan Liang1-0/+3
2020-11-30perf evlist: Use the right prefix for 'struct evlist' print methodsArnaldo Carvalho de Melo1-1/+1
2020-05-28perf evsel: Rename perf_evsel__resort*() to evsel__resort*()Arnaldo Carvalho de Melo1-4/+4
2020-05-28perf evsel: Rename perf_evsel__object_config() to evsel__object_config()Arnaldo Carvalho de Melo1-3/+2
2020-05-05perf evsel: Rename perf_evsel__is_*() to evsel__is*()Arnaldo Carvalho de Melo1-1/+1
2020-05-05perf evsel: Rename perf_evsel__group_desc() to evsel__group_desc()Arnaldo Carvalho de Melo1-1/+1
2020-05-05perf evsel: Rename *perf_evsel__*name() to *evsel__*name()Arnaldo Carvalho de Melo1-2/+2
2020-04-18perf hist: Add fast path for duplicate entries checkKan Liang1-0/+23
2020-04-03perf report: Add 'cgroup' sort keyNamhyung Kim1-0/+13
2020-03-09perf tools: Add hw_idx in struct branch_stackKan Liang1-1/+2
2019-11-26perf map_symbol: Rename ms->mg to ms->mapsArnaldo Carvalho de Melo1-4/+4
2019-11-26perf addr_location: Rename al->mg to al->mapsArnaldo Carvalho de Melo1-4/+4
2019-11-12perf tools: Add a 'struct map_groups' pointer to 'struct map_symbol'Arnaldo Carvalho de Melo1-0/+4
2019-11-12pref tools: Make 'struct addr_map_symbol' contain 'struct map_symbol'Arnaldo Carvalho de Melo1-27/+27
2019-11-12Merge tag 'perf-core-for-mingo-5.5-20191107' of git://git.kernel.org/pub/scm/...Ingo Molnar1-1/+12
2019-11-07perf hist: Support block formats with compare/sort/displayJin Yao1-0/+4
2019-11-07perf hist: Count the total cycles of all samplesJin Yao1-1/+5
2019-11-07perf block: Cleanup and refactor block info functionsJin Yao1-0/+1
2019-11-07perf diff: Don't use hack to skip column length calculationJin Yao1-0/+2
2019-11-05perf tools: Fix time sortingJiri Olsa1-1/+1
2019-08-31perf symbols: Move mem_info and branch_info out of symbol.hArnaldo Carvalho de Melo1-0/+3
2019-08-31perf tools: Remove needless sort.h include directivesArnaldo Carvalho de Melo1-0/+1
2019-08-31perf dsos: Move the dsos struct and its methods to separate source filesArnaldo Carvalho de Melo1-0/+1
2019-08-31perf debug: Remove needless include directives from debug.hArnaldo Carvalho de Melo1-0/+1
2019-08-29perf tools: Remove debug.h from header files not needing itArnaldo Carvalho de Melo1-0/+1
2019-08-28perf top: Fix event group with more than two eventsNamhyung Kim1-18/+21
2019-08-26perf report: Fix --ns time sort key outputAndi Kleen1-1/+4
2019-08-12perf hist: Remove dummy entries when finding real ones.Arnaldo Carvalho de Melo1-2/+18
2019-08-12perf hists: Do not link a pair if already linkedArnaldo Carvalho de Melo1-1/+1
2019-07-29libperf: Move nr_members from perf's evsel to libperf's perf_evselJiri Olsa1-1/+1
2019-07-29libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evselJiri Olsa1-1/+1
2019-07-29perf evlist: Rename struct perf_evlist to struct evlistJiri Olsa1-1/+1
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-13/+13
2019-07-09perf tools: Use list_del_init() more thorouglyArnaldo Carvalho de Melo1-2/+2
2019-07-09perf tools: Use zfree() where applicableArnaldo Carvalho de Melo1-7/+7
2019-07-09tools lib: Adopt zalloc()/zfree() from tools/perfArnaldo Carvalho de Melo1-1/+1
2019-07-02perf diff: Print the basic block cycles diffJin Yao1-0/+18
2019-07-02perf diff: Use hists to manage basic blocks per symbolJin Yao1-0/+3
2019-07-02perf hists: Add block_info in hist_entryJin Yao1-2/+18
2019-05-28perf tools: Remove const from thread read accessorsNamhyung Kim1-1/+1
2019-03-19perf hist: Add missing map__put() in error caseChangbin Du1-1/+3
2019-03-11perf report: Implement browsing of individual samplesAndi Kleen1-0/+39
2019-03-11perf report: Support time sort keyAndi Kleen1-0/+11
2019-03-06perf hist: Fix memory leak of srclineJiri Olsa1-2/+12
2019-03-06perf hist: Add error path into hist_entry__initJiri Olsa1-20/+19
2019-02-06perf evsel: Add output_resort_cb methodJiri Olsa1-2/+8
2019-02-06perf hists: Add argument to hists__resort_cb_t callbackJiri Olsa1-5/+6
2019-02-06perf tools: Add missing include <callchain.h> in various placesArnaldo Carvalho de Melo1-0/+1
2019-02-06perf tools: Add missing include for symbols.hArnaldo Carvalho de Melo1-0/+1
2019-01-25perf hist: Use cached rbtreesDavidlohr Bueso1-87/+112
2018-12-17perf tools: Fix diverse comment typosIngo Molnar1-1/+1
2018-06-07perf hists: Reimplement hists__has_callchains()Arnaldo Carvalho de Melo1-2/+4
2018-06-07perf hists: Save the callchain_size in struct hist_entryArnaldo Carvalho de Melo1-2/+4
2018-06-06perf hists: Check if a hist_entry has callchains before using themArnaldo Carvalho de Melo1-5/+6
2018-06-05perf evsel: Add has_callchain() helper to make code more compact/clearArnaldo Carvalho de Melo1-1/+1
2018-06-04perf tools: No need to check if the argument to __get() function is NULLArnaldo Carvalho de Melo1-1/+1
2018-04-03perf hists: Move hists__scnprintf_title() away from the TUI codeArnaldo Carvalho de Melo1-0/+81
2018-03-08perf tools: Add refcnt into struct mem_infoJiri Olsa1-2/+2
2018-02-16perf report: Fix memory corruption in --branch-history mode --branch-historyJiri Olsa1-3/+1
2017-11-07Merge branch 'linus' into perf/core, to fix conflictsIngo Molnar1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-25perf report: Use srcline from callchain for hist entriesMilian Wolff1-0/+2
2017-10-24perf report: Remove code to handle inline frames from browsersMilian Wolff1-5/+0
2017-09-01perf sort: Add sort option for physical addressKan Liang1-0/+4
2017-07-25perf report: Make --branch-history work without callgraphs(-g) option in perf...Jin Yao1-0/+2
2017-07-18perf report: Show branch type statistics for stdio modeJin Yao1-4/+1
2017-04-24perf tools: Use just forward declarations for struct thread where possibleArnaldo Carvalho de Melo1-0/+1
2017-04-24perf tools: Include sys/param.h where neededArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Include errno.h where neededArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Move srcline definitions to separate headerArnaldo Carvalho de Melo1-0/+1
2017-03-30perf utils: Fix spelling mistake: "Invalud" -> "Invalid"Colin Ian King1-1/+1
2017-03-27perf report: Show inline stack for browser modeJin Yao1-0/+5
2017-03-14perf tools: Add 'cgroup_id' sort order keywordHari Bathini1-0/+7
2017-02-20perf utils: Check verbose flag properlyNamhyung Kim1-3/+3
2017-01-31perf callchain: Reference count mapsKrister Johansen1-0/+7
2017-01-27perf tools: Propagate perf_config() errorsArnaldo Carvalho de Melo1-1/+3
2016-11-24Merge branch 'linus' into perf/core, to pick up fixesIngo Molnar1-6/+6
2016-11-09perf hists: Fix column length on --hierarchyNamhyung Kim1-6/+6
2016-10-21perf c2c report: Limit the cachelines table entriesJiri Olsa1-0/+1
2016-09-20perf hists: Fix width computation for srcline sort entryJiri Olsa1-2/+4
2016-09-13perf hist: Initialize hierarchy tree explicitlyNamhyung Kim1-0/+2
2016-09-13perf hists: Introduce hists__link_hierarchy()Namhyung Kim1-0/+95
2016-09-13perf hists: Introduce hists__match_hierarchy()Namhyung Kim1-0/+51
2016-08-02perf hists: Introduce output_resort_cb methodJiri Olsa1-3/+12
2016-07-12perf hists: Introduce hists__add_entry_ops functionJiri Olsa1-7/+35
2016-07-12perf hists: Introduce hist_entry_opsJiri Olsa1-4/+27
2016-07-12perf hists: Introduce hist_entry__init functionJiri Olsa1-66/+73
2016-06-23perf evlist: Rename for_each() macros to for_each_entry()Arnaldo Carvalho de Melo1-1/+1
2016-06-22perf hists: Enlarge pid sort entry sizeJiri Olsa1-1/+1
2016-06-21perf hists: Rename __hists__add_entry to hists__add_entryJiri Olsa1-17/+17
2016-06-15perf hists: Replace perf_evsel arg perf_hpp_fmt's width callbackJiri Olsa1-1/+1
2016-05-23perf report: Add srcline_from/to branch sort keysAndi Kleen1-0/+9
2016-05-05perf hists: Move sort__need_collapse into struct perf_hpp_listJiri Olsa1-7/+7
2016-04-25perf hists: Clear dummy entry accumulated periodKan Liang1-0/+2
2016-04-14perf callchain: Start moving away from global per thread cursorsArnaldo Carvalho de Melo1-1/+1
2016-03-30perf tools: Make hists__collapse_insert_entry staticJiri Olsa1-2/+3
2016-03-23perf tools: Remove misplaced __maybe_unusedArnaldo Carvalho de Melo1-1/+1
2016-03-10perf tools: Recalc total periods using top-level entries in hierarchyNamhyung Kim1-10/+34
2016-03-10perf tools: Fix command line filters in hierarchy modeNamhyung Kim1-3/+97
2016-03-08perf hists: Use own hpp_list for hierarchy modeNamhyung Kim1-25/+35
2016-03-08perf hists: Introduce perf_hpp__setup_hists_formats()Namhyung Kim1-0/+12
2016-02-26perf report: Update column width of dynamic entriesNamhyung Kim1-0/+11
2016-02-26perf hists: Fix dynamic entry display in hierarchyNamhyung Kim1-1/+1
2016-02-26perf hists: Fix comparing of dynamic entriesNamhyung Kim1-0/+8
2016-02-26perf hists browser: Show message for percent limitNamhyung Kim1-0/+2
2016-02-26perf hists: Add more helper functions for the hierarchy modeNamhyung Kim1-0/+25
2016-02-24perf hists: Support decaying in hierarchy modeNamhyung Kim1-8/+34
2016-02-24perf hists: Resort after filtering hierarchyNamhyung Kim1-0/+54
2016-02-24perf hists: Support filtering in hierarchy modeNamhyung Kim1-8/+93
2016-02-24perf hists: Add helper functions for hierarchy modeNamhyung Kim1-0/+56
2016-02-24perf hists: Resort hist entries with hierarchyNamhyung Kim1-3/+91
2016-02-24perf hists: Basic support of hierarchical report viewNamhyung Kim1-0/+114
2016-02-22perf tools: Fix column width setting on 'trace' sort keyNamhyung Kim1-0/+3
2016-02-19perf hists: Return error from hists__collapse_resort()Namhyung Kim1-10/+19
2016-02-19perf hists browser: Fix percentage update on key pressNamhyung Kim1-7/+19
2016-02-12perf hists: Do column alignment on the format iteratorArnaldo Carvalho de Melo1-0/+21
2016-02-03perf hists: Introduce hists__for_each_sort_list macroJiri Olsa1-3/+6
2016-02-03perf tools: Add hpp_list into struct hists objectJiri Olsa1-2/+3
2016-02-03perf hists: Introduce perf_hpp_list__for_each_sort_list macroJiri Olsa1-3/+3
2016-02-03perf hists: Introduce perf_hpp_list__init functionJiri Olsa1-0/+6
2016-02-03perf hists: Introduce perf_evsel__output_resort functionJiri Olsa1-3/+7
2016-02-03perf hists: Factor output_resort from hists__output_resortJiri Olsa1-8/+15
2016-02-01perf hists: Update hists' total period when adding entriesNamhyung Kim1-2/+9
2016-02-01perf hists: Fix min callchain hits calculationNamhyung Kim1-2/+11
2016-01-26perf hists: Cleanup filtering functionsNamhyung Kim1-60/+29
2016-01-26perf hists: Remove parent filter check in DSO filter functionNamhyung Kim1-3/+0
2016-01-26perf hists: Fix HISTC_MEM_DCACHELINE width settingJiri Olsa1-0/+2
2016-01-08perf hists: Export a couple of hist functionsNamhyung Kim1-7/+12
2016-01-08perf top: Decay periods in callchainsNamhyung Kim1-0/+1
2016-01-06perf tools: Skip dynamic fields not defined for current eventNamhyung Kim1-1/+1
2016-01-06perf tools: Try to show pretty printed output for dynamic sort keysNamhyung Kim1-0/+1
2016-01-06perf hist: Save raw_data/size for tracepoint eventsNamhyung Kim1-0/+24
2016-01-06perf hist: Pass struct sample to __hists__add_entry()Namhyung Kim1-14/+17
2015-12-10perf top: Delete half-processed hist entries when exitNamhyung Kim1-1/+25
2015-12-09perf hists: Fix hists_evsel to release histsMasami Hiramatsu1-1/+9
2015-11-27perf hists: Do not skip elided fields when processing samplesNamhyung Kim1-6/+0
2015-10-05perf tools: Setup proper width for symbol_iaddr fieldJiri Olsa1-0/+13
2015-10-01perf report: Fix a bug on "--call-graph none" optionNamhyung Kim1-1/+1
2015-09-28perf hists: Allow for max_stack greater than PERF_MAX_STACK_DEPTHAdrian Hunter1-2/+4