aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat-shadow.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-17perf stat: Reduce scope of walltime_nsecs_statsIan Rogers1-7/+0
2025-11-17perf stat: Reduce scope of ru_statsIan Rogers1-2/+0
2025-11-17perf stat-shadow: Read tool events directlyIan Rogers1-83/+66
2025-11-13perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependenciesIan Rogers1-0/+1
2025-11-11perf tool_pmu: Make core_wide and target_cpu json eventsIan Rogers1-0/+2
2025-11-11perf stat: Fix default metricgroup display on hybridIan Rogers1-5/+3
2025-11-11perf stat: Remove hard coded shadow metricsIan Rogers1-389/+3
2025-11-11perf jevents: Add metric DefaultShowEventsIan Rogers1-1/+1
2025-07-23perf stat: Remove duplicated include in stat-shadow.cYang Li1-1/+0
2025-07-11perf stat: Move metric list from config to evlistIan Rogers1-7/+6
2025-01-29perf stat: Fix find_stat for mixed legacy/non-legacy eventsIan Rogers1-1/+2
2024-12-26perf stat: Remove empty new_line_metric functionJames Clark1-2/+3
2024-11-07perf stat: Expand metric+unit buffer sizeIan Rogers1-1/+1
2024-10-17perf stat: Change color to threshold in print_metricIan Rogers1-52/+53
2024-10-17perf stat: Fix/add parameter names for print_metricIan Rogers1-23/+32
2024-10-10perf tool_pmu: Move expr literals to tool_pmuIan Rogers1-1/+10
2024-10-10perf tool_pmu: Rename enum perf_tool_event to tool_pmu_eventIan Rogers1-5/+5
2024-10-10perf tool_pmu: Factor tool events into their own PMUIan Rogers1-0/+1
2024-09-26perf evsel: Remove pmu_nameIan Rogers1-5/+5
2024-09-26perf stat: Remove evlist__add_default_attrs use stringsIan Rogers1-2/+2
2024-09-11perf evsel: Add accessor for tool_eventIan Rogers1-1/+1
2024-06-21perf stat: Fix the hard-coded metrics calculation on the hybridKan Liang1-0/+7
2024-02-22perf metrics: Compute unmerged uncore metrics individuallyIan Rogers1-4/+27
2024-02-22perf stat: Pass fewer metric argumentsIan Rogers1-20/+18
2024-02-13perf metric: Don't remove scale from countsIan Rogers1-6/+1
2024-01-03perf stat: Fix hard coded LL miss unitsIan Rogers1-1/+1
2023-06-16perf stat: New metricgroup output for the default modeKan Liang1-12/+119
2023-05-10perf metric: Change divide by zero and !support events behaviorIan Rogers1-6/+19
2023-03-13perf stat: Modify the group testIan Rogers1-1/+1
2023-02-19perf stat: Remove saved_value/runtime_statIan Rogers1-198/+0
2023-02-19perf stat: Use counts rather than saved_valueIan Rogers1-265/+269
2023-02-19perf metric: Directly use counts rather than saved_valueIan Rogers1-37/+19
2023-02-19perf stat: Add cpu_aggr_map for loopIan Rogers1-64/+64
2023-02-19perf stat: Hide runtime_statIan Rogers1-97/+68
2023-02-19perf stat: Move enums from headerIan Rogers1-0/+25
2023-02-19perf stat: Use metrics for --smi-costIan Rogers1-30/+0
2023-02-19perf stat: Remove hard coded transaction eventsIan Rogers1-47/+1
2023-02-19perf stat: Remove topdown event special handlingIan Rogers1-346/+0
2023-02-19perf metric: Add --metric-no-threshold optionIan Rogers1-1/+2
2023-02-19perf metric: Compute and print threshold valuesIan Rogers1-8/+16
2023-02-09perf stat: Avoid merging/aggregating metric counts twiceIan Rogers1-1/+1
2023-02-03perf stat: Remove evsel metric_name/exprIan Rogers1-112/+0
2022-12-16Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo1-1/+1
2022-11-16perf expr: Tidy hashmap dependencyIan Rogers1-0/+1
2022-11-09libbpf: Hashmap interface update to allow both long and void* keys/valuesEduard Zingerman1-1/+1
2022-10-06perf stat: Don't compare runtime stat for shadow statsNamhyung Kim1-12/+0
2022-10-06perf stat: Use thread map index for shadow statNamhyung Kim1-1/+1
2022-10-06perf stat: Rename saved_value->cpu_map_idxNamhyung Kim1-154/+154
2022-10-06perf metrics: Don't scale counts going into metricsIan Rogers1-2/+7
2022-10-04perf metrics: Wire up core_wideIan Rogers1-3/+8
2022-10-04perf expr: Move the scanner_ctx into the parse_ctxIan Rogers1-1/+1
2022-08-27perf stat: Capitalize topdown metrics' namesZhengjun Xing1-12/+12
2022-05-09perf metrics: Support all tool eventsIan Rogers1-3/+24
2022-04-20perf stat: Introduce stats for the user and system rusage timesFlorian Fischer1-0/+2
2022-01-12perf stat: Swap variable name cpu to indexIan Rogers1-154/+154
2021-11-13perf expr: Add source_count for aggregating eventsIan Rogers1-1/+6
2021-11-07perf stat: Fix memory leak on error pathIan Rogers1-0/+1
2021-10-20perf metric: Encode and use metric-id as qualifierIan Rogers1-16/+4
2021-10-20perf metric: Move runtime value to the expr contextIan Rogers1-3/+4
2021-09-29perf metric: Rename expr__find_other.Ian Rogers1-3/+3
2021-09-29perf metric: Restructure struct expr_parse_ctx.Ian Rogers1-18/+32
2021-07-09libperf: Move 'leader' from tools/perf to perf_evsel::leaderJiri Olsa1-1/+1
2021-04-20perf stat: Basic support for iostat in perfAlexander Antonov1-1/+4
2021-03-15perf stat: Improve readability of shadow statsChangbin Du1-9/+7
2021-02-08perf stat: Support L2 Topdown eventsKan Liang1-0/+92
2021-01-15perf stat: Take cgroups into account for shadow statsNamhyung Kim1-7/+19
2021-01-15perf stat: Introduce struct runtime_stat_dataNamhyung Kim1-173/+173
2020-09-17perf stat: Support new per thread TopDown metricsAndi Kleen1-0/+89
2020-09-16perf stat: Fix the ratio comments of miss-eventsQi Liu1-10/+10
2020-09-15perf metric: Release expr_parse_ctx after testingNamhyung Kim1-3/+5
2020-07-30perf metric: Add referenced metrics to hash dataJiri Olsa1-6/+14
2020-07-17perf metric: Rename expr__add_id() to expr__add_val()Jiri Olsa1-2/+2
2020-06-22perf tools: Add test_generic_metric functionJiri Olsa1-0/+14
2020-06-22perf tools: Factor out prepare_metric functionJiri Olsa1-19/+34
2020-05-28perf stat: Do not pass avg to generic_metricJiri Olsa1-8/+2
2020-05-28perf expr: Migrate expr ids table to a hashmapIan Rogers1-17/+32
2020-05-28perf stat: Increase perf metric output resolutionPaul A. Clarke1-1/+1
2020-05-05perf evsel: Rename perf_evsel__is_*() to evsel__is*()Arnaldo Carvalho de Melo1-18/+18
2020-04-30perf metricgroups: Enhance JSON/metric infrastructure to handle "?"Kajol Jain1-6/+11
2020-04-16perf expr: Add expr_ prefix for parse_ctx and parse_idJiri Olsa1-1/+1
2020-04-14perf stat: Fix no metric header if --per-socket and --metric-only setJin Yao1-2/+5
2020-03-09perf expr: Straighten expr__parse()/expr__find_other() interfaceJiri Olsa1-3/+1
2020-02-10perf stat: Don't report a null stalled cycles per insn metricKim Phillips1-6/+0
2019-09-25perf stat: Fix free memory access / memory leaks in metricsAndi Kleen1-2/+2
2019-08-31perf metricgroup: Support multiple events for metricgroupJin Yao1-4/+23
2019-08-31perf metricgroup: Scale the metric resultJin Yao1-11/+27
2019-07-29libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evselJiri Olsa1-15/+15
2019-07-29perf evlist: Rename struct perf_evlist to struct evlistJiri Olsa1-2/+2
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-19/+19
2019-07-23perf stat: Always separate stalled cycles per insnCong Wang1-1/+2
2019-07-09perf tools: Use zfree() where applicableArnaldo Carvalho de Melo1-1/+2
2019-07-01perf stat: Fix metrics with --no-mergeAndi Kleen1-1/+17
2019-07-01perf stat: Make metric event lookup more robustAndi Kleen1-2/+3
2019-06-10perf stat: Support per-die aggregationKan Liang1-0/+1
2019-01-25perf util: Use cached rbtree for rblistsDavidlohr Bueso1-1/+1
2018-12-17perf stat: Fix shadow stats for clock eventsRavi Bangoria1-1/+2
2018-11-21perf stat: Use perf_evsel__is_clocki() for clock eventsRavi Bangoria1-2/+1
2018-08-30perf stat: Pass a 'struct perf_stat_config' argument to global print functionsJiri Olsa1-68/+79
2018-07-24perf stat: Get rid of extra clock display functionJiri Olsa1-3/+2
2017-12-27perf stat: Remove a set of shadow stats static variablesJin Yao1-53/+15
2017-12-27perf stat: Print per-thread shadow statsJin Yao1-77/+132
2017-12-27perf stat: Update per-thread shadow statsJin Yao1-28/+58
2017-12-27perf stat: Create the runtime_stat init/exit functionJin Yao1-0/+17
2017-12-27perf stat: Extend rbtree to support per-thread shadow statsJin Yao1-0/+27
2017-12-27perf stat: Define a structure for per-thread shadow statsJin Yao1-11/+0
2017-12-05perf stat: Add rbtree node_delete opJin Yao1-1/+11
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-30perf stat: Move the shadow stats scale computation in perf_stat__update_shado...Jiri Olsa1-23/+25
2017-09-13perf stat: Support duration_time for metricsAndi Kleen1-4/+13
2017-09-13perf stat: Don't use ctx for saved values lookupAndi Kleen1-11/+5
2017-09-13perf stat: Support JSON metrics in perf statAndi Kleen1-2/+20
2017-09-13perf stat: Print generic metric header even for failed expressionsAndi Kleen1-1/+3
2017-09-13perf stat: Factor out generic metric printingAndi Kleen1-27/+42
2017-08-11perf stat: Fix saved values rbtree lookupAndi Kleen1-1/+5
2017-06-21perf stat: Add support to measure SMI costKan Liang1-0/+33
2017-03-23perf pmu: Add support for MetricName JSON attributeAndi Kleen1-1/+3
2017-03-23perf stat: Output JSON MetricExpr metricAndi Kleen1-0/+195
2016-06-06perf stat: Add computation of TopDown formulasAndi Kleen1-0/+162
2016-05-16perf stat: Update runtime using cpu-clock eventNamhyung Kim1-2/+4
2016-05-16perf stat: Fix indentation of stalled backend cycleNamhyung Kim1-1/+1
2016-03-23perf tools: Remove misplaced __maybe_unusedArnaldo Carvalho de Melo1-10/+8
2016-03-03perf stat: Check for frontend stalled for metricsAndi Kleen1-1/+8
2016-03-03perf stat: Support metrics in --per-core/socket modeAndi Kleen1-0/+7
2016-03-03perf stat: Implement CSV metrics outputAndi Kleen1-1/+1
2016-02-16perf stat: Abstract stat metrics printingAndi Kleen1-95/+116
2015-11-04perf stat: Move sw clock metrics printout to stat-shadowAndi Kleen1-0/+5
2015-07-28perf stat: Fix transaction lenght metricsAndi Kleen1-5/+3
2015-06-08perf stat: Move shadow stat counters into separate objectJiri Olsa1-0/+434