This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from c0a614e82ece Merge tag 'lsm-pr-20240314' of git://git.kernel.org/pub/sc [...] new e4778a0ef322 x86/kprobes: Refactor can_{probe,boost} return type to bool new e884edbb844f x86/kprobes: Prohibit kprobing on INT and UD new 290eb13f1a65 x86/kprobes: Boost more instructions from grp2/3/4/5 new 7e37b6bc3cc0 tracing/fprobe-event: cleanup: Fix a wrong comment in fpro [...] new 032330abd08b tracing/probes: Cleanup probe argument parser new 035ba76014c0 tracing/probes: cleanup: Set trace_probe::nr_args at trace [...] new c18f9eabeec7 tracing: Remove redundant #else block for BTF args from README new 25f00e40ce79 tracing/probes: Support $argN in return probe (kprobe and fprobe) new f6e2253a617c selftests/ftrace: Add test cases for entry args at function exit new e8c32f24766a Documentation: tracing: Add entry argument access at funct [...] new 01732755ee30 Merge tag 'probes-v6.9' of git://git.kernel.org/pub/scm/li [...] new 761d9473e27f ring-buffer: Do not set shortest_full when full target is hit new 8145f1c35fa6 ring-buffer: Fix full_waiters_pending in poll new e36f19a6457b ring-buffer: Reuse rb_watermark_hit() for the poll logic new 7af9ded0c2ca ring-buffer: Use wait_event_interruptible() in ring_buffer_wait() new 2aa043a55b9a tracing/ring-buffer: Fix wait_on_pipe() race new 63bd30f249dc Merge tag 'trace-ring-buffer-v6.8-rc7-2' of git://git.kern [...] new 999eea92e8d7 perf test: raise limit to 20 percent for perf_stat_--bpf-c [...] new 8462247fd167 perf build: Check whether pkg-config is installed when lib [...] new a3397d69e4e7 perf annotate-data: Parse 'lock' prefix from llvm-objdump new 1cf4df0373ee perf annotate-data: Handle macro fusion on x86 new d3030191d3a6 perf annotate-data: Handle array style accesses new 7a54f1d83def perf annotate-data: Add stack operation pseudo type new 83bfa06d0805 perf annotate-data: Handle PC-relative addressing new 5f7cdde843dd perf annotate-data: Support global variables new 6fed025f119d perf dwarf-aux: Add die_get_cfa() new bc10db8eb895 perf annotate-data: Support stack variables new 55442cc2f22d perf dwarf-aux: Check allowed DWARF Ops new aff10a165201 perf record: Fix possible incorrect free in record__switch [...] new 02f9b50e0481 perf record: Check conflict between '--timestamp-filename' [...] new 57c8f1073f14 perf data: Minor code style alignment cleanup new ccc606a7d312 perf sched: Sync state char array with the kernel new 2f29a74f1dff perf util: Add helpers to parse task state string from lib [...] new df8bc77e4a6b perf util: Add evsel__taskstate() to parse the task state [...] new 68f87f24f953 perf sched: Commit to evsel__taskstate() to parse task state info new bb65acdc832e perf mem: Add mem_events into the supported perf_pmu new a30450e6a43b perf mem: Clean up perf_mem_events__ptr() new abbdd79b786e perf mem: Clean up perf_mem_events__name() new db95c2ce9be6 perf mem: Clean up perf_mem_event__supported() new 8ea9dfb91661 perf mem: Clean up is_mem_loads_aux_event() new 70f4b20d07df perf mem: Clean up perf_mem_events__record_args() new 821aca20be50 perf mem: Clean up perf_pmus__num_mem_pmus() new 63f209b6fa4d perf evlist: Fix evlist__new_default() for > 1 core PMU new b58ab8ac75ab perf version: Display availability of HAVE_DWARF_UNWIND_SUPPORT new ac668d529fca perf test: Skip test_arm_callgraph_fp.sh if unwinding isn' [...] new 24852ef2e2d5 perf pmu: Treat the msr pmu as software new 7727d59de44e perf tools: Add -H short option for --hierarchy new 20018398fca8 perf evsel: Rename get_states() to parse_task_states() and [...] new 4962aec0d684 perf evsel: Fix duplicate initialization of data->id in ev [...] new 1c84b47f99ea perf report: Prevent segfault with --no-parent new 8f95b29c73e1 perf test: Simplify metric value validation test final report new 366fb5f59d47 perf Documentation: Add some more hints to tips.txt new 2882358b8b83 perf tsc: Add missing newlines to debug statements new f5144ecad741 perf parse-events: Improve error location of terms cloned [...] new fd7b8e8fb20f perf parse-events: Print all errors new b8db070f389c perf jevents: Drop or simplify small integer values new ffd856537b95 perf bpf: Clean up the generated/copied vmlinux.h new acfd65c89403 tools: perf: Expose sample ID / stream ID to python scripts new e024fa6a5566 perf/pmu-events/powerpc: Update json mapfile with Power11 PVR new 8ce5fa4d68d3 perf kvm powerpc: Fix build new 112c554702cf perf script: Print source line for each jump in brstackinsn new 5b9e4eefc5f8 perf record: Display data size on pipe mode new 0bdfbd04c67e perf tools: Make it possible to see perf's kernel and modu [...] new 94a830d7cc1b perf symbols: Slightly improve module file executable sect [...] new 5f70c6c55990 perf test: Skip metric w/o event name on arm64 in stat STD [...] new c6907863519c perf sched: Move start_work_mutex and work_done_wait_mutex [...] new ef76a5af8197 perf sched: Fix memory leak in perf_sched__map() new 5e895278697c perf sched: Move curr_thread initialization to perf_sched__map() new bd2cdf26b9ea perf sched: Move curr_pid and cpu_last_switched initializa [...] new 1eb3d924e3c0 perf thread_map: Free strlist on normal path in thread_map [...] new 9a440bb2e2e9 perf tools: Remove misleading comments on map functions new cbc917a1b03b perf stat: Support per-cluster aggregation new c7ba9d18ae47 perf srcline: Add missed addr2line closes new 39d14c0dd650 Merge branch 'perf-tools' into perf-tools-next new 659ad3492b91 perf maps: Switch from rbtree to lazily sorted array for a [...] new 42fd623b58db perf maps: Get map before returning in maps__find new 107ef66cb054 perf maps: Get map before returning in maps__find_by_name new 39a27325e609 perf maps: Get map before returning in maps__find_next_entry new ff0bd79980ff perf maps: Hide maps internals new 923e4616ec15 perf maps: Locking tidy up of nr_maps new 4ea7d94407b4 perf expr: Allow NaN to be a valid number new 6dd76680b925 perf expr: Fix "has_event" function for metric style events new 2543947c77e0 perf stat: Avoid metric-only segv new 6d6be5eb45b4 perf metric: Don't remove scale from counts new fca6af7be28b perf build: Remove unused CONFIG_PERF_REGS new ec87c99de489 perf parse-regs: Always build perf register functions new 9a4e47ef98a3 perf parse-regs: Introduce a weak function arch__sample_re [...] new 81901fc0640d perf build: Cleanup perf register configuration new 6f04d664a9fa perf test: Enable Symbols test to work with a current module dso new 0aa81428717c perf testsuite: Add common regex patters new 451af6a790b4 perf testsuite: Add common setting for shell tests new e3425864a9e4 perf testsuite: Add initialization script for shell tests new c8eb2a9ff8b3 perf testsuite: Add test case for perf probe new 61d348f1e96f perf testsuite: Add common output checking helpers new e7d759f31ca2 perf testsuite: Add test for kprobe handling new f512e08fd094 perf testsuite: Install kprobe tests and common files new 29d16de26df1 perf augmented_raw_syscalls.bpf: Move 'struct timespec64' [...] new 2252ddf4343c perf vendor events intel: Update alderlake events to v1.24 new 5dcc2abaa545 perf vendor events intel: Update alderlaken events to v1.24 new 7163acea3076 perf vendor events intel: Update broadwell events to v29 new ea518afc9920 perf vendor events intel: Update emeraldrapids events to v1.03 new 24cda3081ac2 perf vendor events intel: Update grandridge events to v1.01 new f9044d46b75a perf vendor events intel: Update haswell events to v35 new e8866cdbe101 perf vendor events intel: Update icelake events to v1.21 new 1d262a85e289 perf vendor events intel: Update meteorlake events to v1.07 new 8972c0335305 perf vendor events intel: Update rocketlake events to v1.02 new 9626368d429a perf vendor events intel: Update sierraforst events to v1.01 new c31d718ca217 perf vendor events intel: Update skylake events to v58 new c4bb31c7b051 perf vendor events intel: Update tigerlake events to v1.15 new 52530942ba43 perf vendor events intel: Update alderlake TMA metrics to 4.7 new eedd6d0a72f2 perf vendor events intel: Update broadwell TMA metrics to 4.7 new 4018680df935 perf vendor events intel: Update broadwellde TMA metrics to 4.7 new 8792e8f89da1 perf vendor events intel: Update broadwellx TMA metrics to 4.7 new c72a20435a5b perf vendor events intel: Update cascadelakex TMA metrics to 4.7 new 89b66259a73a perf vendor events intel: Update haswell TMA metrics to 4.7 new 2a264a194613 perf vendor events intel: Update haswellx TMA metrics to 4.7 new 70bfdad63f87 perf vendor events intel: Update icelake TMA metrics to 4.7 new b15cae3f697c perf vendor events intel: Update icelakex TMA metrics to 4.7 new 8cf54fa84441 perf vendor events intel: Update ivybridge TMA metrics to 4.7 new 14bc1a59f270 perf vendor events intel: Update ivytown TMA metrics to 4.7 new 5f9a13bee0a6 perf vendor events intel: Update jaketown TMA metrics to 4.7 new 74f76c3ba7d5 perf vendor events intel: Update rocketlake TMA metrics to 4.7 new 176e66715d0e perf vendor events intel: Update sandybridge TMA metrics to 4.7 new 53c83c79aa59 perf vendor events intel: Update sapphirerapids TMA metric [...] new f15fa6ba76dc perf vendor events intel: Update skylake TMA metrics to 4.7 new e2c8b40e3746 perf vendor events intel: Update skylakex TMA metrics to 4.7 new 6f146b249b3a perf vendor events intel: Update tigerlake TMA metrics to 4.7 new bacefe0c7b77 perf tools: Fixup module symbol end address properly new 81377de00f11 perf list: For metricgroup only list include description new 8b767db33095 perf: build: introduce the libcapstone new 8f0ec15ff662 perf: util: use capstone disasm engine to show assembly in [...] new 9941723438ee perf: script: add field 'disasm' to display mnemonic instructions new 6750ba4b6442 perf: script: add raw|disasm arguments to --insn-trace option new 659663f0bccc perf: script: prefer capstone to XED new eee41e6b287e perf stat: Pass fewer metric arguments new a59fb796a36b perf metrics: Compute unmerged uncore metrics individually new bafd4e75c1ac perf stat: Fix metric-only aggregation index new b6968f9b5035 perf list: fix short description for some cache events new 510e52878639 perf thread_map: Skip exited threads when scanning /proc new 8ece26ad5ad3 perf list: Add scandirat compatibility function new 526f2ac9f6a1 perf tests: Avoid fork in perf_has_symbol test new 1a562c0d4497 tools subcmd: Add a no exec function call option new d5bcade989a8 perf test: Rename builtin-test-list and add missed header guard new f3295f5b067d perf tests: Use scandirat for shell script finding new 964461ee370f perf tests: Run time generate shell test suites new b482f5f8e016 perf tests: Add option to run tests in parallel new 25412c0364f7 perf print-events: make is_event_supported() more robust new c2bd08ba20a5 treewide: remove meaningless assignments in Makefiles new 529d5818a3bb perf bpf: Check that the minimal vmlinux.h installed is th [...] new bae4d1f86e4d perf data convert: Fix segfault when converting to json wh [...] new 8680999dbe57 perf test: Use TEST_FAIL in the TEST_ASSERT macros instead of -1 new eb94225eb469 perf test: Fix spelling mistake "curent" -> "current" new ef5de1613d7d perf pmu: Fix a potential memory leak in perf_pmu__lookup() new d4be39cadef0 perf metrics: Fix metric matching new 97b6b4ac1c5d perf metrics: Fix segv for metrics with no events new b44d66536859 perf lock contention: Account contending locks too new 1947b92464c3 libperf evlist: Avoid out-of-bounds access new ec42d3d56819 perf map: Fix map reference count issues new dd267d056fed perf vendor events intel: Add umasks/occ_sel to PCU events. new 507ad2bde357 perf version: Display availability of OpenCSD support new 498d3486376b perf vendor events amd: Fix Zen 4 cache latency events new 2f1e20feb994 perf report: Sort child tasks by tid new f178ffdf7ee5 perf trace: Ignore thread hashing in summary new 45ac4960d7fe perf machine: Move fprintf to for_each loop and a callback new d436f90a64f3 perf machine: Move machine's threads into its own abstraction new 93bb5b0d9394 perf threads: Move threads to its own files new 412a2ff473ac perf threads: Switch from rbtree to hashmap new 7bfc84b23e75 perf threads: Reduce table size from 256 to 8 new d3e7cad6f36d perf annotate: Add a hashmap for symbol histogram new 801545758497 perf annotate: Calculate instruction overhead using hashmap new f59e3660cd84 perf annotate: Remove sym_hist.addr[] array new 0f66dfe7b91d perf annotate: Add comments in the data structures new 1bbeaf83dd7b Merge tag 'perf-tools-for-v6.9-2024-03-13' of git://git.ke [...]
The 173 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: Documentation/trace/fprobetrace.rst | 31 + Documentation/trace/kprobetrace.rst | 9 + arch/x86/kernel/kprobes/common.h | 2 +- arch/x86/kernel/kprobes/core.c | 98 +- include/linux/ring_buffer.h | 4 +- include/linux/trace_events.h | 5 +- kernel/trace/ring_buffer.c | 158 +- kernel/trace/trace.c | 48 +- kernel/trace/trace_eprobe.c | 8 +- kernel/trace/trace_fprobe.c | 59 +- kernel/trace/trace_kprobe.c | 58 +- kernel/trace/trace_probe.c | 417 ++- kernel/trace/trace_probe.h | 30 +- kernel/trace/trace_probe_tmpl.h | 10 +- kernel/trace/trace_uprobe.c | 14 +- tools/build/Makefile.feature | 2 + tools/build/feature/Makefile | 4 + tools/build/feature/test-all.c | 4 + tools/build/feature/test-libcapstone.c | 11 + tools/lib/perf/evlist.c | 18 +- tools/lib/perf/include/internal/evlist.h | 4 +- tools/lib/subcmd/run-command.c | 2 + tools/lib/subcmd/run-command.h | 2 + tools/perf/Documentation/perf-intel-pt.txt | 14 +- tools/perf/Documentation/perf-report.txt | 29 +- tools/perf/Documentation/perf-script-python.txt | 4 +- tools/perf/Documentation/perf-script.txt | 20 +- tools/perf/Documentation/perf-stat.txt | 11 + tools/perf/Documentation/perf-top.txt | 32 +- tools/perf/Documentation/perf.txt | 2 + tools/perf/Documentation/tips.txt | 31 +- tools/perf/Makefile.config | 142 +- tools/perf/Makefile.perf | 18 +- tools/perf/arch/arm/util/perf_regs.c | 7 +- tools/perf/arch/arm/util/pmu.c | 3 + tools/perf/arch/arm64/Makefile | 2 +- tools/perf/arch/arm64/util/machine.c | 2 + tools/perf/arch/arm64/util/mem-events.c | 39 +- tools/perf/arch/arm64/util/mem-events.h | 7 + tools/perf/arch/arm64/util/perf_regs.c | 7 +- tools/perf/arch/csky/util/perf_regs.c | 7 +- tools/perf/arch/loongarch/Makefile | 2 +- tools/perf/arch/loongarch/util/perf_regs.c | 7 +- tools/perf/arch/mips/Makefile | 2 +- tools/perf/arch/mips/util/perf_regs.c | 7 +- tools/perf/arch/powerpc/Makefile | 2 +- tools/perf/arch/powerpc/util/Build | 1 + tools/perf/arch/powerpc/util/kvm-stat.c | 2 +- tools/perf/arch/powerpc/util/mem-events.c | 16 +- tools/perf/arch/powerpc/util/mem-events.h | 7 + tools/perf/arch/powerpc/util/perf_regs.c | 7 +- tools/perf/arch/powerpc/util/pmu.c | 12 + tools/perf/arch/riscv/util/perf_regs.c | 7 +- tools/perf/arch/s390/Makefile | 2 +- tools/perf/arch/s390/util/perf_regs.c | 7 +- tools/perf/arch/x86/Makefile | 2 +- tools/perf/arch/x86/tests/dwarf-unwind.c | 1 + tools/perf/arch/x86/tests/hybrid.c | 5 +- tools/perf/arch/x86/util/mem-events.c | 99 +- tools/perf/arch/x86/util/mem-events.h | 10 + tools/perf/arch/x86/util/perf_regs.c | 7 +- tools/perf/arch/x86/util/pmu.c | 19 +- tools/perf/arch/x86/util/tsc.c | 4 +- tools/perf/builtin-c2c.c | 45 +- tools/perf/builtin-list.c | 21 +- tools/perf/builtin-mem.c | 48 +- tools/perf/builtin-record.c | 19 +- tools/perf/builtin-report.c | 221 +- tools/perf/builtin-sched.c | 220 +- tools/perf/builtin-script.c | 66 +- tools/perf/builtin-stat.c | 52 +- tools/perf/builtin-top.c | 2 +- tools/perf/builtin-trace.c | 41 +- tools/perf/builtin-version.c | 3 + tools/perf/pmu-events/arch/powerpc/mapfile.csv | 1 + .../perf/pmu-events/arch/s390/cf_z16/extended.json | 62 +- .../pmu-events/arch/x86/alderlake/adl-metrics.json | 459 ++-- .../arch/x86/alderlake/floating-point.json | 30 +- .../arch/x86/alderlake/metricgroups.json | 11 +- .../perf/pmu-events/arch/x86/alderlake/other.json | 10 + .../pmu-events/arch/x86/alderlake/pipeline.json | 13 + .../perf/pmu-events/arch/x86/alderlaken/other.json | 9 + .../pmu-events/arch/x86/alderlaken/pipeline.json | 9 + tools/perf/pmu-events/arch/x86/amdzen4/cache.json | 56 + .../pmu-events/arch/x86/broadwell/bdw-metrics.json | 204 +- .../perf/pmu-events/arch/x86/broadwell/memory.json | 2 +- .../arch/x86/broadwell/metricgroups.json | 7 +- .../arch/x86/broadwellde/bdwde-metrics.json | 191 +- .../arch/x86/broadwellde/metricgroups.json | 7 +- .../arch/x86/broadwellde/uncore-power.json | 3 + .../arch/x86/broadwellx/bdx-metrics.json | 250 +- .../arch/x86/broadwellx/metricgroups.json | 7 +- .../arch/x86/broadwellx/uncore-power.json | 3 + .../arch/x86/cascadelakex/clx-metrics.json | 566 ++-- .../arch/x86/cascadelakex/metricgroups.json | 12 +- .../arch/x86/cascadelakex/uncore-power.json | 3 + .../arch/x86/emeraldrapids/uncore-cache.json | 152 ++ .../perf/pmu-events/arch/x86/grandridge/cache.json | 185 ++ .../arch/x86/grandridge/floating-point.json | 68 + .../pmu-events/arch/x86/grandridge/frontend.json | 16 + .../pmu-events/arch/x86/grandridge/memory.json | 66 + .../perf/pmu-events/arch/x86/grandridge/other.json | 16 + .../pmu-events/arch/x86/grandridge/pipeline.json | 353 +++ .../arch/x86/grandridge/uncore-cache.json | 1795 ++++++++++++ .../arch/x86/grandridge/uncore-interconnect.json | 175 ++ .../pmu-events/arch/x86/grandridge/uncore-io.json | 1187 ++++++++ .../arch/x86/grandridge/uncore-memory.json | 385 +++ .../arch/x86/grandridge/uncore-power.json | 10 + .../arch/x86/grandridge/virtual-memory.json | 113 +- .../pmu-events/arch/x86/haswell/hsw-metrics.json | 178 +- tools/perf/pmu-events/arch/x86/haswell/memory.json | 2 +- .../pmu-events/arch/x86/haswell/metricgroups.json | 7 +- .../pmu-events/arch/x86/haswellx/hsx-metrics.json | 224 +- .../pmu-events/arch/x86/haswellx/metricgroups.json | 7 +- .../pmu-events/arch/x86/haswellx/uncore-power.json | 3 + .../pmu-events/arch/x86/icelake/icl-metrics.json | 398 ++- tools/perf/pmu-events/arch/x86/icelake/memory.json | 1 + .../pmu-events/arch/x86/icelake/metricgroups.json | 12 +- tools/perf/pmu-events/arch/x86/icelake/other.json | 2 +- .../perf/pmu-events/arch/x86/icelake/pipeline.json | 10 +- .../pmu-events/arch/x86/icelakex/icx-metrics.json | 586 ++-- .../pmu-events/arch/x86/icelakex/metricgroups.json | 12 +- .../pmu-events/arch/x86/icelakex/uncore-power.json | 3 + .../pmu-events/arch/x86/ivybridge/ivb-metrics.json | 197 +- .../arch/x86/ivybridge/metricgroups.json | 7 +- .../pmu-events/arch/x86/ivytown/ivt-metrics.json | 200 +- .../pmu-events/arch/x86/ivytown/metricgroups.json | 7 +- .../pmu-events/arch/x86/ivytown/uncore-power.json | 3 + .../pmu-events/arch/x86/jaketown/jkt-metrics.json | 64 +- .../pmu-events/arch/x86/jaketown/metricgroups.json | 7 +- .../pmu-events/arch/x86/jaketown/uncore-power.json | 3 + tools/perf/pmu-events/arch/x86/mapfile.csv | 24 +- .../perf/pmu-events/arch/x86/meteorlake/cache.json | 8 +- .../arch/x86/meteorlake/floating-point.json | 86 +- .../perf/pmu-events/arch/x86/meteorlake/other.json | 10 + .../pmu-events/arch/x86/meteorlake/pipeline.json | 76 + .../arch/x86/meteorlake/virtual-memory.json | 36 + .../pmu-events/arch/x86/rocketlake/memory.json | 1 + .../arch/x86/rocketlake/metricgroups.json | 12 +- .../perf/pmu-events/arch/x86/rocketlake/other.json | 2 +- .../pmu-events/arch/x86/rocketlake/pipeline.json | 10 +- .../arch/x86/rocketlake/rkl-metrics.json | 406 +-- .../arch/x86/sandybridge/metricgroups.json | 7 +- .../arch/x86/sandybridge/snb-metrics.json | 71 +- .../arch/x86/sapphirerapids/metricgroups.json | 12 +- .../arch/x86/sapphirerapids/spr-metrics.json | 773 ++++-- .../pmu-events/arch/x86/sierraforest/cache.json | 185 ++ .../arch/x86/sierraforest/floating-point.json | 68 + .../pmu-events/arch/x86/sierraforest/frontend.json | 16 + .../pmu-events/arch/x86/sierraforest/memory.json | 66 + .../pmu-events/arch/x86/sierraforest/other.json | 16 + .../pmu-events/arch/x86/sierraforest/pipeline.json | 360 +++ .../arch/x86/sierraforest/uncore-cache.json | 2853 ++++++++++++++++++++ .../arch/x86/sierraforest/uncore-cxl.json | 10 + .../arch/x86/sierraforest/uncore-interconnect.json | 1228 +++++++++ .../arch/x86/sierraforest/uncore-io.json | 1634 +++++++++++ .../arch/x86/sierraforest/uncore-memory.json | 385 +++ .../arch/x86/sierraforest/uncore-power.json | 10 + .../arch/x86/sierraforest/virtual-memory.json | 113 +- tools/perf/pmu-events/arch/x86/skylake/memory.json | 2 +- .../pmu-events/arch/x86/skylake/metricgroups.json | 12 +- .../perf/pmu-events/arch/x86/skylake/pipeline.json | 2 +- .../pmu-events/arch/x86/skylake/skl-metrics.json | 395 +-- .../arch/x86/skylake/virtual-memory.json | 2 +- .../pmu-events/arch/x86/skylakex/metricgroups.json | 12 +- .../pmu-events/arch/x86/skylakex/skx-metrics.json | 548 ++-- .../pmu-events/arch/x86/skylakex/uncore-power.json | 3 + .../arch/x86/snowridgex/uncore-power.json | 3 + .../arch/x86/tigerlake/metricgroups.json | 12 +- .../perf/pmu-events/arch/x86/tigerlake/other.json | 2 +- .../pmu-events/arch/x86/tigerlake/pipeline.json | 10 +- .../pmu-events/arch/x86/tigerlake/tgl-metrics.json | 406 +-- .../arch/x86/tigerlake/uncore-interconnect.json | 2 + tools/perf/pmu-events/jevents.py | 27 +- tools/perf/tests/Build | 2 +- tools/perf/tests/builtin-test-list.c | 207 -- tools/perf/tests/builtin-test-list.h | 12 - tools/perf/tests/builtin-test.c | 378 +-- tools/perf/tests/expand-cgroup.c | 3 +- tools/perf/tests/make | 4 +- tools/perf/tests/maps.c | 3 + tools/perf/tests/parse-events.c | 9 +- tools/perf/tests/pmu-events.c | 22 +- tools/perf/tests/shell/base_probe/settings.sh | 48 + .../tests/shell/base_probe/test_adding_kernel.sh | 278 ++ .../tests/shell/common/check_all_lines_matched.pl | 39 + .../tests/shell/common/check_all_patterns_found.pl | 34 + .../tests/shell/common/check_no_patterns_found.pl | 34 + tools/perf/tests/shell/common/init.sh | 117 + tools/perf/tests/shell/common/patterns.sh | 268 ++ tools/perf/tests/shell/common/settings.sh | 79 + tools/perf/tests/shell/lib/perf_has_symbol.sh | 2 +- .../perf/tests/shell/lib/perf_json_output_lint.py | 4 +- .../perf/tests/shell/lib/perf_metric_validation.py | 231 +- tools/perf/tests/shell/lib/stat_output.sh | 12 + tools/perf/tests/shell/perftool-testsuite_probe.sh | 23 + tools/perf/tests/shell/stat+csv_output.sh | 2 + tools/perf/tests/shell/stat+json_output.sh | 13 + tools/perf/tests/shell/stat+std_output.sh | 4 +- tools/perf/tests/shell/stat_bpf_counters.sh | 12 +- tools/perf/tests/shell/stat_metrics_values.sh | 4 +- tools/perf/tests/shell/test_arm_callgraph_fp.sh | 6 + tools/perf/tests/symbols.c | 68 + tools/perf/tests/tests-scripts.c | 257 ++ tools/perf/tests/tests-scripts.h | 9 + tools/perf/tests/tests.h | 16 +- tools/perf/tests/thread-maps-share.c | 8 +- tools/perf/tests/vmlinux-kallsyms.c | 10 +- tools/perf/ui/browsers/res_sample.c | 2 +- tools/perf/ui/browsers/scripts.c | 2 +- tools/perf/ui/gtk/annotate.c | 14 +- tools/perf/util/Build | 2 + tools/perf/util/annotate-data.c | 119 +- tools/perf/util/annotate-data.h | 8 +- tools/perf/util/annotate.c | 269 +- tools/perf/util/annotate.h | 98 +- tools/perf/util/bpf-event.c | 1 + tools/perf/util/bpf_lock_contention.c | 124 +- .../util/bpf_skel/augmented_raw_syscalls.bpf.c | 15 +- tools/perf/util/bpf_skel/lock_contention.bpf.c | 16 +- tools/perf/util/bpf_skel/lock_data.h | 7 + tools/perf/util/bpf_skel/vmlinux/vmlinux.h | 7 + tools/perf/util/callchain.c | 2 +- tools/perf/util/cpumap.c | 33 +- tools/perf/util/cpumap.h | 19 +- tools/perf/util/data-convert-json.c | 4 +- tools/perf/util/data.c | 10 +- tools/perf/util/data.h | 6 +- tools/perf/util/debug.c | 3 + tools/perf/util/debug.h | 1 + tools/perf/util/dwarf-aux.c | 187 +- tools/perf/util/dwarf-aux.h | 18 + tools/perf/util/env.h | 1 + tools/perf/util/event.c | 4 +- tools/perf/util/evsel.c | 34 +- tools/perf/util/evsel.h | 1 + tools/perf/util/expr.c | 20 +- tools/perf/util/expr.l | 9 + tools/perf/util/machine.c | 375 +-- tools/perf/util/machine.h | 30 +- tools/perf/util/map.c | 9 +- tools/perf/util/maps.c | 1306 +++++---- tools/perf/util/maps.h | 65 +- tools/perf/util/mem-events.c | 217 +- tools/perf/util/mem-events.h | 19 +- tools/perf/util/metricgroup.c | 24 +- tools/perf/util/parse-events.c | 92 +- tools/perf/util/parse-events.h | 14 +- tools/perf/util/parse-events.y | 2 - tools/perf/util/parse-regs-options.c | 8 +- tools/perf/util/perf-regs-arch/perf_regs_aarch64.c | 4 - tools/perf/util/perf-regs-arch/perf_regs_arm.c | 4 - tools/perf/util/perf-regs-arch/perf_regs_csky.c | 4 - .../perf/util/perf-regs-arch/perf_regs_loongarch.c | 4 - tools/perf/util/perf-regs-arch/perf_regs_mips.c | 4 - tools/perf/util/perf-regs-arch/perf_regs_powerpc.c | 4 - tools/perf/util/perf-regs-arch/perf_regs_riscv.c | 4 - tools/perf/util/perf-regs-arch/perf_regs_s390.c | 4 - tools/perf/util/perf-regs-arch/perf_regs_x86.c | 4 - tools/perf/util/perf_regs.c | 11 +- tools/perf/util/perf_regs.h | 34 +- tools/perf/util/pmu.c | 32 +- tools/perf/util/pmu.h | 7 + tools/perf/util/pmus.c | 6 - tools/perf/util/pmus.h | 1 - tools/perf/util/print-events.c | 40 +- tools/perf/util/print_insn.c | 135 + tools/perf/util/print_insn.h | 16 + tools/perf/util/probe-event.c | 5 +- tools/perf/util/python-ext-sources | 1 + tools/perf/util/python.c | 1 + tools/perf/util/rb_resort.h | 5 - .../util/scripting-engines/trace-event-python.c | 8 +- tools/perf/util/session.c | 11 + tools/perf/util/session.h | 2 + tools/perf/util/setup.py | 1 + tools/perf/util/sort.c | 2 +- tools/perf/util/srcline.c | 2 + tools/perf/util/stat-display.c | 24 +- tools/perf/util/stat-shadow.c | 72 +- tools/perf/util/stat.h | 1 + tools/perf/util/symbol-elf.c | 79 +- tools/perf/util/symbol.c | 52 +- tools/perf/util/thread.c | 4 +- tools/perf/util/thread.h | 7 - tools/perf/util/thread_map.c | 11 +- tools/perf/util/threads.c | 190 ++ tools/perf/util/threads.h | 35 + tools/perf/util/trace-event-parse.c | 113 + tools/perf/util/trace-event.h | 3 + tools/perf/util/unwind-libdw.c | 2 +- tools/perf/util/unwind-libunwind-local.c | 2 +- tools/perf/util/unwind-libunwind.c | 7 +- tools/perf/util/util.c | 19 + tools/perf/util/util.h | 8 + tools/scripts/Makefile.include | 2 +- .../ftrace/test.d/dynevent/fprobe_entry_arg.tc | 18 + .../ftrace/test.d/dynevent/fprobe_syntax_errors.tc | 4 + .../ftrace/test.d/kprobe/kprobe_syntax_errors.tc | 2 + .../ftrace/test.d/kprobe/kretprobe_entry_arg.tc | 18 + tools/testing/selftests/kvm/Makefile | 4 +- 301 files changed, 21984 insertions(+), 5090 deletions(-) create mode 100644 tools/build/feature/test-libcapstone.c create mode 100644 tools/perf/arch/arm64/util/mem-events.h create mode 100644 tools/perf/arch/powerpc/util/mem-events.h create mode 100644 tools/perf/arch/powerpc/util/pmu.c create mode 100644 tools/perf/arch/x86/util/mem-events.h create mode 100644 tools/perf/pmu-events/arch/x86/grandridge/floating-point.json create mode 100644 tools/perf/pmu-events/arch/x86/grandridge/uncore-cache.json create mode 100644 tools/perf/pmu-events/arch/x86/grandridge/uncore-interconnect.json create mode 100644 tools/perf/pmu-events/arch/x86/grandridge/uncore-io.json create mode 100644 tools/perf/pmu-events/arch/x86/grandridge/uncore-memory.json create mode 100644 tools/perf/pmu-events/arch/x86/grandridge/uncore-power.json create mode 100644 tools/perf/pmu-events/arch/x86/sierraforest/floating-point.json create mode 100644 tools/perf/pmu-events/arch/x86/sierraforest/uncore-cache.json create mode 100644 tools/perf/pmu-events/arch/x86/sierraforest/uncore-cxl.json create mode 100644 tools/perf/pmu-events/arch/x86/sierraforest/uncore-interconnect.json create mode 100644 tools/perf/pmu-events/arch/x86/sierraforest/uncore-io.json create mode 100644 tools/perf/pmu-events/arch/x86/sierraforest/uncore-memory.json create mode 100644 tools/perf/pmu-events/arch/x86/sierraforest/uncore-power.json delete mode 100644 tools/perf/tests/builtin-test-list.c delete mode 100644 tools/perf/tests/builtin-test-list.h create mode 100644 tools/perf/tests/shell/base_probe/settings.sh create mode 100755 tools/perf/tests/shell/base_probe/test_adding_kernel.sh create mode 100755 tools/perf/tests/shell/common/check_all_lines_matched.pl create mode 100755 tools/perf/tests/shell/common/check_all_patterns_found.pl create mode 100755 tools/perf/tests/shell/common/check_no_patterns_found.pl create mode 100644 tools/perf/tests/shell/common/init.sh create mode 100644 tools/perf/tests/shell/common/patterns.sh create mode 100644 tools/perf/tests/shell/common/settings.sh create mode 100755 tools/perf/tests/shell/perftool-testsuite_probe.sh create mode 100644 tools/perf/tests/tests-scripts.c create mode 100644 tools/perf/tests/tests-scripts.h create mode 100644 tools/perf/util/print_insn.c create mode 100644 tools/perf/util/print_insn.h create mode 100644 tools/perf/util/threads.c create mode 100644 tools/perf/util/threads.h create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/fprobe_entry_arg.tc create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_entry_arg.tc