2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/tools/perf/arch/x86/util
James Clark dd566687ef perf stat: Document and simplify interval timestamps
Rename 'prefix' to 'timestamp' because that's all it does, except in
iostat mode where it's slightly overloaded, but still includes a
timestamp. This reveals a problem with iostat and JSON mode so document
this.

Make it more explicit that these are printed in interval mode by
changing 'if (prefix)' to 'if (interval)' which reveals an unnecessary
'else if (... && !interval)' which can be removed.

Signed-off-by: James Clark <james.clark@linaro.org>
Tested-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20241112160048.951213-5-james.clark@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2024-12-26 12:34:21 -03:00
..
archinsn.c tools/perf: Convert to insn_decode() 2021-03-15 12:41:26 +01:00
auxtrace.c perf header: Refactor get_cpuid to take a CPU for ARM 2024-11-16 16:37:54 -03:00
Build perf x86: Define arch_fetch_insn in NO_AUXTRACE builds 2024-12-18 16:24:33 -03:00
cpuid.h perf tsc: Add arch TSC frequency information 2022-07-25 12:28:00 -03:00
event.c perf tool: Constify tool pointers 2024-08-12 18:05:14 -03:00
evlist.c perf x86/topdown: Make topdown metrics comparators be symmetric 2024-10-16 13:36:41 -07:00
evsel.c perf x86/topdown: Complete topdown slots/metrics events check 2024-09-30 15:23:43 -07:00
evsel.h perf record: Support sample-read topdown metric group for hybrid platforms 2022-06-03 21:30:10 +02:00
header.c perf header: Pass a perf_cpu rather than a PMU to get_cpuid_str 2024-11-16 16:40:30 -03:00
intel-bts.c perf auxtrace: Remove unused 'pmu' pointer from struct auxtrace_record 2024-08-28 18:15:16 -03:00
intel-pt.c perf pmu: Allow hardcoded terms to be applied to attributes 2024-10-10 23:40:32 -07:00
iostat.c perf stat: Document and simplify interval timestamps 2024-12-26 12:34:21 -03:00
kvm-stat.c perf evsel: Introduce evsel__name_is() method to check if the evsel name is equal to a given string 2023-04-24 14:28:11 -03:00
machine.c tools: Fix off-by 1 relative directory includes 2020-03-06 08:36:46 -03:00
mem-events.c perf mem: Clean up is_mem_loads_aux_event() 2024-01-24 14:05:00 -08:00
mem-events.h perf mem: Clean up perf_mem_events__name() 2024-01-24 14:04:28 -08:00
perf_regs.c perf parse-regs: Introduce a weak function arch__sample_reg_masks() 2024-02-15 13:48:36 -08:00
pmu.c perf tools: Move x86__is_amd_cpu() to util/env.c 2024-10-22 09:55:07 -07:00
topdown.c perf x86/topdown: Refine helper arch_is_topdown_metrics() 2024-10-16 13:36:47 -07:00
topdown.h perf x86/topdown: Complete topdown slots/metrics events check 2024-09-30 15:23:43 -07:00
tsc.c perf tool_pmu: Move expr literals to tool_pmu 2024-10-10 23:40:32 -07:00
unwind-libdw.c perf parse-regs: Move out arch specific header from util/perf_regs.h 2023-08-16 08:52:45 -03:00
unwind-libunwind.c perf unwind: Fix libunwind build failure on i386 systems 2019-09-26 21:59:38 +02:00