aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat-display.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-11perf stat: Move metric list from config to evlistIan Rogers1-10/+6
2025-06-27perf stat: Fix uncore aggregation numberChun-Tse Shao1-17/+17
2025-05-14perf parse-events: Use wildcard processing to set an event to merge intoIan Rogers1-2/+9
2025-05-14perf evlist: Make uniquifying counter names consistentIan Rogers1-148/+1
2025-05-12perf stat: Use counter cpumask to skip zero valuesIan Rogers1-8/+13
2025-05-08perf stat: Remove print_mixed_hw_group_errorIan Rogers1-31/+0
2025-05-08perf stat: Better hybrid support for the NMI watchdog warningIan Rogers1-3/+15
2025-03-03perf stat: Fix non-uniquified hybrid legacy eventsJames Clark1-6/+6
2025-02-04perf stat: Changes to event name uniquificationIan Rogers1-33/+78
2024-12-26perf stat: Document and clarify outstate membersJames Clark1-7/+21
2024-12-26perf stat: Document and simplify interval timestampsJames Clark1-24/+21
2024-12-26perf stat: Remove empty new_line_metric functionJames Clark1-9/+4
2024-12-26perf stat: Also hide metric-units from JSON when event didn't runJames Clark1-2/+3
2024-12-26perf stat: Fix trailing comma when there is no metric unitJames Clark1-80/+97
2024-10-17perf stat: Add metric-threshold to json outputIan Rogers1-2/+20
2024-10-17perf stat: Change color to threshold in print_metricIan Rogers1-11/+29
2024-10-17perf stat: Drop metric-unit if unit is NULLIan Rogers1-2/+2
2024-10-17perf stat: Display "none" for NaN with metric only jsonIan Rogers1-4/+7
2024-10-10perf tool_pmu: Move expr literals to tool_pmuIan Rogers1-2/+6
2024-10-10perf tool_pmu: Factor tool events into their own PMUIan Rogers1-1/+5
2024-09-26perf stat: Remove evlist__add_default_attrs use stringsIan Rogers1-0/+8
2024-09-26perf stat: Uniquify event name improvementsIan Rogers1-23/+78
2024-08-16perf stat: Display iostat headers correctlyYicong Yang1-1/+2
2024-06-28perf stat: Use field separator in the metric headerNamhyung Kim1-3/+14
2024-06-28perf stat: Fix a segfault with --per-cluster --metric-onlyNamhyung Kim1-0/+3
2024-05-11perf stat: Don't display metric header for non-leader uncore eventsIan Rogers1-0/+3
2024-02-22perf stat: Fix metric-only aggregation indexIan Rogers1-2/+7
2024-02-13perf stat: Avoid metric-only segvIan Rogers1-1/+1
2024-02-09perf stat: Support per-cluster aggregationYicong Yang1-0/+13
2023-12-14perf stat: Combine the -A/--no-aggr and --no-merge optionsIan Rogers1-1/+1
2023-08-21perf stat-display: Check if snprintf()'s fmt argument is NULLKaige Ye1-2/+2
2023-08-08perf stat: Don't display zero tool countsIan Rogers1-0/+5
2023-06-16perf stat: New metricgroup output for the default modeKan Liang1-10/+98
2023-05-27perf pmus: Remove perf_pmus__has_hybridIan Rogers1-1/+1
2023-05-27perf pmu: Separate pmu and pmusIan Rogers1-1/+2
2023-05-27perf stat: Avoid hybrid PMU listIan Rogers1-4/+5
2023-05-27perf evlist: Reduce scope of evlist__has_hybridIan Rogers1-1/+14
2023-05-23perf stat: Setup the foundation to allow aggregation based on cache topologyK Prateek Nayak1-0/+17
2023-05-10perf metric: Change divide by zero and !support events behaviorIan Rogers1-1/+1
2023-04-28perf stat: Avoid SEGV on counter->nameIan Rogers1-1/+1
2023-02-19perf stat: Add cpu_aggr_map for loopIan Rogers1-54/+58
2023-02-19perf stat: Hide runtime_statIan Rogers1-3/+2
2023-02-02perf stat: Hide invalid uncore event output for aggr modeNamhyung Kim1-5/+46
2022-12-14perf stat: Update event skip condition for system-wide per-thread mode and me...Namhyung Kim1-10/+9
2022-12-14perf stat: Fix invalid output handleJames Clark1-1/+1
2022-12-14perf stat: Fix multi-line metric output in JSONNamhyung Kim1-1/+1
2022-12-14perf stat: Fix printing field separator in CSV metrics outputAthira Rajeev1-12/+1
2022-12-14perf stat: Check existence of os->prefix, fixing a segfaultIan Rogers1-1/+2
2022-12-05Revert "perf stat: Rename "aggregate-number" to "cpu-count" in JSON"Namhyung Kim1-4/+4
2022-11-24perf stat: Tidy up JSON metric-only output when no metricsNamhyung Kim1-10/+17
2022-11-24perf stat: Rename "aggregate-number" to "cpu-count" in JSONNamhyung Kim1-4/+4
2022-11-24perf stat: Fix JSON output in metric-only modeNamhyung Kim1-18/+24
2022-11-24perf stat: Pass through 'struct outstate'Namhyung Kim1-58/+44
2022-11-24perf stat: Do not pass runtime_stat to printout()Namhyung Kim1-5/+4
2022-11-24perf stat: Pass struct outstate to printout()Namhyung Kim1-20/+18
2022-11-24perf stat: Pass 'struct outstate' to print_metric_begin()Namhyung Kim1-22/+28
2022-11-24perf stat: Use 'struct outstate' in evlist__print_counters()Namhyung Kim1-11/+14
2022-11-24perf stat: Pass const char *prefix to display routinesNamhyung Kim1-9/+9
2022-11-24perf stat: Remove metric_only argument in print_counter_aggrdata()Namhyung Kim1-11/+6
2022-11-24perf stat: Remove prefix argument in print_metric_headers()Namhyung Kim1-16/+10
2022-11-24perf stat: Use scnprintf() in prepare_interval()Namhyung Kim1-10/+10
2022-11-24perf stat: Do not align time prefix in CSV outputNamhyung Kim1-3/+6
2022-11-24perf stat: Move summary prefix printing logic in CSV outputNamhyung Kim1-7/+7
2022-11-24perf stat: Fix cgroup display in JSON outputNamhyung Kim1-1/+1
2022-11-16perf stat: Add print_aggr_cgroup() for --for-each-cgroup and --topdownNamhyung Kim1-1/+40
2022-11-16perf stat: Support --for-each-cgroup and --metric-onlyNamhyung Kim1-11/+47
2022-11-16perf stat: Factor out print_metric_{begin,end}()Namhyung Kim1-22/+34
2022-11-16perf stat: Factor out prefix displayNamhyung Kim1-28/+15
2022-11-16perf stat: Move condition to print_footer()Namhyung Kim1-2/+4
2022-11-16perf stat: Rework header displayNamhyung Kim1-79/+106
2022-11-16perf stat: Remove impossible conditionNamhyung Kim1-3/+0
2022-11-16perf stat: Cleanup interval print alignmentNamhyung Kim1-74/+91
2022-11-16perf stat: Factor out prepare_interval()Namhyung Kim1-15/+24
2022-11-16perf stat: Split print_metric_headers() functionNamhyung Kim1-15/+37
2022-11-16perf stat: Align cgroup namesNamhyung Kim1-1/+1
2022-11-16perf stat: Add before_metric argumentNamhyung Kim1-40/+42
2022-11-16perf stat: Handle bad events in abs_printout()Namhyung Kim1-41/+27
2022-11-16perf stat: Factor out print_counter_value() functionNamhyung Kim1-28/+53
2022-11-16perf stat: Split aggr_printout() functionNamhyung Kim1-99/+121
2022-11-16perf stat: Split print_cgroup() functionNamhyung Kim1-2/+19
2022-11-16perf stat: Split print_noise_pct() functionNamhyung Kim1-4/+23
2022-11-16perf stat: Split print_running() functionNamhyung Kim1-10/+27
2022-11-14perf stat: Add missing separator in the CSV headerNamhyung Kim1-2/+2
2022-11-14perf stat: Fix summary output in CSV with --metric-onlyNamhyung Kim1-3/+8
2022-11-14Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo1-2/+4
2022-11-14perf stat: Consolidate condition to print metricsNamhyung Kim1-3/+1
2022-11-14perf stat: Fix condition in print_interval()Namhyung Kim1-2/+2
2022-11-14perf stat: Add header for interval in JSON outputNamhyung Kim1-0/+4
2022-11-14perf stat: Do not indent headers for JSONNamhyung Kim1-1/+1
2022-11-14perf stat: Fix --metric-only --json outputNamhyung Kim1-19/+3
2022-11-14perf stat: Move common code in print_metric_headers()Namhyung Kim1-5/+8
2022-11-14perf stat: Clear screen only if output file is a ttyNamhyung Kim1-1/+1
2022-11-14perf stat: Increase metric length to align outputsNamhyung Kim1-1/+1
2022-11-08perf stat: Fix printing os->prefix in CSV metrics outputAthira Rajeev1-1/+1
2022-11-08perf stat: Fix crash with --per-node --metric-only in CSV modeNamhyung Kim1-1/+3
2022-10-27perf stat: Display percore events properlyNamhyung Kim1-2/+25
2022-10-27perf stat: Display event stats using aggr countsNamhyung Kim1-372/+49
2022-10-27perf stat: Use evsel__is_hybrid() moreNamhyung Kim1-16/+4
2022-10-06perf stat: Fix cpu check to use id.cpu.cpu in aggr_printout()Athira Rajeev1-2/+2
2022-10-06perf stat: Rename to aggr_cpu_id.thread_idxNamhyung Kim1-6/+6
2022-10-06perf stat: Use thread map index for shadow statNamhyung Kim1-11/+9
2022-10-06perf stat: Convert perf_stat_evsel.res_stats arrayNamhyung Kim1-1/+1
2022-08-10perf stat: Add JSON output optionClaire Jensen1-106/+277
2022-07-29perf stat: Add topdown metrics in the default perf stat on the hybrid machineZhengjun Xing1-1/+1
2022-05-23perf stat: Make use of index clearer with perf_countsIan Rogers1-10/+12
2022-05-09Revert "perf stat: Support metrics with hybrid events"Ian Rogers1-5/+3
2022-05-03perf stat: Avoid printing cpus with no countersIan Rogers1-3/+4
2022-04-22perf stat: Merge event counts from all hybrid PMUsZhengjun Xing1-2/+15
2022-04-22perf stat: Support metrics with hybrid eventsZhengjun Xing1-3/+5
2022-04-01perf evlist: Rename cpus to user_requested_cpusIan Rogers1-1/+1
2022-02-06perf stat: Fix display of grouped aliased eventsIan Rogers1-9/+10
2022-01-12perf cpumap: Give CPUs their own typeIan Rogers1-14/+20
2022-01-12perf stat: Correct first_shadow_cpu to return indexIan Rogers1-8/+7
2022-01-12perf stat: Use perf_cpu_map__for_each_cpu()Ian Rogers1-5/+6
2022-01-12perf stat: Rename aggr_data cpu to imply it's an indexIan Rogers1-5/+5
2022-01-12perf stat-display: Avoid use of core for CPUIan Rogers1-23/+22
2022-01-12perf cpumap: Rename empty functionsIan Rogers1-5/+5
2022-01-12perf cpumap: Simplify equal function nameIan Rogers1-8/+10
2022-01-12perf stat: Switch to cpu version of cpu_map__get()Ian Rogers1-7/+4
2022-01-12perf stat: Switch aggregation to use for_each loopIan Rogers1-21/+27
2022-01-12perf stat: Correct aggregation CPU mapIan Rogers1-1/+1
2021-07-14perf stat: Merge uncore events by default for hybrid platformJin Yao1-1/+13
2021-07-07perf stat: Disable the NMI watchdog message on hybridJin Yao1-3/+6
2021-06-22Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo1-5/+3
2021-06-04perf stat: Honor event config name on --no-mergeNamhyung Kim1-5/+3
2021-05-12perf stat: Use aggregated counts directlyNamhyung Kim1-4/+4
2021-04-29perf stat: Filter out unmatched aggregation for hybrid eventJin Yao1-0/+3
2021-04-29perf stat: Uniquify hybrid event nameJin Yao1-2/+13
2021-04-20perf stat: Basic support for iostat in perfAlexander Antonov1-10/+30
2021-03-24perf stat: Align CSV output for summary modeJin Yao1-0/+6
2021-03-06perf tools: Cast (struct timeval).tv_sec when printingPierre Gondois1-1/+1
2021-01-20perf stat: Enable counting events for BPF programsSong Liu1-1/+3
2020-12-24perf stat aggregation: Add separate thread memberJames Clark1-4/+4
2020-12-24perf stat aggregation: Add separate core memberJames Clark1-8/+8
2020-12-24perf stat aggregation: Add separate die memberJames Clark1-3/+3
2020-12-24perf stat aggregation: Add separate socket memberJames Clark1-4/+4
2020-12-24perf stat aggregation: Add separate node memberJames Clark1-1/+1
2020-12-24perf stat aggregation: Start using cpu_aggr_id in mapJames Clark1-3/+3
2020-12-24perf stat: Replace aggregation ID with a structJames Clark1-44/+64
2020-11-30perf evlist: Use the right prefix for 'struct evlist' print methodsArnaldo Carvalho de Melo1-6/+2
2020-11-27perf stat: Use proper cpu for shadow statsNamhyung Kim1-4/+1
2020-09-10perf stat: Remove dead code: no need to set os.evsel twiceIan Rogers1-1/+0
2020-09-01perf stat: Fix out of bounds array access in the print_counters() evlist methodThomas Richter1-1/+1
2020-06-09perf stat: Fix NULL pointer dereferenceHongbo Yao1-2/+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__*name() to *evsel__*name()Arnaldo Carvalho de Melo1-5/+4
2020-05-05perf evsel: Rename perf_evsel__nr_cpus() to evsel__nr_cpus()Arnaldo Carvalho de Melo1-5/+5
2020-04-30perf tools: Enable Hz/hz prinitg for --metric-only optionKajol Jain1-2/+0
2020-03-24perf stat: Align the output for interval aggregation modeJin Yao1-3/+3
2020-03-10perf util: Factor out sysctl__nmi_watchdog_enabled()Kan Liang1-4/+2
2020-03-04perf stat: Show percore counts in per CPU outputJin Yao1-5/+28
2019-11-06perf stat: Add --per-node agregation supportJiri Olsa1-0/+15
2019-08-31perf auxtrace: Uninline functions that touch perf_sessionArnaldo Carvalho de Melo1-0/+1
2019-08-26perf tools: Remove duplicate headersSouptick Joarder1-1/+0
2019-08-22libperf: Add perf_thread_map__nr/perf_thread_map__pid functionsJiri Olsa1-2/+2
2019-08-22perf stat: Add missing counts.hArnaldo Carvalho de Melo1-0/+1
2019-08-22perf tools: Use perf_cpu_map__nr instead of cpu_map__nrJiri Olsa1-1/+1
2019-07-29libperf: Move nr_members from perf's evsel to libperf's perf_evselJiri Olsa1-1/+1
2019-07-29libperf: Add cpus to struct perf_evlistJiri Olsa1-3/+3
2019-07-29libperf: Add threads to struct perf_evselJiri Olsa1-3/+3
2019-07-29libperf: Add cpus to struct perf_evselJiri Olsa1-1/+1
2019-07-29libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evselJiri Olsa1-4/+4
2019-07-29libperf: Include perf_evlist in evlist objectJiri Olsa1-2/+2
2019-07-29libperf: Include perf_evsel in evsel objectJiri Olsa1-2/+2
2019-07-29libperf: Add perf_thread_map__get()/perf_thread_map__put()Jiri Olsa1-1/+1
2019-07-29perf evsel: Rename perf_evsel__cpus() to evsel__cpus()Jiri Olsa1-3/+3
2019-07-29perf evlist: Rename struct perf_evlist to struct evlistJiri Olsa1-9/+9
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-30/+30
2019-07-01perf stat: Don't merge events in the same PMUAndi Kleen1-1/+2
2019-06-26perf tools: Ditch rtrim(), use skip_spaces() to get closer to the kernelArnaldo Carvalho de Melo1-2/+2
2019-06-25perf stat: Use recently introduced skip_spaces()Arnaldo Carvalho de Melo1-3/+2
2019-06-25tools perf: Move from sane_ctype.h obtained from git to the Linux's originalArnaldo Carvalho de Melo1-1/+1
2019-06-10perf stat: Support per-die aggregationKan Liang1-4/+25
2019-05-16perf stat: Support 'percore' event qualifierJin Yao1-4/+39
2019-05-16perf stat: Factor out aggregate counts printingJin Yao1-25/+39
2019-04-01perf stat: Revert checks for duration_timeAndi Kleen1-18/+0
2019-01-25perf annotate: Remove lots of headers from annotate.hArnaldo Carvalho de Melo1-0/+1
2018-12-17perf stat: Fix CSV mode column output for non-cgroup eventsStephane Eranian1-5/+11
2018-08-30perf stat: Move the display functions to stat-display.cJiri Olsa1-0/+1166