projects/linux·commit 05d2a3da

Merge tag 'perf-tools-for-v7.2-1-2026-06-22' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools

05d2a3da · Linus Torvalds <[email protected]> · 2026-06-23 11:34:49 -07:00

Pull perf tools updates from Arnaldo Carvalho de Melo:

 - Introduce 'perf inject --aslr' to remap ASLR-randomized addresses in
   perf.data files, enabling reproducible analysis across runs with
   different address space layouts

 - Refactor evsel out of sample processing paths: store evsel in struct
   perf_sample and remove the redundant evsel parameter from tool APIs,
   tracepoint handlers, hist entry iterators, and db-export, simplifying
   the entire tool callback chain

 - Switch architecture detection from string-based perf_env__arch()
   comparisons to the numeric ELF e_machine field across the codebase
   (capstone, print_insn, c2c, lock-contention, sort, sample-raw,
   machine, header), making cross-analysis more robust

 - Overhaul ARM CoreSight ETM tests: add deterministic and named_threads
   workloads, speed up basic and disassembly tests, add process
   attribution and concurrent threads tests, remove unused workloads and
   duplicate tests, queue context packets for the frontend decoder

 - Add ARM SPE IMPDEF event decoding for Arm Neoverse N1, store MIDR in
   arm_spe_pkt for per-CPU event mapping, handle missing CPU IDs
   gracefully

 - Refactor libunwind support: remove the libunwind-local backend, make
   register reading cross-platform, add RISC-V libunwind support, allow
   dynamic selection between libdw and libunwind unwinding at runtime

 - Extensive hardening of perf.data parsing against crafted files: add
   bounds checks and byte-swap validation for session records, feature
   sections, header attributes, BPF metadata, auxtrace errors,
   compressed events, CPU maps, build ID notes, and ELF program headers.
   Add minimum event size validation and file offset diagnostics

 - Fix libdw API contract violations across dwarf-aux, libdw,
   probe-finder, annotate-data, and debuginfo subsystems. Fix callchain
   parent update in ORDER_CALLER mode, support DWARF line 0 in inline
   lists, handle multiple address spaces in callchains

 - Fix numerous 'perf sched' bugs: thread reference leaks, memory leaks,
   heap overflows with cross-machine recordings, NULL dereferences,
   replace BUG_ON assertions with graceful error handling, bounds-check
   CPU indices, fix SIGCHLD vs pause() races in sched stats

 - Overhaul the build system: move BPF skeleton generation out of
   Makefile.perf into bpf_skel.mak, decouple pmu-events from the prepare
   target, make beauty generated C code standalone .o files, compile BPF
   skeletons with -mcpu=v3, fix continuous rebuilds, various cleanups

 - Add 'perf test' JUnit XML reporting with -j/--junit option, split
   monolithic test suites into sub-tests, add summary reporting,
   refactor parallel poll loop, fix test failures on musl-based systems

 - Fix 'perf c2c' memory leaks in hist entry and format list handling,
   use-after-free in error paths, bounds-check CPU and node IDs

 - Fix 'perf bpf' metadata leaks on duplicate insert and alloc failure,
   bounds-check array offsets, validate event sizes and func_info
   fields, add NULL checks

 - Fix hwmon PMU: off-by-one null termination on sysfs reads, strlcpy
   buffer overflow in parse_hwmon_filename(), fd 0 check, empty label
   reads, scnprintf usage

 - Fix symbols subsystem: bounds-check ELF and sysfs build ID note
   iteration, validate p_filesz, fix 32-bit ELF bswap error, fix signed
   overflow in size checks, bounds-check .gnu_debuglink section

 - Fix tools lib api: null termination in filename__read_int/ull(),
   uninitialized stack data in filename__write_int(), snprintf
   truncation in mount_overload()

 - Replace libbabeltrace with babeltrace2-ctf-writer for CTF conversion
   in 'perf data'

 - Add RISC-V SDT argument parsing for static tracepoints

 - Add 'perf trace --show-cpu' option to display CPU id

 - Add 'perf bench sched pipe --write-size' option

 - Add a perf-specific .clang-format that overrides some kernel style
   behaviors

 - Update Intel vendor events for Alder Lake, Arrow Lake, Clearwater
   Forest, Emerald Rapids, Granite Rapids, Grand Ridge, Lunar Lake,
   Meteor Lake, Panther Lake, Sapphire Rapids, Sierra Forest

 - Add IOMMU metrics for AMD and Intel

 - Fix AMD event: switch l2_itlb_misses to
   bp_l1_tlb_miss_l2_tlb_miss.all

 - Add AMD IBS improvements: decode Streaming-store and Remote-Socket
   flags, suppress bogus fields on Zen4+, skip privilege test on Zen6+

 - Fix 'perf lock contention' SIGCHLD vs pause() race, allow 'mmap_lock'
   in -L filter, enable end-timestamp for cgroup aggregation, fix
   non-atomic data updates

 - Fix 'perf stat' false NMI watchdog warning in aggregation modes,
   bounds-check CPU index in topology callbacks, add aggr_nr metric
   parser support for uncore scaling

 - Fix 'perf timechart' memory leaks, CPU bounds checking,
   use-after-free on corrupted callchains

 - Fix 'perf inject' itrace branch stack synthesis, fix synthesized
   sample size with branch stacks

 - Fix DSO heap overflow on decompressed paths, uninitialized pathname
   on fallback, set proper error codes

 - Fix various snprintf/scnprintf usages to prevent buffer overflows and
   truncation across the codebase

 - Fix off-by-one stack buffer overflow in kallsyms__parse()

 - Fix 'perf kwork' memory management, address sanitizer issues, bounds
   check work->cpu

 - Fix 'perf tpebs' concurrent stop races and PID reuse hazards

 - Add O_CLOEXEC to open() calls and use mkostemp() for temporary files
   to prevent file descriptor leaks to child processes

 - Fix s390 Python extension TEXTREL by compiling as PIC

 - Fix build with ASAN for jitdump

 - Fix build failure due to btf_vlen() return type change

* tag 'perf-tools-for-v7.2-1-2026-06-22' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (343 commits)
  perf bpf: Fix up build failure due to change of btf_vlen() return type
  perf dso: Set standard errno on decompression failure
  perf bpf: Validate array presence before casting BPF prog info pointers
  perf c2c: Fix hist entry and format list leaks in c2c_he_free()
  perf c2c: Free format list entries when c2c_hists__init() fails
  perf cs-etm: Bounds-check CPU in cs_etm__get_queue()
  perf cs-etm: Require full global header in auxtrace_info size check
  perf cs-etm: Validate num_cpu before metadata allocation
  perf machine: Use snprintf() for guestmount path construction
  perf machine: Propagate machine__init() error to callers
  perf trace: Guard __probe_ip suppression with evsel__is_probe()
  perf evsel: Add lazy-initialized probe type detection helpers
  perf evsel: Add no-libtraceevent stubs for evsel__field() and evsel__common_field()
  perf cs-etm: Reject CPU IDs that would overflow signed comparison
  perf c2c: Free format list entries when releasing c2c hist entries
  perf bpf: Bounds-check array offsets in bpil_offs_to_addr()
  perf bpf: Reject oversized BPF metadata events that truncate header.size
  perf bpf: Validate func_info_rec_size and sub_id in synthesize_bpf_prog_name()
  perf sched: Replace (void*)1 sentinel with proper runtime allocation
  perf hwmon: Fix fd check to accept fd 0 in hwmon_pmu__describe_items()
  ...
Commit
05d2a3da153bc08c5fe7937584b5d86505747b9e
Parents
f31c00c3 · 3287a188

Merge commit. Changes below are compared with the first parent: f31c00c3.

Changes

392 files changed · +36587 −9669

