linux/tools/perf/arch/x86/util
Ian Rogers ab24487aaa perf evlist: Add reference count checking
Now the evlist is reference counted, add reference count checking so
that gets and puts are paired and easy to debug. Reference count
checking is documented here:
https://perfwiki.github.io/main/reference-count-checking/

This large patch is adding accessors to evlist functions and switching
to their use. There was some minor renaming as evlist__mmap is now an
accessor to the mmap variable, and the original evlist__mmap is
renamed to evlist__do_mmap.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alice Rogers <alice.mei.rogers@gmail.com>
Cc: Dapeng Mi <dapeng1.mi@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Leo Yan <leo.yan@linux.dev>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-06-30 10:17:11 -07:00
..
auxtrace.c perf evlist: Add reference count checking 2026-06-30 10:17:11 -07:00
Build perf unwind-libunwind: Make libunwind register reading cross platform 2026-05-15 16:18:36 -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 evlist: Add reference count checking 2026-06-30 10:17:11 -07:00
intel-pt.c perf evlist: Add reference count checking 2026-06-30 10:17:11 -07:00
iostat.c perf evlist: Add reference count checking 2026-06-30 10:17:11 -07:00
machine.c tools: Fix off-by 1 relative directory includes 2020-03-06 08:36:46 -03:00
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