aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/callchain.c
AgeCommit message (Expand)AuthorFilesLines
2025-03-07perf report: Use map_symbol__copy() when copying callchainsNamhyung Kim1-7/+3
2024-09-10perf callchain: Allow symbols to be optional when resolving a callchainIan Rogers1-4/+4
2024-08-13perf callchain: Add a for_each callback style APIIan Rogers1-0/+35
2024-07-26perf tool: fix dereferencing NULL al->mapsCasey Chen1-1/+1
2024-05-07perf callchain: Use zfree() to avoid possibly accessing dangling pointersArnaldo Carvalho de Melo1-1/+1
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers1-1/+1
2024-02-12perf maps: Hide maps internalsIan Rogers1-1/+1
2023-10-27perf callchain: Fix spelling mistake "statisitcs" -> "statistics"Colin Ian King1-2/+2
2023-10-25perf mem_info: Add and use map_symbol__exit and addr_map_symbol__exitIan Rogers1-18/+9
2023-10-25perf callchain: Make brtype_stat in callchain_list optionalIan Rogers1-8/+33
2023-10-25perf callchain: Make display use of branch_type_stat constIan Rogers1-3/+3
2023-10-25libperf rc_check: Add RC_CHK_EQUALIan Rogers1-1/+1
2023-06-12perf callchain: Use pthread keys for tls callchain_cursorIan Rogers1-2/+43
2023-06-12perf map/maps/thread: Changes to reference countingIan Rogers1-6/+22
2023-04-06perf map: Changes to reference countingIan Rogers1-4/+5
2023-04-06tools: Rename __fallthrough to fallthroughLiam Howlett1-2/+2
2023-04-04perf map: Add accessor for dsoIan Rogers1-3/+3
2023-04-04perf maps: Add functions to access mapsIan Rogers1-4/+5
2022-10-04perf callchain: Remove unneeded 'result' variableye xingchen1-10/+2
2022-07-12perf record: Allow to specify max stack depth of fp callchainNamhyung Kim1-6/+12
2022-02-14perf maps: Use a pointer for kmapsIan Rogers1-1/+1
2021-12-21perf callchain: Enable dwarf_callchain_users on arm64Alexandre Truong1-1/+13
2021-03-23perf tools: Fix various typos in commentsIngo Molnar1-1/+1
2020-10-14perf streams: Report hot streamsJin Yao1-0/+13
2020-10-14perf streams: Calculate the sum of total streams hitsJin Yao1-0/+32
2020-10-14perf streams: Compare two streamsJin Yao1-0/+54
2020-05-28perf callchain: Setup callchain properly in pipe modeJiri Olsa1-0/+14
2019-11-26perf map_symbol: Rename ms->mg to ms->mapsArnaldo Carvalho de Melo1-1/+1
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/+1
2019-11-12perf callchain: Use 'struct map_symbol' in 'struct callchain_cursor_node'Arnaldo Carvalho de Melo1-17/+16
2019-11-12perf tools: Add map_groups to 'struct addr_location'Arnaldo Carvalho de Melo1-3/+3
2019-09-20perf tools: Move event synthesizing routines to separate headerArnaldo 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 needless perf.h include directive from headersArnaldo Carvalho de Melo1-0/+1
2019-08-26perf sort: Remove needless headers from sort.h, provide fwd struct declsArnaldo Carvalho de Melo1-0/+1
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-1/+1
2019-07-09perf tools: Use list_del_init() more thorouglyArnaldo Carvalho de Melo1-5/+5
2019-07-09tools lib: Adopt zalloc()/zfree() from tools/perfArnaldo Carvalho de Melo1-1/+1
2019-02-06perf hist: Remove symbol.h from hist.h, just fwd decls are neededArnaldo Carvalho de Melo1-0/+1
2019-02-06pref tools: Add missing map.h includesArnaldo Carvalho de Melo1-0/+1
2019-02-06perf callchain: Uninline callchain_cursor_reset() to remove map.h dependencyArnaldo Carvalho de Melo1-0/+15
2019-01-04perf report: Fix wrong iteration count in --branch-historyJin Yao1-12/+20
2018-01-17perf unwind: Do not look just at the global callchain_param.record_modeArnaldo Carvalho de Melo1-0/+10
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-31perf callchain: Fix double mapping al->addr for children without self periodNamhyung Kim1-4/+1
2017-10-25perf report: Use srcline from callchain for hist entriesMilian Wolff1-0/+1
2017-10-25perf report: Properly handle branch count in match_chain()Milian Wolff1-62/+78
2017-10-24perf callchain: Compare symbol name for inlined frames when matchingMilian Wolff1-0/+8
2017-10-24perf callchain: Mark inlined frames in output by " (inlined)" suffixMilian Wolff1-3/+7
2017-10-24perf report: Fall-back to function name comparison for -g srclineMilian Wolff1-8/+12
2017-10-24perf callchain: Store srcline in callchain_cursor_nodeMilian Wolff1-22/+9
2017-10-05perf callchain: Compare dsos (as well) for CCKEY_FUNCTIONRavi Bangoria1-1/+5
2017-09-25perf report: Fix debug messages with --call-graph optionMengting Zhang1-14/+21
2017-08-30perf report: Calculate the average cycles of iterationsJin Yao1-26/+23
2017-07-25perf report: Tag branch type/flag on "to" and tag cycles on "from"Jin Yao1-43/+105
2017-07-25perf report: Make --branch-history work without callgraphs(-g) option in perf...Jin Yao1-3/+4
2017-07-20tools include: Adopt strstarts() from the kernelArnaldo Carvalho de Melo1-1/+1
2017-07-18perf report: Show branch type in callchain entryJin Yao1-9/+29
2017-07-18perf report: Refactor the branch info printing codeJin Yao1-59/+41
2017-05-24perf report: Don't crash on invalid maps in `-g srcline` modeMilian Wolff1-4/+9
2017-04-24perf callchain: Move callchain specific routines from util.[ch]Arnaldo Carvalho de Melo1-0/+103
2017-04-19perf tools: Including missing inttypes.h headerArnaldo Carvalho de Melo1-0/+1
2017-04-11perf callchains: Switch from strtok() to strtok_r() when parsing optionsArnaldo Carvalho de Melo1-2/+2
2017-03-28perf report: Drop cycles 0 for LBR printJin Yao1-37/+74
2017-03-27perf report: Enable sorting by srcline as keyMilian Wolff1-5/+47
2017-01-31perf callchain: Reference count mapsKrister Johansen1-2/+9
2017-01-27perf tools: Propagate perf_config() errorsArnaldo Carvalho de Melo1-2/+14
2016-12-07perf callchain: Introduce callchain_cursor__copy()Namhyung Kim1-0/+27
2016-11-14perf report: Calculate and return the branch flag countingJin Yao1-1/+188
2016-11-14perf report: Add branch flag to callchain cursor nodeJin Yao1-2/+12
2016-11-07perf callchain: Fixup help/config for no-unwindingRabin Vincent1-2/+0
2016-05-05perf hists: Move sort__has_parent into struct perf_hpp_listJiri Olsa1-1/+1
2016-04-18perf callchain: Set callchain_param.enabled when parsing --call-graphArnaldo Carvalho de Melo1-0/+2
2016-04-14perf callchain: Start moving away from global per thread cursorsArnaldo Carvalho de Melo1-2/+3
2016-02-19perf callchain: Check return value of append_chain_children()Namhyung Kim1-6/+12
2016-02-19perf callchain: Check return value of split_add_child()Namhyung Kim1-3/+9
2016-02-19perf callchain: Add enum match_result for match_chain()Namhyung Kim1-18/+34
2016-02-19perf callchain: Check return value of fill_node()Namhyung Kim1-3/+13
2016-02-19perf callchain: Check return value of add_child()Namhyung Kim1-0/+8
2016-01-08perf top: Decay periods in callchainsNamhyung Kim1-0/+28
2015-11-26perf top: Fix freeze on --call-graph flat/foldedNamhyung Kim1-0/+1
2015-11-19perf hists browser: Support flat callchainsNamhyung Kim1-0/+44
2015-11-19perf report: Add callchain value optionNamhyung Kim1-9/+53
2015-11-19perf callchain: Add count fields to struct callchain_nodeNamhyung Kim1-0/+10
2015-11-19perf callchain: Abstract callchain print functionNamhyung Kim1-0/+29
2015-11-19perf report: Support folded callchain mode on --stdioNamhyung Kim1-0/+6
2015-10-22perf tools: Defaults to 'caller' callchain order only if --children is enabledNamhyung Kim1-0/+2
2015-10-22perf top: Support call-graph display options alsoNamhyung Kim1-3/+37
2015-08-08perf callchain: Move option parsing code to util.cKan Liang1-88/+1
2015-08-05perf tools: Refine parse/config callchain functionsKan Liang1-7/+7
2015-02-18perf tools: Enable LBR call stack supportKan Liang1-0/+8
2015-01-08perf callchain: Free callchains when hist entries are deletedNamhyung Kim1-0/+30
2014-12-09perf callchain: Fixup parameter handling error messageKan Liang1-1/+1
2014-12-01perf callchain: Support handling complete branch stacks as histogramsAndi Kleen1-0/+4
2014-11-24perf callchain: Make get_srcline fall back to sym+offsetAndi Kleen1-1/+2
2014-11-24perf callchain: Enable printing the srcline in the historyAndi Kleen1-1/+10
2014-11-19perf callchain: Use a common function to resolve symbol or nameAndi Kleen1-0/+19
2014-10-29perf thread: Adopt resolve_callchain method from machineArnaldo Carvalho de Melo1-2/+2
2014-09-26perf tools: Introduce perf_callchain_config()Namhyung Kim1-19/+90
2014-09-26perf callchain: Move some parser functions to callchain.cNamhyung Kim1-0/+84
2014-08-15perf report: Relax -g option parsing not to limit the option orderNamhyung Kim1-57/+38
2014-07-16perf callchain: Fix appending a callchain from a previous sampleAdrian Hunter1-1/+1
2014-06-01perf tools: Update cpumode for each cumulative entryNamhyung Kim1-0/+42
2014-06-01perf hists: Accumulate hist entry stat based on the callchainNamhyung Kim1-1/+2
2014-04-22perf callchain: Add generic report parse callchain callback functionDon Zickus1-0/+78
2014-01-17perf tools: Remove unnecessary callchain cursor state restore on unmatchFrederic Weisbecker1-3/+0
2014-01-17perf callchain: Spare double comparison of callchain first entryFrederic Weisbecker1-10/+10
2014-01-15perf tools: Factor out sample__resolve_callchain()Namhyung Kim1-0/+23
2013-10-21perf callchain: Convert children list to rbtreeNamhyung Kim1-36/+111
2013-08-29perf callchain: Remove unnecessary validationAdrian Hunter1-8/+0
2013-07-22perf tools: Support callchain sorting based on addressesAndi Kleen1-2/+5
2013-02-06perf tools: Fix calloc argument orderingPaul Gortmaker1-1/+1
2012-09-11perf tools: Use __maybe_used for unused variablesIrina Tirdea1-3/+3
2012-05-31perf callchain: Make callchain cursors TLSNamhyung Kim1-0/+2
2011-01-29perf tools: Kill event_t typedef, use 'union perf_event' insteadArnaldo Carvalho de Melo1-1/+2
2011-01-22perf callchain: Don't give arbitrary gender to callchain tree nodesFrederic Weisbecker1-4/+4
2011-01-22perf callchain: Rename register_callchain_param into callchain_register_paramFrederic Weisbecker1-1/+1
2011-01-22perf callchain: Rename cumul_hits into callchain_cumul_hitsFrederic Weisbecker1-5/+5
2011-01-22perf callchain: Feed callchains into a cursorFrederic Weisbecker1-104/+100
2010-08-22perf: Support for callchains mergeFrederic Weisbecker1-0/+56
2010-08-22perf: Rename append_callchain into callchain_appendFrederic Weisbecker1-12/+11
2010-08-22perf: Keep track of the max depth of a callchainFrederic Weisbecker1-10/+13
2010-07-21Merge branch 'linus' into perf/coreIngo Molnar1-17/+18
2010-07-08perf: Sync callchains with period based hitsFrederic Weisbecker1-17/+18
2010-06-05perf tools: Make event__preprocess_sample parse the sampleArnaldo Carvalho de Melo1-1/+1
2010-05-20perf annotate: Use build-ids to find the right DSOArnaldo Carvalho de Melo1-0/+1
2010-05-10perf callchains: Use zalloc to allocate objectsArnaldo Carvalho de Melo1-3/+3
2010-05-09perf callchain: Move validate_callchain to callchain libArnaldo Carvalho de Melo1-0/+7
2010-03-26perf callchains: Store the map together with the symbolArnaldo Carvalho de Melo1-11/+10
2010-03-22perf: Fix orphan callchain branchesFrederic Weisbecker1-28/+81
2009-10-23perf tools: Unify debug messages mechanismsArnaldo Carvalho de Melo1-1/+1
2009-08-16perf: Enable more compiler warningsIngo Molnar1-0/+2
2009-08-09perf tools: callchain: Fix bad rounding of minimum rateFrederic Weisbecker1-2/+3
2009-08-09perf tools: callchain: Fix spurious 'perf report' warnings: ignore empty call...Frederic Weisbecker1-0/+2
2009-08-09perf tools: Fix call-chain cumul hit based sub-total (fractal mode)Frederic Weisbecker1-11/+16
2009-07-05perf report: Add "Fractal" mode output - support callchains with relative ove...Frederic Weisbecker1-15/+69
2009-07-05perf_counter tools: callchains: Manage the cumul hits on the flyFrederic Weisbecker1-4/+8
2009-07-02perf_counter tools: Set the minimum percent for callchains to be displayedFrederic Weisbecker1-8/+11
2009-07-02perf report: Add support for callchain graph outputFrederic Weisbecker1-9/+42
2009-07-02perf_counter tools: Create new chain_for_each_child() iteratorFrederic Weisbecker1-3/+6
2009-07-01perf_counter tools: Add more warnings and fix/annotate themIngo Molnar1-7/+8
2009-07-01perf_counter tools: Various fixes for callchainsFrederic Weisbecker1-32/+90
2009-07-01perf_counter tools: Resolve symbols in callchainsFrederic Weisbecker1-14/+19
2009-07-01perf_counter tools: Fix storage size allocation of callchain listFrederic Weisbecker1-1/+1
2009-06-26perf_counter tools: Prepare a small callchain frameworkFrederic Weisbecker1-0/+174