FileStatusAddDelContent
Documentation/trace/coresight/coresight-perf.rstmodified+3−75View file
MAINTAINERSmodified+0−2View file
tools/arch/x86/include/asm/amd/ibs.hmodified+3−1View file
tools/build/Makefile.featuremodified+14−3View file
tools/build/feature/Makefilemodified+28−31View file
tools/build/feature/test-all.cmodified+3−3View file
tools/build/feature/test-libbabeltrace.c → tools/build/feature/test-babeltrace2-ctf-writer.crenamed+1−2View file
tools/build/feature/test-libunwind-aarch64.cdeleted+0−27View before deletion
tools/build/feature/test-libunwind-arm.cdeleted+0−28View before deletion
tools/build/feature/test-libunwind-debug-frame-aarch64.cdeleted+0−17View before deletion
tools/build/feature/test-libunwind-debug-frame-arm.cdeleted+0−17View before deletion
tools/build/feature/test-libunwind-debug-frame.cmodified+0−1View file
tools/build/feature/test-libunwind-x86.cdeleted+0−28View before deletion
tools/build/feature/test-libunwind-x86_64.cdeleted+0−28View before deletion
tools/build/feature/test-libunwind.cmodified+0−1View file
tools/lib/api/fs/fs.cmodified+13−6View file
tools/lib/perf/TODOadded+30−0View file
tools/lib/perf/include/perf/cpumap.hmodified+7−1View file
tools/lib/perf/include/perf/event.hmodified+8−1View file
tools/lib/subcmd/run-command.cmodified+65−4View file
tools/lib/symbol/kallsyms.cmodified+4−1View file
tools/perf/.clang-formatadded+20−0View file
tools/perf/.gitignoremodified+1−0View file
tools/perf/Buildmodified+2−0View file
tools/perf/Documentation/perf-amd-ibs.txtmodified+39−0View file
tools/perf/Documentation/perf-test.txtmodified+20−4View file
tools/perf/Documentation/perf-trace.txtmodified+3−0View file
tools/perf/Documentation/perf.data-file-format.txtmodified+15−1View file
tools/perf/Makefile.configmodified+120−146View file
tools/perf/Makefile.perfmodified+34−421View file
tools/perf/arch/arm/util/Buildmodified+0−2View file
tools/perf/arch/arm/util/cs-etm.cmodified+14−12View file
tools/perf/arch/arm/util/unwind-libunwind.cdeleted+0−50View before deletion
tools/perf/arch/arm64/util/Buildmodified+0−2View file
tools/perf/arch/arm64/util/arm-spe.cmodified+2−1View file
tools/perf/arch/arm64/util/machine.cdeleted+0−12View before deletion
tools/perf/arch/arm64/util/unwind-libunwind.cdeleted+0−17View before deletion
tools/perf/arch/common.cmodified+70−22View file
tools/perf/arch/loongarch/util/Buildmodified+0−2View file
tools/perf/arch/loongarch/util/unwind-libunwind.cdeleted+0−82View before deletion
tools/perf/arch/mips/Builddeleted+0−1View before deletion
tools/perf/arch/mips/util/Builddeleted+0−1View before deletion
tools/perf/arch/mips/util/unwind-libunwind.cdeleted+0−22View before deletion
tools/perf/arch/powerpc/include/dwarf-regs-table.hmodified+1−0View file
tools/perf/arch/powerpc/util/Buildmodified+0−1View file
tools/perf/arch/powerpc/util/auxtrace.cmodified+6−0View file
tools/perf/arch/powerpc/util/unwind-libunwind.cdeleted+0−92View before deletion
tools/perf/arch/riscv/include/dwarf-regs-table.hmodified+2−1View file
tools/perf/arch/riscv/util/header.cmodified+1−1View file
tools/perf/arch/s390/include/dwarf-regs-table.hmodified+1−0View file
tools/perf/arch/x86/tests/amd-ibs-period.cmodified+1−1View file
tools/perf/arch/x86/tests/topdown.cmodified+165−1View file
tools/perf/arch/x86/util/Buildmodified+0−3View file
tools/perf/arch/x86/util/intel-bts.cmodified+12−8View file
tools/perf/arch/x86/util/intel-pt.cmodified+16−13View file
tools/perf/arch/x86/util/unwind-libunwind.cdeleted+0−115View before deletion
tools/perf/bench/Buildmodified+6−0View file
tools/perf/util/bpf_skel/bench_uprobe.bpf.c → tools/perf/bench/bpf_skel/bench_uprobe.bpf.crenamed+0−0View file
tools/perf/bench/inject-buildid.cmodified+6−3View file
tools/perf/bench/sched-pipe.cmodified+116−13View file
tools/perf/bench/uprobe.cmodified+1−1View file
tools/perf/bpf_skel.makadded+109−0View file
tools/perf/builtin-annotate.cmodified+22−23View file
tools/perf/builtin-buildid-list.cmodified+2−2View file
tools/perf/builtin-c2c.cmodified+53−26View file
tools/perf/builtin-check.cmodified+1−1View file
tools/perf/builtin-data.cmodified+4−14View file
tools/perf/builtin-diff.cmodified+9−7View file
tools/perf/builtin-inject.cmodified+270−65View file
tools/perf/builtin-kmem.cmodified+62−39View file
tools/perf/builtin-kvm.cmodified+15−16View file
tools/perf/builtin-kwork.cmodified+195−105View file
tools/perf/builtin-lock.cmodified+75−71View file
tools/perf/builtin-mem.cmodified+0−1View file
tools/perf/builtin-record.cmodified+13−9View file
tools/perf/builtin-report.cmodified+30−26View file
tools/perf/builtin-sched.cmodified+394−191View file
tools/perf/builtin-script.cmodified+87−70View file
tools/perf/builtin-stat.cmodified+28−22View file
tools/perf/builtin-timechart.cmodified+127−82View file
tools/perf/builtin-top.cmodified+13−13View file
tools/perf/builtin-trace.cmodified+149−89View file
tools/perf/pmu-events/Buildmodified+20−6View file
tools/perf/pmu-events/amd_metrics.pymodified+58−1View file
tools/perf/pmu-events/arch/x86/alderlake/cache.jsonmodified+85−0View file
tools/perf/pmu-events/arch/x86/alderlake/memory.jsonmodified+64−0View file
tools/perf/pmu-events/arch/x86/alderlake/pipeline.jsonmodified+54−0View file
tools/perf/pmu-events/arch/x86/alderlake/virtual-memory.jsonmodified+9−0View file
tools/perf/pmu-events/arch/x86/alderlaken/cache.jsonmodified+50−0View file
tools/perf/pmu-events/arch/x86/alderlaken/memory.jsonmodified+57−0View file
tools/perf/pmu-events/arch/x86/alderlaken/pipeline.jsonmodified+48−0View file
tools/perf/pmu-events/arch/x86/alderlaken/virtual-memory.jsonmodified+8−0View file
tools/perf/pmu-events/arch/x86/arrowlake/cache.jsonmodified+53−0View file
tools/perf/pmu-events/arch/x86/arrowlake/floating-point.jsonmodified+9−0View file
tools/perf/pmu-events/arch/x86/arrowlake/pipeline.jsonmodified+47−1View file
tools/perf/pmu-events/arch/x86/clearwaterforest/cache.jsonmodified+493−32View file
tools/perf/pmu-events/arch/x86/clearwaterforest/counter.jsonmodified+77−2View file
tools/perf/pmu-events/arch/x86/clearwaterforest/cwf-metrics.jsonadded+310−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/floating-point.jsonadded+191−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/frontend.jsonmodified+226−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/memory.jsonmodified+92−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/other.jsonadded+20−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/pipeline.jsonmodified+817−12View file
tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-cache.jsonadded+3413−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-cxl.jsonadded+31−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-interconnect.jsonadded+1625−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-io.jsonadded+1925−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-memory.jsonadded+883−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-power.jsonadded+109−0View file
tools/perf/pmu-events/arch/x86/clearwaterforest/virtual-memory.jsonmodified+94−0View file
tools/perf/pmu-events/arch/x86/emeraldrapids/cache.jsonmodified+18−0View file
tools/perf/pmu-events/arch/x86/grandridge/cache.jsonmodified+56−0View file
tools/perf/pmu-events/arch/x86/grandridge/floating-point.jsonmodified+8−0View file
tools/perf/pmu-events/arch/x86/grandridge/frontend.jsonmodified+64−0View file
tools/perf/pmu-events/arch/x86/grandridge/pipeline.jsonmodified+15−0View file
tools/perf/pmu-events/arch/x86/grandridge/uncore-io.jsonmodified+7−8View file
tools/perf/pmu-events/arch/x86/grandridge/uncore-memory.jsonmodified+16−16View file
tools/perf/pmu-events/arch/x86/graniterapids/cache.jsonmodified+9−0View file
tools/perf/pmu-events/arch/x86/lunarlake/cache.jsonmodified+20−0View file
tools/perf/pmu-events/arch/x86/lunarlake/pipeline.jsonmodified+9−0View file
tools/perf/pmu-events/arch/x86/mapfile.csvmodified+12−12View file
tools/perf/pmu-events/arch/x86/meteorlake/cache.jsonmodified+55−0View file
tools/perf/pmu-events/arch/x86/meteorlake/floating-point.jsonmodified+63−0View file
tools/perf/pmu-events/arch/x86/meteorlake/memory.jsonmodified+64−0View file
tools/perf/pmu-events/arch/x86/meteorlake/pipeline.jsonmodified+158−0View file
tools/perf/pmu-events/arch/x86/meteorlake/virtual-memory.jsonmodified+9−0View file
tools/perf/pmu-events/arch/x86/pantherlake/cache.jsonmodified+134−18View file
tools/perf/pmu-events/arch/x86/pantherlake/frontend.jsonmodified+60−0View file
tools/perf/pmu-events/arch/x86/pantherlake/memory.jsonmodified+29−0View file
tools/perf/pmu-events/arch/x86/pantherlake/other.jsonmodified+10−0View file
tools/perf/pmu-events/arch/x86/pantherlake/pipeline.jsonmodified+228−3View file
tools/perf/pmu-events/arch/x86/sapphirerapids/cache.jsonmodified+27−0View file
tools/perf/pmu-events/arch/x86/sierraforest/cache.jsonmodified+49−0View file
tools/perf/pmu-events/arch/x86/sierraforest/floating-point.jsonmodified+64−0View file
tools/perf/pmu-events/arch/x86/sierraforest/memory.jsonmodified+57−0View file
tools/perf/pmu-events/arch/x86/sierraforest/pipeline.jsonmodified+156−0View file
tools/perf/pmu-events/arch/x86/sierraforest/virtual-memory.jsonmodified+8−0View file
tools/perf/pmu-events/empty-pmu-events.cmodified+5743−3078View file
tools/perf/pmu-events/intel_metrics.pymodified+65−3View file
tools/perf/pmu-events/jevents.pymodified+468−402View file
tools/perf/pmu-events/metric.pymodified+7−3View file
tools/perf/pmu-events/pmu-events.hmodified+5−0View file
tools/perf/scripts/python/arm-cs-trace-disasm.pymodified+10−10View file
tools/perf/tests/Buildmodified+1−0View file
tools/perf/tests/builtin-test.cmodified+955−24View file
tools/perf/tests/code-reading.cmodified+5−2View file
tools/perf/tests/dlfilter-test.cmodified+6−2View file
tools/perf/tests/hists_cumulate.cmodified+3−3View file
tools/perf/tests/hists_filter.cmodified+3−3View file
tools/perf/tests/hists_link.cmodified+3−2View file
tools/perf/tests/hists_output.cmodified+3−3View file
tools/perf/tests/hwmon_pmu.cmodified+12−7View file
tools/perf/tests/kallsyms-split.cmodified+5−2View file
tools/perf/tests/makemodified+3−7View file
tools/perf/tests/mmap-basic.cmodified+14−8View file
tools/perf/tests/openat-syscall-tp-fields.cmodified+5−2View file
tools/perf/tests/parse-no-sample-id-all.cmodified+6−0View file
tools/perf/tests/pmu-events.cmodified+170−10View file
tools/perf/tests/pmu.cmodified+9−2View file
tools/perf/tests/sample-parsing.cmodified+3−2View file
tools/perf/tests/shell/amd-ibs-swfilt.shmodified+33−4View file
tools/perf/tests/shell/coresight/Makefiledeleted+0−29View before deletion
tools/perf/tests/shell/coresight/Makefile.miniconfigdeleted+0−14View before deletion
tools/perf/tests/shell/coresight/asm_pure_loop.shdeleted+0−22View before deletion
tools/perf/tests/shell/coresight/asm_pure_loop/.gitignoredeleted+0−1View before deletion
tools/perf/tests/shell/coresight/asm_pure_loop/Makefiledeleted+0−34View before deletion
tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.Sdeleted+0−30View before deletion
tools/perf/tests/shell/coresight/concurrent_threads.shadded+45−0View file
tools/perf/tests/shell/coresight/context_switch_thread.shadded+69−0View file
tools/perf/tests/shell/coresight/deterministic.shadded+72−0View file
tools/perf/tests/shell/coresight/memcpy_thread/.gitignoredeleted+0−1View before deletion
tools/perf/tests/shell/coresight/memcpy_thread/Makefiledeleted+0−33View before deletion
tools/perf/tests/shell/coresight/memcpy_thread/memcpy_thread.cdeleted+0−80View before deletion
tools/perf/tests/shell/coresight/memcpy_thread_16k_10.shdeleted+0−22View before deletion
tools/perf/tests/shell/coresight/raw_dump_stress.shadded+65−0View file
tools/perf/tests/shell/test_arm_coresight.sh → tools/perf/tests/shell/coresight/test_arm_coresight.shrenamed+16−27View file
tools/perf/tests/shell/test_arm_coresight_disasm.sh → tools/perf/tests/shell/coresight/test_arm_coresight_disasm.shrenamed+11−12View file
tools/perf/tests/shell/coresight/thread_loop/.gitignoredeleted+0−1View before deletion
tools/perf/tests/shell/coresight/thread_loop/Makefiledeleted+0−33View before deletion
tools/perf/tests/shell/coresight/thread_loop/thread_loop.cdeleted+0−85View before deletion
tools/perf/tests/shell/coresight/thread_loop_check_tid_10.shdeleted+0−23View before deletion
tools/perf/tests/shell/coresight/thread_loop_check_tid_2.shdeleted+0−23View before deletion
tools/perf/tests/shell/coresight/unroll_loop_thread/.gitignoredeleted+0−1View before deletion
tools/perf/tests/shell/coresight/unroll_loop_thread/Makefiledeleted+0−33View before deletion
tools/perf/tests/shell/coresight/unroll_loop_thread/unroll_loop_thread.cdeleted+0−75View before deletion
tools/perf/tests/shell/coresight/unroll_loop_thread_10.shdeleted+0−22View before deletion
tools/perf/tests/shell/data_file_offset_diagnostics.shadded+91−0View file
tools/perf/tests/shell/data_validation.shadded+86−0View file
tools/perf/tests/shell/ftrace.shmodified+4−3View file
tools/perf/tests/shell/inject_aslr.shadded+533−0View file
tools/perf/tests/shell/lib/coresight.shdeleted+0−134View before deletion
tools/perf/tests/shell/lock_contention.shmodified+11−0View file
tools/perf/tests/shell/stat.shmodified+53−0View file
tools/perf/tests/shell/stat_metrics_cgrp.shadded+200−0View file
tools/perf/tests/shell/test_intel_pt.shmodified+3−166View file
tools/perf/tests/shell/test_perf_data_converter_ctf.shmodified+4−4View file
tools/perf/tests/shell/test_test_junit_output.shadded+63−0View file
tools/perf/tests/shell/trace_summary.shmodified+1−1View file
tools/perf/tests/switch-tracking.cmodified+6−3View file
tools/perf/tests/symbols.cmodified+1−1View file
tools/perf/tests/tests-scripts.cmodified+47−35View file
tools/perf/tests/tests.hmodified+7−0View file
tools/perf/tests/thread-maps-share.cmodified+1−1View file
tools/perf/tests/topology.cmodified+6−2View file
tools/perf/tests/uncore-event-sorting.cadded+176−0View file
tools/perf/tests/util.cmodified+17−3View file
tools/perf/tests/vmlinux-kallsyms.cmodified+6−4View file
tools/perf/tests/workloads/Buildmodified+6−0View file
tools/perf/tests/workloads/context_switch_loop.cadded+110−0View file
tools/perf/tests/workloads/deterministic.cadded+39−0View file
tools/perf/tests/workloads/jitdump.cadded+210−0View file
tools/perf/tests/workloads/leafloop.cmodified+31−9View file
tools/perf/tests/workloads/named_threads.cadded+109−0View file
tools/perf/trace/beauty/Buildmodified+284−0View file
tools/perf/trace/beauty/arch_errno_names.cmodified+2−0View file
tools/perf/trace/beauty/arch_errno_names.shmodified+48−5View file
tools/perf/trace/beauty/beauty.hmodified+60−0View file
tools/perf/trace/beauty/eventfd.cmodified+3−3View file
tools/perf/trace/beauty/fcntl.cmodified+16−0View file
tools/perf/trace/beauty/fsconfig.cadded+5−0View file
tools/perf/trace/beauty/futex_op.cmodified+2−3View file
tools/perf/trace/beauty/futex_val3.cmodified+2−3View file
tools/perf/trace/beauty/mmap.cmodified+11−13View file
tools/perf/trace/beauty/mode_t.cmodified+3−3View file
tools/perf/trace/beauty/msg_flags.cmodified+4−4View file
tools/perf/trace/beauty/open_flags.cmodified+2−0View file
tools/perf/trace/beauty/perf_event_open.cmodified+31−11View file
tools/perf/trace/beauty/pid.cmodified+4−1View file
tools/perf/trace/beauty/sched_policy.cmodified+4−4View file
tools/perf/trace/beauty/seccomp.cmodified+6−6View file
tools/perf/trace/beauty/signum.cmodified+3−3View file
tools/perf/trace/beauty/socket_type.cmodified+3−3View file
tools/perf/util/syscalltbl.c → tools/perf/trace/beauty/syscalltbl.crenamed+0−0View file
tools/perf/util/syscalltbl.h → tools/perf/trace/beauty/syscalltbl.hrenamed+0−0View file
tools/perf/trace/beauty/tracepoints/Buildmodified+21−0View file
tools/perf/trace/beauty/waitid_options.cmodified+4−4View file
tools/perf/ui/browser.cmodified+3−0View file
tools/perf/ui/browsers/annotate.cmodified+5−2View file
tools/perf/ui/browsers/map.cmodified+2−2View file
tools/perf/util/Buildmodified+20−5View file
tools/perf/util/amd-sample-raw.cmodified+80−7View file
tools/perf/util/annotate-data.cmodified+17−10View file
tools/perf/util/annotate.cmodified+12−12View file
tools/perf/util/annotate.hmodified+2−4View file
tools/perf/util/arm-spe-decoder/Buildmodified+2−0View file
tools/perf/util/arm-spe-decoder/arm-spe-decoder.cmodified+10−7View file
tools/perf/util/arm-spe-decoder/arm-spe-decoder.hmodified+1−2View file
tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.cmodified+99−45View file
tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.hmodified+3−2View file
tools/perf/util/arm-spe.cmodified+68−24View file
tools/perf/util/arm64-frame-pointer-unwind-support.cmodified+6−0View file
tools/perf/util/arm64-frame-pointer-unwind-support.hmodified+2−0View file
tools/perf/util/aslr.cadded+1409−0View file
tools/perf/util/aslr.hadded+44−0View file
tools/perf/util/auxtrace.cmodified+40−8View file
tools/perf/util/bpf-event.cmodified+41−11View file
tools/perf/util/bpf-event.hmodified+2−2View file
tools/perf/util/bpf-trace-summary.cmodified+1−1View file
tools/perf/util/bpf-utils.cmodified+16−0View file
tools/perf/util/bpf_counter_cgroup.cmodified+20−0View file
tools/perf/util/bpf_kwork.cmodified+10−4View file
tools/perf/util/bpf_lock_contention.cmodified+10−3View file
tools/perf/util/bpf_skel/lock_contention.bpf.cmodified+71−8View file
tools/perf/util/bpf_skel/lock_data.hmodified+1−0View file
tools/perf/util/btf.cmodified+1−1View file
tools/perf/util/build-id.cmodified+9−6View file
tools/perf/util/build-id.hmodified+1−6View file
tools/perf/util/callchain.cmodified+21−6View file
tools/perf/util/callchain.hmodified+3−6View file
tools/perf/util/capstone.cmodified+88−44View file
tools/perf/util/config.cmodified+4−0View file
tools/perf/util/cpumap.cmodified+81−30View file
tools/perf/util/cs-etm-base.cmodified+3−1View file
tools/perf/util/cs-etm-decoder/cs-etm-decoder.cmodified+16−5View file
tools/perf/util/cs-etm.cmodified+208−104View file
tools/perf/util/cs-etm.hmodified+6−2View file
tools/perf/util/data-convert-bt.cmodified+18−19View file
tools/perf/util/data-convert-json.cmodified+7−5View file
tools/perf/util/data-convert.hmodified+2−2View file
tools/perf/util/db-export.cmodified+5−8View file
tools/perf/util/db-export.hmodified+1−2View file
tools/perf/util/debuginfo.cmodified+6−3View file
tools/perf/util/disasm.cmodified+5−2View file
tools/perf/util/dlfilter.cmodified+1−1View file
tools/perf/util/dso.cmodified+53−14View file
tools/perf/util/dso.hmodified+12−2View file
tools/perf/util/dwarf-aux.cmodified+19−20View file
tools/perf/util/dwarf-aux.hmodified+5−0View file
tools/perf/util/env.cmodified+305−73View file
tools/perf/util/env.hmodified+22−5View file
tools/perf/util/event.cmodified+13−2View file
tools/perf/util/evlist.cmodified+8−2View file
tools/perf/util/evsel.cmodified+314−85View file
tools/perf/util/evsel.hmodified+47−10View file
tools/perf/util/evsel_fprintf.cmodified+3−3View file
tools/perf/util/expr.cmodified+22−4View file
tools/perf/util/expr.hmodified+5−1View file
tools/perf/util/expr.lmodified+1−0View file
tools/perf/util/expr.ymodified+17−7View file
tools/perf/util/header.cmodified+621−62View file
tools/perf/util/hist.cmodified+18−17View file
tools/perf/util/hist.hmodified+2−2View file
tools/perf/util/hwmon_pmu.cmodified+20−16View file
tools/perf/util/intel-bts.cmodified+2−1View file
tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.cmodified+3−8View file
tools/perf/util/intel-pt.cmodified+30−9View file
tools/perf/util/intel-tpebs.cmodified+81−14View file
tools/perf/util/jitdump.cmodified+3−3View file
tools/perf/util/jitdump.hmodified+1−2View file
tools/perf/util/kvm-stat-arch/kvm-stat-arm64.cmodified+8−11View file
tools/perf/util/kvm-stat-arch/kvm-stat-loongarch.cmodified+7−10View file
tools/perf/util/kvm-stat-arch/kvm-stat-powerpc.cmodified+7−10View file
tools/perf/util/kvm-stat-arch/kvm-stat-riscv.cmodified+7−10View file
tools/perf/util/kvm-stat-arch/kvm-stat-s390.cmodified+8−12View file
tools/perf/util/kvm-stat-arch/kvm-stat-x86.cmodified+29−41View file
tools/perf/util/kvm-stat.cmodified+8−11View file
tools/perf/util/kvm-stat.hmodified+6−12View file
tools/perf/util/kwork.hmodified+14−5View file
tools/perf/util/libdw.cmodified+58−14View file
tools/perf/util/libunwind-arch/Buildadded+11−0View file
tools/perf/util/libunwind-arch/libunwind-arch.cadded+319−0View file
tools/perf/util/libunwind-arch/libunwind-arch.hadded+296−0View file
tools/perf/util/libunwind-arch/libunwind-arm.cadded+290−0View file
tools/perf/util/libunwind-arch/libunwind-arm64.cadded+289−0View file
tools/perf/util/libunwind-arch/libunwind-i386.cadded+312−0View file
tools/perf/util/libunwind-arch/libunwind-loongarch.cadded+297−0View file
tools/perf/util/libunwind-arch/libunwind-mips.cadded+299−0View file
tools/perf/util/libunwind-arch/libunwind-ppc32.cadded+303−0View file
tools/perf/util/libunwind-arch/libunwind-ppc64.cadded+303−0View file
tools/perf/util/libunwind-arch/libunwind-riscv.cadded+297−0View file
tools/perf/util/libunwind-arch/libunwind-s390.cadded+299−0View file
tools/perf/util/libunwind-arch/libunwind-x86_64.cadded+320−0View file
tools/perf/util/libunwind/arm64.cdeleted+0−40View before deletion
tools/perf/util/libunwind/x86_32.cdeleted+0−41View before deletion
tools/perf/util/lock-contention.cmodified+3−3View file
tools/perf/util/machine.cmodified+82−53View file
tools/perf/util/machine.hmodified+1−6View file
tools/perf/util/maps.cmodified+140−42View file
tools/perf/util/maps.hmodified+5−2View file
tools/perf/util/metricgroup.cmodified+5−9View file
tools/perf/util/mmap.cmodified+15−5View file
tools/perf/util/parse-events.cmodified+27−0View file
tools/perf/util/perf-regs-arch/perf_regs_riscv.cmodified+128−0View file
tools/perf/util/perf_event_attr_fprintf.cmodified+92−49View file
tools/perf/util/perf_regs.cmodified+3−0View file
tools/perf/util/perf_regs.hmodified+1−0View file
tools/perf/util/pmu.cmodified+56−15View file
tools/perf/util/pmus.cmodified+17−1View file
tools/perf/util/pmus.hmodified+1−0View file
tools/perf/util/print_insn.cmodified+14−9View file
tools/perf/util/print_insn.hmodified+5−2View file
tools/perf/util/probe-event.cmodified+2−2View file
tools/perf/util/probe-finder.cmodified+65−37View file
tools/perf/util/s390-sample-raw.cmodified+17−14View file
tools/perf/util/sample-raw.cmodified+11−10View file
tools/perf/util/sample-raw.hmodified+5−1View file
tools/perf/util/sample.hmodified+2−0View file
tools/perf/util/scripting-engines/trace-event-perl.cmodified+11−14View file
tools/perf/util/scripting-engines/trace-event-python.cmodified+47−32View file
tools/perf/util/session.cmodified+1258−183View file
tools/perf/util/session.hmodified+2−0View file
tools/perf/util/setup.pymodified+6−7View file
tools/perf/util/sort.cmodified+36−30View file
tools/perf/util/srcline.cmodified+13−6View file
tools/perf/util/srcline.hmodified+1−0View file
tools/perf/util/stat-display.cmodified+12−14View file
tools/perf/util/stat-shadow.cmodified+5−1View file
tools/perf/util/svghelper.cmodified+6−4View file
tools/perf/util/symbol-elf.cmodified+94−42View file
tools/perf/util/symbol-minimal.cmodified+14−2View file
tools/perf/util/symbol.cmodified+195−66View file
tools/perf/util/symbol.hmodified+78−17View file
tools/perf/util/symbol_conf.hmodified+10−0View file
tools/perf/util/symbol_fprintf.cmodified+2−2View file
tools/perf/util/synthetic-events.cmodified+68−31View file
tools/perf/util/synthetic-events.hmodified+4−4View file
tools/perf/util/thread.cmodified+55−40View file
tools/perf/util/thread.hmodified+22−1View file
tools/perf/util/tool.cmodified+57−4View file
tools/perf/util/tool.hmodified+1−3View file
tools/perf/util/tool_pmu.cmodified+197−53View file
tools/perf/util/tool_pmu.hmodified+4−0View file
tools/perf/util/trace-event-scripting.cmodified+1−4View file
tools/perf/util/trace-event.hmodified+0−3View file
tools/perf/util/tsc.cmodified+1−1View file
tools/perf/util/unwind-libdw.cmodified+16−4View file
tools/perf/util/unwind-libunwind-local.cdeleted+0−831View before deletion
tools/perf/util/unwind-libunwind.cmodified+645−54View file
tools/perf/util/unwind.cadded+104−0View file
tools/perf/util/unwind.hmodified+38−35View file
tools/perf/util/util.cmodified+11−1View file
tools/perf/util/zstd.cmodified+41−6View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/trace/coresight/coresight-perf.rst

