linux/tools/perf/arch/x86/util
Arnaldo Carvalho de Melo fbfb858552 perf tools: Use calloc() where applicable
Instead of using zalloc(nr_entries * sizeof_entry) that is what calloc()
does.

In some places where linux/zalloc.h isn't needed, remove it, add when
needed and was getting it indirectly.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-04-08 19:21:05 -07:00
..
auxtrace.c perf header: Refactor get_cpuid to take a CPU for ARM 2024-11-16 16:37:54 -03:00
Build perf regs: Remove __weak attributive arch_sdt_arg_parse_op() function 2026-02-06 12:16:12 -03:00
cpuid.h perf tsc: Add arch TSC frequency information 2022-07-25 12:28:00 -03:00
event.c perf sort: Use perf_env to set arch sort keys and header 2025-07-25 10:37:58 -07:00
evlist.c perf parse-events: Fix missing slots for Intel topdown metric events 2025-07-24 13:41:35 -07:00
evsel.c perf record: Add ratio-to-prev term 2025-10-03 16:49:51 -03: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 evsel: Refactor evsel__set_config_if_unset() arguments 2026-01-14 23:13:56 -03:00
iostat.c perf tools: Fix up some comments and code to properly use the event_source bus 2025-02-19 13:23:43 -08:00
machine.c
mem-events.c perf mem/c2c amd: Add ldlat support 2025-04-29 22:30:46 -03:00
mem-events.h perf mem/c2c amd: Add ldlat support 2025-04-29 22:30:46 -03:00
pmu.c perf tools: Use calloc() where applicable 2026-04-08 19:21:05 -07:00
topdown.c perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependencies 2025-11-13 23:03:11 -08:00
topdown.h perf parse-events: Fix missing slots for Intel topdown metric events 2025-07-24 13:41:35 -07:00
tsc.c perf tool_pmu: Move expr literals to tool_pmu 2024-10-10 23:40:32 -07:00
unwind-libunwind.c