View file
diff --git a/Documentation/trace/coresight/coresight-perf.rst b/Documentation/trace/coresight/coresight-perf.rst
index 30be893..0a77741 100644
--- a/Documentation/trace/coresight/coresight-perf.rst
+++ b/Documentation/trace/coresight/coresight-perf.rst
@@ -112,78 +112,6 @@ Example for triggering AUX pause and resume with PMU event::
Perf test - Verify kernel and userspace perf CoreSight work
-----------------------------------------------------------
-When you run perf test, it will do a lot of self tests. Some of those
-tests will cover CoreSight (only if enabled and on ARM64). You
-generally would run perf test from the tools/perf directory in the
-kernel tree. Some tests will check some internal perf support like:
-
- Check Arm CoreSight trace data recording and synthesized samples
- Check Arm SPE trace data recording and synthesized samples
-
-Some others will actually use perf record and some test binaries that
-are in tests/shell/coresight and will collect traces to ensure a
-minimum level of functionality is met. The scripts that launch these
-tests are in the same directory. These will all look like:
-
- CoreSight / ASM Pure Loop
- CoreSight / Memcpy 16k 10 Threads
- CoreSight / Thread Loop 10 Threads - Check TID
- etc.
-
-These perf record tests will not run if the tool binaries do not exist
-in tests/shell/coresight/\*/ and will be skipped. If you do not have
-CoreSight support in hardware then either do not build perf with
-CoreSight support or remove these binaries in order to not have these
-tests fail and have them skip instead.
-
-These tests will log historical results in the current working
-directory (e.g. tools/perf) and will be named stats-\*.csv like:
-
- stats-asm_pure_loop-out.csv
- stats-memcpy_thread-16k_10.csv
- ...
-
-These statistic files log some aspects of the AUX data sections in
-the perf data output counting some numbers of certain encodings (a
-good way to know that it's working in a very simple way). One problem
-with CoreSight is that given a large enough amount of data needing to
-be logged, some of it can be lost due to the processor not waking up
-in time to read out all the data from buffers etc.. You will notice
-that the amount of data collected can vary a lot per run of perf test.
-If you wish to see how this changes over time, simply run perf test
-multiple times and all these csv files will have more and more data
-appended to it that you can later examine, graph and otherwise use to
-figure out if things have become worse or better.
-
-This means sometimes these tests fail as they don't capture all the
-data needed. This is about tracking quality and amount of data
-produced over time and to see when changes to the Linux kernel improve
-quality of traces.
-
-Be aware that some of these tests take quite a while to run, specifically
-in processing the perf data file and dumping contents to then examine what
-is inside.
-
-You can change where these csv logs are stored by setting the
-PERF_TEST_CORESIGHT_STATDIR environment variable before running perf
-test like::
-
- export PERF_TEST_CORESIGHT_STATDIR=/var/tmp
- perf test
-
-They will also store resulting perf output data in the current
-directory for later inspection like::
-
- perf-asm_pure_loop-out.data
- perf-memcpy_thread-16k_10.data
- ...
-
-You can alter where the perf data files are stored by setting the
-PERF_TEST_CORESIGHT_DATADIR environment variable such as::
-
- PERF_TEST_CORESIGHT_DATADIR=/var/tmp
- perf test
-
-You may wish to set these above environment variables if you wish to
-keep the output of tests outside of the current working directory for
-longer term storage and examination.
+There are a set of Perf tests for CoreSight which can be run with::
+
+ sudo perf test coresight

MAINTAINERS

View file
diff --git a/MAINTAINERS b/MAINTAINERS
index 20ffb95..119d3d8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2817,9 +2817,7 @@ F: tools/perf/arch/arm/util/auxtrace.c
F: tools/perf/arch/arm/util/cs-etm.c
F: tools/perf/arch/arm/util/cs-etm.h
F: tools/perf/arch/arm/util/pmu.c
-F: tools/perf/tests/shell/*coresight*
F: tools/perf/tests/shell/coresight/*
-F: tools/perf/tests/shell/lib/*coresight*
F: tools/perf/util/cs-etm-decoder/*
F: tools/perf/util/cs-etm.*

tools/arch/x86/include/asm/amd/ibs.h

View file
diff --git a/tools/arch/x86/include/asm/amd/ibs.h b/tools/arch/x86/include/asm/amd/ibs.h
index d0777b5..6f25074 100644
--- a/tools/arch/x86/include/asm/amd/ibs.h
+++ b/tools/arch/x86/include/asm/amd/ibs.h
@@ -99,7 +99,9 @@ union ibs_op_data2 {
rmt_node:1, /* 4: destination node */
cache_hit_st:1, /* 5: cache hit state */
data_src_hi:2, /* 6-7: data source high */
- reserved1:56; /* 8-63: reserved */
+ strm_st:1, /* 8: streaming store */
+ rmt_socket:1, /* 9: remote socket */
+ reserved1:54; /* 10-63: reserved */
};
};

tools/build/Makefile.feature

View file
diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
index 2f192d3..ed1374a 100644
--- a/tools/build/Makefile.feature
+++ b/tools/build/Makefile.feature
@@ -104,6 +104,9 @@ FEATURE_TESTS_BASIC := \
# FEATURE_TESTS_BASIC + FEATURE_TESTS_EXTRA is the complete list
# of all feature tests
+
+LIBUNWIND_ARCHS:=aarch64 arm loongarch64 mips ppc32 ppc64 riscv s390x x86 x86_64
+
FEATURE_TESTS_EXTRA := \
bionic \
compile-32 \
@@ -113,7 +116,7 @@ FEATURE_TESTS_EXTRA := \
gtk2 \
gtk2-infobar \
hello \
- libbabeltrace \
+ babeltrace2-ctf-writer \
libcapstone \
libcheck \
libbfd-liberty \
@@ -127,7 +130,10 @@ FEATURE_TESTS_EXTRA := \
libpfm4 \
libdebuginfod \
clang-bpf-co-re \
- bpftool-skeletons
+ bpftool-skeletons \
+ libunwind \
+ libunwind-debug-frame \
+ $(foreach arch,$(LIBUNWIND_ARCHS),libunwind-$(arch) libunwind-debug-frame-$(arch))
FEATURE_TESTS ?= $(FEATURE_TESTS_BASIC)
@@ -163,6 +169,7 @@ FEATURE_GROUP_MEMBERS-libbfd = libbfd-liberty libbfd-liberty-z
# Declare list of feature dependency packages that provide pkg-config files.
#
FEATURE_PKG_CONFIG ?= \
+ babeltrace2-ctf-writer \
libtraceevent \
libtracefs
@@ -211,7 +218,11 @@ ifeq ($(feature-all), 1)
$(call feature_check,compile-32)
$(call feature_check,compile-x32)
$(call feature_check,bionic)
- $(call feature_check,libbabeltrace)
+ $(call feature_check,babeltrace2-ctf-writer)
+ $(call feature_check,libunwind)
+ $(call feature_check,libunwind-debug-frame)
+ $(foreach arch,$(LIBUNWIND_ARCHS),$(call feature_check,libunwind-$(arch)))
+ $(foreach arch,$(LIBUNWIND_ARCHS),$(call feature_check,libunwind-debug-frame-$(arch)))
else
$(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat)))
endif

tools/build/feature/Makefile

View file
diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile
index 704c687..62909a9 100644
--- a/tools/build/feature/Makefile
+++ b/tools/build/feature/Makefile
@@ -1,6 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
include ../../scripts/Makefile.include
+LIBUNWIND_ARCHS:=aarch64 arm loongarch64 mips ppc32 ppc64 riscv s390x x86 x86_64
+
FILES= \
test-all.bin \
test-backtrace.bin \
@@ -38,17 +40,12 @@ FILES= \
test-libtracefs.bin \
test-libunwind.bin \
test-libunwind-debug-frame.bin \
- test-libunwind-x86.bin \
- test-libunwind-x86_64.bin \
- test-libunwind-arm.bin \
- test-libunwind-aarch64.bin \
- test-libunwind-debug-frame-arm.bin \
- test-libunwind-debug-frame-aarch64.bin \
+ $(foreach arch,$(LIBUNWIND_ARCHS),test-libunwind-$(arch).bin test-libunwind-debug-frame-$(arch).bin) \
test-pthread-attr-setaffinity-np.bin \
test-pthread-barrier.bin \
test-stackprotector-all.bin \
test-timerfd.bin \
- test-libbabeltrace.bin \
+ test-babeltrace2-ctf-writer.bin \
test-libcapstone.bin \
test-libcheck.bin \
test-compile-32.bin \
@@ -75,7 +72,8 @@ FILES= \
test-file-handle.bin \
test-libpfm4.bin \
test-rust.bin \
- test-libopenssl.bin
+ test-libopenssl.bin \
+ test-bpftool-skeletons.bin
FILES := $(addprefix $(OUTPUT),$(FILES))
@@ -211,27 +209,26 @@ $(OUTPUT)test-numa_num_possible_cpus.bin:
$(BUILD) -lnuma
$(OUTPUT)test-libunwind.bin:
- $(BUILD) -lelf -llzma
+ $(BUILD) -include libunwind.h -lelf -llzma -lunwind
$(OUTPUT)test-libunwind-debug-frame.bin:
- $(BUILD) -lelf -llzma
-$(OUTPUT)test-libunwind-x86.bin:
- $(BUILD) -lelf -llzma -lunwind-x86
-
-$(OUTPUT)test-libunwind-x86_64.bin:
- $(BUILD) -lelf -llzma -lunwind-x86_64
+ $(BUILD) -include libunwind.h -lelf -llzma -lunwind
-$(OUTPUT)test-libunwind-arm.bin:
- $(BUILD) -lelf -llzma -lunwind-arm
+define LIBUNWIND_RULE
+$$(OUTPUT)test-libunwind-$(1).bin:
+ $$(CC) $$(CFLAGS) -MD -Wall -Werror -include libunwind-$(1).h -o $$@ \
+ test-libunwind.c $$(LDFLAGS) -lelf -llzma -lunwind-$(1) \
+ > $$(@:.bin=.make.output) 2>&1
-$(OUTPUT)test-libunwind-aarch64.bin:
- $(BUILD) -lelf -llzma -lunwind-aarch64
+$$(OUTPUT)test-libunwind-debug-frame-$(1).bin:
+ $$(CC) $$(CFLAGS) -MD -Wall -Werror -include libunwind-$(1).h -o $$@ \
+ test-libunwind-debug-frame.c $$(LDFLAGS) -lelf -llzma -lunwind-$(1) \
+ > $$(@:.bin=.make.output) 2>&1
-$(OUTPUT)test-libunwind-debug-frame-arm.bin:
- $(BUILD) -lelf -llzma -lunwind-arm
-
-$(OUTPUT)test-libunwind-debug-frame-aarch64.bin:
- $(BUILD) -lelf -llzma -lunwind-aarch64
+endef
+$(foreach arch,$(LIBUNWIND_ARCHS), \
+ $(eval $(call LIBUNWIND_RULE,$(arch))) \
+)
$(OUTPUT)test-libslang.bin:
$(BUILD) -lslang
@@ -308,8 +305,8 @@ $(OUTPUT)test-backtrace.bin:
$(OUTPUT)test-timerfd.bin:
$(BUILD)
-$(OUTPUT)test-libbabeltrace.bin:
- $(BUILD) # -lbabeltrace provided by $(FEATURE_CHECK_LDFLAGS-libbabeltrace)
+$(OUTPUT)test-babeltrace2-ctf-writer.bin:
+ $(BUILD) # -lbabeltrace2-ctf-writer provided by $(FEATURE_CHECK_LDFLAGS-babeltrace2-ctf-writer)
$(OUTPUT)test-libcapstone.bin:
$(BUILD) # -lcapstone provided by $(FEATURE_CHECK_LDFLAGS-libcapstone)
@@ -383,9 +380,9 @@ $(OUTPUT)test-libaio.bin:
$(OUTPUT)test-libzstd.bin:
$(BUILD) -lzstd
-$(OUTPUT)test-clang-bpf-co-re.bin:
- $(CLANG) -S -g --target=bpf -o - $(patsubst %.bin,%.c,$(@F)) | \
- grep BTF_KIND_VAR
+$(OUTPUT)test-clang-bpf-co-re.bin: test-clang-bpf-co-re.c
+ { $(CLANG) -S -g --target=bpf -o - $< | \
+ grep BTF_KIND_VAR; } > $(@:.bin=.make.output) 2>&1 && touch $@
$(OUTPUT)test-file-handle.bin:
$(BUILD)
@@ -397,8 +394,8 @@ $(OUTPUT)test-libopenssl.bin:
$(BUILD) $(shell $(PKG_CONFIG) --libs --cflags openssl 2>/dev/null)
$(OUTPUT)test-bpftool-skeletons.bin:
- $(SYSTEM_BPFTOOL) version | grep '^features:.*skeletons' \
- > $(@:.bin=.make.output) 2>&1
+ { $(SYSTEM_BPFTOOL) version | grep '^features:.*skeletons'; } \
+ > $(@:.bin=.make.output) 2>&1 && touch $@
# Testing Rust is special: we don't compile anything, it's enough to check the
# compiler presence. Compiling a test code for this purposes is problematic,

tools/build/feature/test-all.c

View file
diff --git a/tools/build/feature/test-all.c b/tools/build/feature/test-all.c
index 1488bf6..544563d 100644
--- a/tools/build/feature/test-all.c
+++ b/tools/build/feature/test-all.c
@@ -100,13 +100,13 @@
# if 0
/*
- * Disable libbabeltrace check for test-all, because the requested
+ * Disable babeltrace2-ctf-writer check for test-all, because the requested
* library version is not released yet in most distributions. Will
* reenable later.
*/
-#define main main_test_libbabeltrace
-# include "test-libbabeltrace.c"
+#define main main_test_babeltrace2_ctf_writer
+# include "test-babeltrace2-ctf-writer.c"
#undef main
#endif

tools/build/feature/test-babeltrace2-ctf-writer.c

View file
diff --git a/tools/build/feature/test-libbabeltrace.c b/tools/build/feature/test-babeltrace2-ctf-writer.c
similarity index 80%
rename from tools/build/feature/test-libbabeltrace.c
rename to tools/build/feature/test-babeltrace2-ctf-writer.c
index 10bb69d..9c89082 100644
--- a/tools/build/feature/test-libbabeltrace.c
+++ b/tools/build/feature/test-babeltrace2-ctf-writer.c
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
-#include <babeltrace/ctf-writer/writer.h>
-#include <babeltrace/ctf-ir/stream-class.h>
+#include <babeltrace2-ctf-writer/writer.h>
int main(void)
{

tools/build/feature/test-libunwind-aarch64.c

View before deletion
diff --git a/tools/build/feature/test-libunwind-aarch64.c b/tools/build/feature/test-libunwind-aarch64.c
deleted file mode 100644
index 323803f..0000000
--- a/tools/build/feature/test-libunwind-aarch64.c
+++ /dev/null
@@ -1,27 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include <libunwind-aarch64.h>
-#include <stdlib.h>
-
-extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
- unw_word_t ip,
- unw_dyn_info_t *di,
- unw_proc_info_t *pi,
- int need_unwind_info, void *arg);
-
-#define dwarf_search_unwind_table UNW_OBJ(dwarf_search_unwind_table)
-
-static unw_accessors_t accessors;
-
-int main(void)
-{
- unw_addr_space_t addr_space;
-
- addr_space = unw_create_addr_space(&accessors, 0);
- if (addr_space)
- return 0;
-
- unw_init_remote(NULL, addr_space, NULL);
- dwarf_search_unwind_table(addr_space, 0, NULL, NULL, 0, NULL);
-
- return 0;
-}

tools/build/feature/test-libunwind-arm.c

View before deletion
diff --git a/tools/build/feature/test-libunwind-arm.c b/tools/build/feature/test-libunwind-arm.c
deleted file mode 100644
index cb378b7..0000000
--- a/tools/build/feature/test-libunwind-arm.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include <libunwind-arm.h>
-#include <stdlib.h>
-
-extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
- unw_word_t ip,
- unw_dyn_info_t *di,
- unw_proc_info_t *pi,
- int need_unwind_info, void *arg);
-
-
-#define dwarf_search_unwind_table UNW_OBJ(dwarf_search_unwind_table)
-
-static unw_accessors_t accessors;
-
-int main(void)
-{
- unw_addr_space_t addr_space;
-
- addr_space = unw_create_addr_space(&accessors, 0);
- if (addr_space)
- return 0;
-
- unw_init_remote(NULL, addr_space, NULL);
- dwarf_search_unwind_table(addr_space, 0, NULL, NULL, 0, NULL);
-
- return 0;
-}

tools/build/feature/test-libunwind-debug-frame-aarch64.c

View before deletion
diff --git a/tools/build/feature/test-libunwind-debug-frame-aarch64.c b/tools/build/feature/test-libunwind-debug-frame-aarch64.c
deleted file mode 100644
index 36d6646..0000000
--- a/tools/build/feature/test-libunwind-debug-frame-aarch64.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include <libunwind-aarch64.h>
-#include <stdlib.h>
-
-extern int
-UNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug,
- unw_word_t ip, unw_word_t segbase,
- const char *obj_name, unw_word_t start,
- unw_word_t end);
-
-#define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame)
-
-int main(void)
-{
- dwarf_find_debug_frame(0, NULL, 0, 0, NULL, 0, 0);
- return 0;
-}

tools/build/feature/test-libunwind-debug-frame-arm.c

View before deletion
diff --git a/tools/build/feature/test-libunwind-debug-frame-arm.c b/tools/build/feature/test-libunwind-debug-frame-arm.c
deleted file mode 100644
index 8696e48..0000000
--- a/tools/build/feature/test-libunwind-debug-frame-arm.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include <libunwind-arm.h>
-#include <stdlib.h>
-
-extern int
-UNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug,
- unw_word_t ip, unw_word_t segbase,
- const char *obj_name, unw_word_t start,
- unw_word_t end);
-
-#define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame)
-
-int main(void)
-{
- dwarf_find_debug_frame(0, NULL, 0, 0, NULL, 0, 0);
- return 0;
-}

tools/build/feature/test-libunwind-debug-frame.c

View file
diff --git a/tools/build/feature/test-libunwind-debug-frame.c b/tools/build/feature/test-libunwind-debug-frame.c
index efb55cd..4c57e37 100644
--- a/tools/build/feature/test-libunwind-debug-frame.c
+++ b/tools/build/feature/test-libunwind-debug-frame.c
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
-#include <libunwind.h>
#include <stdlib.h>
extern int

tools/build/feature/test-libunwind-x86.c

View before deletion
diff --git a/tools/build/feature/test-libunwind-x86.c b/tools/build/feature/test-libunwind-x86.c
deleted file mode 100644
index e5e0f6c..0000000
--- a/tools/build/feature/test-libunwind-x86.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include <libunwind-x86.h>
-#include <stdlib.h>
-
-extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
- unw_word_t ip,
- unw_dyn_info_t *di,
- unw_proc_info_t *pi,
- int need_unwind_info, void *arg);
-
-
-#define dwarf_search_unwind_table UNW_OBJ(dwarf_search_unwind_table)
-
-static unw_accessors_t accessors;
-
-int main(void)
-{
- unw_addr_space_t addr_space;
-
- addr_space = unw_create_addr_space(&accessors, 0);
- if (addr_space)
- return 0;
-
- unw_init_remote(NULL, addr_space, NULL);
- dwarf_search_unwind_table(addr_space, 0, NULL, NULL, 0, NULL);
-
- return 0;
-}

tools/build/feature/test-libunwind-x86_64.c

View before deletion
diff --git a/tools/build/feature/test-libunwind-x86_64.c b/tools/build/feature/test-libunwind-x86_64.c
deleted file mode 100644
index 62ae4db..0000000
--- a/tools/build/feature/test-libunwind-x86_64.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include <libunwind-x86_64.h>
-#include <stdlib.h>
-
-extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
- unw_word_t ip,
- unw_dyn_info_t *di,
- unw_proc_info_t *pi,
- int need_unwind_info, void *arg);
-
-
-#define dwarf_search_unwind_table UNW_OBJ(dwarf_search_unwind_table)
-
-static unw_accessors_t accessors;
-
-int main(void)
-{
- unw_addr_space_t addr_space;
-
- addr_space = unw_create_addr_space(&accessors, 0);
- if (addr_space)
- return 0;
-
- unw_init_remote(NULL, addr_space, NULL);
- dwarf_search_unwind_table(addr_space, 0, NULL, NULL, 0, NULL);
-
- return 0;
-}

tools/build/feature/test-libunwind.c

View file
diff --git a/tools/build/feature/test-libunwind.c b/tools/build/feature/test-libunwind.c
index 53fd266..5af5dc3 100644
--- a/tools/build/feature/test-libunwind.c
+++ b/tools/build/feature/test-libunwind.c
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
-#include <libunwind.h>
#include <stdlib.h>
extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,

tools/lib/api/fs/fs.c

View file
diff --git a/tools/lib/api/fs/fs.c b/tools/lib/api/fs/fs.c
index edec234..cbd8eab 100644
--- a/tools/lib/api/fs/fs.c
+++ b/tools/lib/api/fs/fs.c
@@ -261,8 +261,8 @@ static const char *mount_overload(struct fs *fs)
/* "PERF_" + name + "_ENVIRONMENT" + '\0' */
char upper_name[5 + name_len + 12 + 1];
- snprintf(upper_name, name_len, "PERF_%s_ENVIRONMENT", fs->name);
- mem_toupper(upper_name, name_len);
+ snprintf(upper_name, sizeof(upper_name), "PERF_%s_ENVIRONMENT", fs->name);
+ mem_toupper(upper_name, strlen(upper_name));
return getenv(upper_name) ?: *fs->mounts;
}
@@ -294,11 +294,14 @@ int filename__read_int(const char *filename, int *value)
{
char line[64];
int fd = open(filename, O_RDONLY), err = -1;
+ ssize_t n;
if (fd < 0)
return -errno;
- if (read(fd, line, sizeof(line)) > 0) {
+ n = read(fd, line, sizeof(line) - 1);
+ if (n > 0) {
+ line[n] = '\0';
*value = atoi(line);
err = 0;
}
@@ -312,11 +315,14 @@ static int filename__read_ull_base(const char *filename,
{
char line[64];
int fd = open(filename, O_RDONLY), err = -1;
+ ssize_t n;
if (fd < 0)
return -errno;
- if (read(fd, line, sizeof(line)) > 0) {
+ n = read(fd, line, sizeof(line) - 1);
+ if (n > 0) {
+ line[n] = '\0';
*value = strtoull(line, NULL, base);
if (*value != ULLONG_MAX)
err = 0;
@@ -370,12 +376,13 @@ int filename__write_int(const char *filename, int value)
{
int fd = open(filename, O_WRONLY), err = -1;
char buf[64];
+ int len;
if (fd < 0)
return -errno;
- sprintf(buf, "%d", value);
- if (write(fd, buf, sizeof(buf)) == sizeof(buf))
+ len = sprintf(buf, "%d", value);
+ if (write(fd, buf, len) == len)
err = 0;
close(fd);

tools/lib/perf/TODO

View file
diff --git a/tools/lib/perf/TODO b/tools/lib/perf/TODO
new file mode 100644
index 0000000..e179728
--- /dev/null
+++ b/tools/lib/perf/TODO
@@ -0,0 +1,30 @@
+Future ABI changes

This diff is incomplete. Download the complete patch.

tools/lib/perf/include/perf/cpumap.h

View file

This diff is incomplete. Download the complete patch.

tools/lib/perf/include/perf/event.h

View file

This diff is incomplete. Download the complete patch.

tools/lib/subcmd/run-command.c

View file

This diff is incomplete. Download the complete patch.

tools/lib/symbol/kallsyms.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/.clang-format

View file

This diff is incomplete. Download the complete patch.

tools/perf/.gitignore

View file

This diff is incomplete. Download the complete patch.

tools/perf/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/Documentation/perf-amd-ibs.txt

View file

This diff is incomplete. Download the complete patch.

tools/perf/Documentation/perf-test.txt

View file

This diff is incomplete. Download the complete patch.

tools/perf/Documentation/perf-trace.txt

View file

This diff is incomplete. Download the complete patch.

tools/perf/Documentation/perf.data-file-format.txt

View file

This diff is incomplete. Download the complete patch.

tools/perf/Makefile.config

View file

This diff is incomplete. Download the complete patch.

tools/perf/Makefile.perf

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/arm/util/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/arm/util/cs-etm.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/arm/util/unwind-libunwind.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/arm64/util/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/arm64/util/arm-spe.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/arm64/util/machine.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/arm64/util/unwind-libunwind.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/common.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/loongarch/util/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/loongarch/util/unwind-libunwind.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/mips/Build

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/mips/util/Build

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/mips/util/unwind-libunwind.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/powerpc/include/dwarf-regs-table.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/powerpc/util/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/powerpc/util/auxtrace.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/powerpc/util/unwind-libunwind.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/arch/riscv/include/dwarf-regs-table.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/riscv/util/header.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/s390/include/dwarf-regs-table.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/x86/tests/amd-ibs-period.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/x86/tests/topdown.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/x86/util/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/x86/util/intel-bts.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/x86/util/intel-pt.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/arch/x86/util/unwind-libunwind.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/bench/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/bench/bpf_skel/bench_uprobe.bpf.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/bench/inject-buildid.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/bench/sched-pipe.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/bench/uprobe.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/bpf_skel.mak

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-annotate.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-buildid-list.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-c2c.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-check.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-data.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-diff.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-inject.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-kmem.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-kvm.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-kwork.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-lock.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-mem.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-record.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-report.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-sched.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-script.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-stat.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-timechart.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-top.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/builtin-trace.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/amd_metrics.py

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlake/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlake/memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlake/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlake/virtual-memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlaken/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlaken/memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlaken/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/alderlaken/virtual-memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/arrowlake/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/arrowlake/floating-point.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/arrowlake/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/counter.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/cwf-metrics.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/floating-point.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/frontend.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/other.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-cxl.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-interconnect.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-io.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/uncore-power.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/clearwaterforest/virtual-memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/emeraldrapids/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/grandridge/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/grandridge/floating-point.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/grandridge/frontend.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/grandridge/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/grandridge/uncore-io.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/grandridge/uncore-memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/graniterapids/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/lunarlake/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/lunarlake/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/mapfile.csv

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/meteorlake/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/meteorlake/floating-point.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/meteorlake/memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/meteorlake/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/meteorlake/virtual-memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/pantherlake/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/pantherlake/frontend.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/pantherlake/memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/pantherlake/other.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/pantherlake/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/sapphirerapids/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/sierraforest/cache.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/sierraforest/floating-point.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/sierraforest/memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/sierraforest/pipeline.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/arch/x86/sierraforest/virtual-memory.json

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/empty-pmu-events.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/intel_metrics.py

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/jevents.py

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/metric.py

View file

This diff is incomplete. Download the complete patch.

tools/perf/pmu-events/pmu-events.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/scripts/python/arm-cs-trace-disasm.py

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/builtin-test.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/code-reading.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/dlfilter-test.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/hists_cumulate.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/hists_filter.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/hists_link.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/hists_output.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/hwmon_pmu.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/kallsyms-split.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/make

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/mmap-basic.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/openat-syscall-tp-fields.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/parse-no-sample-id-all.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/pmu-events.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/pmu.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/sample-parsing.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/amd-ibs-swfilt.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/Makefile

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/Makefile.miniconfig

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/asm_pure_loop.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/asm_pure_loop/.gitignore

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/asm_pure_loop/Makefile

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/concurrent_threads.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/context_switch_thread.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/deterministic.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/memcpy_thread/.gitignore

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/memcpy_thread/Makefile

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/memcpy_thread/memcpy_thread.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/raw_dump_stress.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/test_arm_coresight.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/test_arm_coresight_disasm.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/thread_loop/.gitignore

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/thread_loop/Makefile

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/thread_loop/thread_loop.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/thread_loop_check_tid_10.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/thread_loop_check_tid_2.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/unroll_loop_thread/.gitignore

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/unroll_loop_thread/Makefile

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/unroll_loop_thread/unroll_loop_thread.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/data_file_offset_diagnostics.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/data_validation.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/ftrace.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/inject_aslr.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/lib/coresight.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/lock_contention.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/stat.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/stat_metrics_cgrp.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/test_intel_pt.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/test_perf_data_converter_ctf.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/test_test_junit_output.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/shell/trace_summary.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/switch-tracking.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/symbols.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/tests-scripts.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/tests.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/thread-maps-share.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/topology.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/uncore-event-sorting.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/util.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/vmlinux-kallsyms.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/workloads/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/workloads/context_switch_loop.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/workloads/deterministic.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/workloads/jitdump.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/workloads/leafloop.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/tests/workloads/named_threads.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/arch_errno_names.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/arch_errno_names.sh

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/beauty.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/eventfd.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/fcntl.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/fsconfig.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/futex_op.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/futex_val3.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/mmap.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/mode_t.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/msg_flags.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/open_flags.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/perf_event_open.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/pid.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/sched_policy.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/seccomp.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/signum.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/socket_type.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/syscalltbl.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/syscalltbl.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/tracepoints/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/trace/beauty/waitid_options.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/ui/browser.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/ui/browsers/annotate.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/ui/browsers/map.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/amd-sample-raw.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/annotate-data.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/annotate.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/annotate.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm-spe-decoder/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm-spe-decoder/arm-spe-decoder.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm-spe-decoder/arm-spe-decoder.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm-spe.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm64-frame-pointer-unwind-support.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/arm64-frame-pointer-unwind-support.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/aslr.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/aslr.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/auxtrace.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf-event.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf-event.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf-trace-summary.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf-utils.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf_counter_cgroup.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf_kwork.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf_lock_contention.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf_skel/lock_contention.bpf.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/bpf_skel/lock_data.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/btf.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/build-id.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/build-id.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/callchain.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/callchain.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/capstone.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/config.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/cpumap.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/cs-etm-base.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/cs-etm-decoder/cs-etm-decoder.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/cs-etm.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/cs-etm.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/data-convert-bt.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/data-convert-json.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/data-convert.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/db-export.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/db-export.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/debuginfo.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/disasm.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/dlfilter.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/dso.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/dso.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/dwarf-aux.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/dwarf-aux.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/env.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/env.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/event.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/evlist.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/evsel.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/evsel.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/evsel_fprintf.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/expr.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/expr.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/expr.l

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/expr.y

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/header.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/hist.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/hist.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/hwmon_pmu.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/intel-bts.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/intel-pt.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/intel-tpebs.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/jitdump.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/jitdump.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat-arch/kvm-stat-arm64.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat-arch/kvm-stat-loongarch.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat-arch/kvm-stat-powerpc.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat-arch/kvm-stat-riscv.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat-arch/kvm-stat-s390.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat-arch/kvm-stat-x86.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kvm-stat.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/kwork.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libdw.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/Build

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-arch.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-arch.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-arm.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-arm64.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-i386.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-loongarch.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-mips.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-ppc32.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-ppc64.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-riscv.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-s390.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind-arch/libunwind-x86_64.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind/arm64.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/util/libunwind/x86_32.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/util/lock-contention.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/machine.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/machine.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/maps.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/maps.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/metricgroup.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/mmap.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/parse-events.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/perf-regs-arch/perf_regs_riscv.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/perf_event_attr_fprintf.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/perf_regs.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/perf_regs.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/pmu.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/pmus.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/pmus.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/print_insn.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/print_insn.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/probe-event.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/probe-finder.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/s390-sample-raw.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/sample-raw.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/sample-raw.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/sample.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/scripting-engines/trace-event-perl.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/scripting-engines/trace-event-python.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/session.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/session.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/setup.py

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/sort.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/srcline.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/srcline.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/stat-display.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/stat-shadow.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/svghelper.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/symbol-elf.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/symbol-minimal.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/symbol.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/symbol.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/symbol_conf.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/symbol_fprintf.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/synthetic-events.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/synthetic-events.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/thread.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/thread.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/tool.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/tool.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/tool_pmu.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/tool_pmu.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/trace-event-scripting.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/trace-event.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/tsc.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/unwind-libdw.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/unwind-libunwind-local.c

View before deletion

This diff is incomplete. Download the complete patch.

tools/perf/util/unwind-libunwind.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/unwind.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/unwind.h

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/util.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/zstd.c

View file

This diff is incomplete. Download the complete patch.