aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests
AgeCommit message (Expand)AuthorFilesLines
3 daysperf test: Add truncated perf.data robustness testArnaldo Carvalho de Melo1-0/+86
3 daysperf session: Validate HEADER_ATTR attr.size before swappingArnaldo Carvalho de Melo1-0/+6
3 daysperf tests hwmon_pmu: Use PRIu64 + (uint64_t) cast for a __u64 field to work ...Arnaldo Carvalho de Melo1-2/+3
5 daysperf tests: Sort includes and add missed explicit dependenciesIan Rogers2-12/+20
6 daysperf test: Add stat metrics --for-each-cgroup testIan Rogers1-0/+200
9 daysperf tests: Add test for stat delay option with duration_timeIan Rogers1-0/+53
9 daysperf test ibs: Skip privilege test on Zen6 and newer platformsRavi Bangoria1-4/+33
11 daysperf tests: Add test for uncore event sortingIan Rogers4-0/+179
11 daysperf evlist: Try to avoid computing evsel from sampleIan Rogers2-2/+7
11 daysperf hist: Remove evsel from struct hist_entry_iterIan Rogers3-3/+0
11 daysperf evsel: Refactor evsel tracepoint sample accessors perf_sampleIan Rogers2-3/+3
11 daysperf event: Fix size of synthesized sample with branch stacksIan Rogers2-4/+9
2026-05-15perf pmu: Skip test on Arm64 when #slots is zeroLeo Yan1-2/+22
2026-05-11perf test: Fix "trace summary" test for musl-based systemsMartin Kaiser1-1/+1
2026-05-11perf test: Fix sys_enter_openat event test for muslMartin Kaiser1-1/+4
2026-05-11perf test: Fix nanosleep check in the ftrace testMartin Kaiser1-3/+4
2026-05-05perf build: Remove NO_GTK2 build testNamhyung Kim1-5/+1
2026-04-13perf test: Fixes for check branch stack samplingIan Rogers1-49/+95
2026-04-13perf test: Fix inet_pton probe failure and unroll call graphIan Rogers1-4/+4
2026-04-08perf test: Make perf trace BTF general tests exclusiveThomas Richter1-1/+1
2026-04-08perf data: Clean up use_stdio and structuresIan Rogers1-1/+2
2026-04-08perf tools: Use calloc() where applicableArnaldo Carvalho de Melo2-1/+1
2026-04-08perf tools: Make more global variables staticIan Rogers3-5/+5
2026-04-05perf test: Skip sched stats test for !rootNamhyung Kim1-0/+5
2026-04-05perf sample: Add evsel to struct perf_sampleIan Rogers3-2/+3
2026-04-05perf sample: Make sure perf_sample__init/exit are usedIan Rogers2-0/+3
2026-04-05perf tests sched stats: Write output to temp fileIan Rogers1-10/+27
2026-04-02perf tests kwork: Add basic kwork coverage testsIan Rogers1-0/+79
2026-04-02perf test: Skip perf data type profiling tests for s390Thomas Richter1-0/+4
2026-04-02perf test: Fix ratio_to_prev event parsing testThomas Falcon1-21/+28
2026-04-01perf test: Fix perf stat --bpf-counters on hybrid machinesNamhyung Kim1-4/+16
2026-04-01perf tests: Write test files to tmpdirIan Rogers1-19/+23
2026-04-01libperf cpumap: Make index and nr types unsignedIan Rogers5-7/+10
2026-03-19perf evlist: Improve default event for s390Ian Rogers4-5/+14
2026-03-03perf test type profiling: Remote typedef on structIan Rogers2-4/+4
2026-02-21Merge tag 'perf-tools-for-v7.0-1-2026-02-21' of git://git.kernel.org/pub/scm/...Linus Torvalds33-78/+1367
2026-02-12perf test script: Add python script testing supportIan Rogers1-0/+113
2026-02-12perf test script: Add perl script testing supportIan Rogers1-0/+102
2026-02-12perf test: perf data --to-ctf testingIan Rogers1-0/+104
2026-02-12perf test: Test pipe mode with data conversion --to-jsonIan Rogers1-9/+24
2026-02-12perf test data_type_profiling.sh: Skip just the Rust tests if code_with_type ...Arnaldo Carvalho de Melo1-5/+5
2026-02-11Merge tag 'kbuild-7.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kbu...Linus Torvalds1-1/+0
2026-02-09perf test code_with_type.sh: Skip test if rust wasn't available at build timeArnaldo Carvalho de Melo1-0/+5
2026-02-09perf tests workload: Formatting for code_with_type.rsDmitrii Dolgov1-1/+5
2026-02-08perf tests: Test annotate with data type profiling and CDmitrii Dolgov1-8/+23
2026-02-08perf tests: Test annotate with data type profiling and rustDmitrii Dolgov1-0/+69
2026-02-08perf test workload: Add code_with_type test workloadDmitrii Dolgov5-0/+82
2026-02-08perf test parse-metric: Ensure aggregate counts appear to have runIan Rogers1-0/+2
2026-02-08perf test record.sh: Fix shellcheck warningIan Rogers1-1/+1
2026-02-06perf test: Fix test case Leader sampling on s390Thomas Richter1-1/+15
2026-02-06perf test addr2line_inlines: Ensure inline information shows on LBR leavesIan Rogers1-0/+28
2026-02-06perf tests: build-test coverage for NO_JEVENTS=1Ian Rogers1-0/+2
2026-02-06perf tests: Additional 'perf stat' testsIan Rogers1-0/+242
2026-02-03perf test kvm: Add stat live testingIan Rogers1-1/+29
2026-02-03perf capstone: Support for dlopen-ing libcapstone.soIan Rogers1-0/+2
2026-02-03perf build: Remove NO_LIBCAP that controls nothingIan Rogers1-1/+1
2026-01-27perf script: Fix script_fetch_insn for more than just x86Ian Rogers1-1/+0
2026-01-26perf test: Fix test perf evlist for z/VM s390xThomas Richter1-2/+2
2026-01-23perf tests sched: Avoid error in cleanup on loaded machinesIan Rogers1-1/+1
2026-01-22kallsyms: Get rid of kallsyms relative baseArd Biesheuvel1-1/+0
2026-01-22perf sched stats: Add basic 'perf sched stats' testSwapnil Sapkal1-0/+64
2026-01-20perf tests sw-clock: Mark the volatile tmp variable as __maybe_unusedArnaldo Carvalho de Melo1-1/+2
2026-01-20perf cs-etm: Test sparse CPU mapsJames Clark1-0/+54
2026-01-20perf test: Add missing newlines in debug messagesJames Clark1-3/+3
2026-01-20perf tests kallsyms: Fix missed map__put()Ian Rogers1-0/+1
2026-01-20perf test: Add DWARF callchain conversion testNamhyung Kim1-0/+45
2026-01-20perf machine: Add inline information to frame pointer and LBR callchainsIan Rogers1-5/+26
2026-01-20perf build: Remove NO_LIBDW_DWARF_UNWIND optionIan Rogers1-2/+1
2026-01-14perf tests: Test evsel__set_config_if_unset() and config change trackingJames Clark1-0/+91
2026-01-13perf test: Do not skip when some metric-group tests succeedNamhyung Kim1-10/+16
2026-01-13perf test: Do not skip when some metrics tests succeededNamhyung Kim1-7/+22
2026-01-13perf test: Use shelldir to refer perf source locationNamhyung Kim1-1/+1
2026-01-13perf test: Skip dlfilter test for build failuresNamhyung Kim1-4/+4
2026-01-13perf util: Remove SHA-1 codeEric Biggers1-49/+0
2026-01-13perf util: Add BLAKE2s supportEric Biggers1-1/+77
2026-01-13perf test: Test addr2line unwinding works with inline functionsIan Rogers1-0/+47
2026-01-12perf test workload: Add inlineloop test workloadIan Rogers4-0/+56
2026-01-12perf test subcmd help: Add exclude disjoint subcmd namesIan Rogers1-0/+26
2026-01-12perf test stat tests: Fix for virtualized machinesThomas Richter1-1/+1
2026-01-06perf build: Skip nondistro build test if libbfd is oldJames Clark1-0/+5
2026-01-06perf test java symbol: Additional libperf-jvmti.so path checkIan Rogers1-0/+4
2026-01-06perf test: Fix test case perf evlist tests for s390xThomas Richter1-2/+3
2026-01-05Merge remote-tracking branch 'torvalds/master' into perf-tools-nextArnaldo Carvalho de Melo2-2/+2
2025-12-23perf tests top: Make the test exclusiveIan Rogers1-1/+1
2025-12-23perf tests kvm: Avoid leaving perf.data.guest file aroundIan Rogers1-1/+1
2025-12-17perf tools: Use const for variables receiving str{str,r?chr}() returnsArnaldo Carvalho de Melo1-2/+2
2025-12-07Merge tag 'perf-tools-for-v6.19-2025-12-06' of git://git.kernel.org/pub/scm/l...Linus Torvalds40-1097/+2382
2025-12-04perf tests stat: Add test for error for an offline CPUIan Rogers1-0/+27
2025-12-04perf tests stat: Add "--null" coverageIan Rogers1-0/+12
2025-12-03perf test kvm: Add some basic perf kvm test coverageIan Rogers1-0/+154
2025-12-03perf tests evlist: Add basic evlist testIan Rogers1-0/+79
2025-12-03perf tests script dlfilter: Add a dlfilter testIan Rogers1-0/+107
2025-12-03perf tests kallsyms: Add basic kallsyms testIan Rogers1-0/+56
2025-12-03perf tests timechart: Add a perf timechart testIan Rogers1-0/+67
2025-12-03perf tests top: Add basic perf top coverage testIan Rogers1-0/+74
2025-12-03perf tests buildid: Add purge and remove testingIan Rogers1-26/+177
2025-12-03perf tests c2c: Add a basic c2cIan Rogers1-0/+62
2025-12-02perf test: Add kallsyms split testNamhyung Kim4-0/+159
2025-12-02perf test: Add python JIT dump testNamhyung Kim1-0/+81
2025-12-02perf test: Fix hybrid testing of event fallback testIan Rogers1-17/+2
2025-11-26perf tools: Don't read build-ids from non-regular filesJames Clark2-3/+3
2025-11-24perf tools: Add support for perf_event_attr::config4James Clark1-1/+12
2025-11-20perf test all metrics: Fully ignore Default metric failuresIan Rogers1-10/+17
2025-11-19perf test maps: Additional maps__fixup_overlap_and_insert testsIan Rogers3-3/+83
2025-11-17perf stat: Reduce scope of walltime_nsecs_statsIan Rogers2-4/+0
2025-11-16perf test: Don't fail if user rdpmc returns 0 when disabledIan Rogers1-1/+1
2025-11-16perf test: Be tolerant of missing json metric none valueIan Rogers1-1/+4
2025-11-13perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependenciesIan Rogers3-0/+3
2025-11-13perf build: Remove NO_AUXTRACE build optionIan Rogers1-3/+1
2025-11-13perf test: Fix lock contention testRavi Bangoria1-5/+9
2025-11-12perf test: Add a perf event fallback testZide Chen1-0/+86
2025-11-11perf test stat csv: Update test expectations and eventsIan Rogers2-2/+2
2025-11-11perf test stat: Update test expectations and eventsIan Rogers1-3/+3
2025-11-11perf test stat: Update shadow test to use metricsIan Rogers1-2/+2
2025-11-11perf test metrics: Update all metrics for possibly failing default metricsIan Rogers1-1/+6
2025-11-11perf test stat: Update std_output testing metric expectationsIan Rogers1-2/+2
2025-11-11perf test stat: Ignore failures in Default[234] metricgroupsIan Rogers1-0/+3
2025-11-11perf test stat+json: Improve metric-only testingIan Rogers2-3/+3
2025-11-09perf test: Add test that command line period overrides sysfs/json valuesIan Rogers1-0/+37
2025-10-28perf test workload: Add thread count argument to thloopIan Rogers1-7/+38
2025-10-15perf test parse-events: Add evsel test helperIan Rogers1-638/+742
2025-10-15perf test parse-events: Add evlist test helperIan Rogers1-71/+165
2025-10-15perf test: Clean up test_..config helpersIan Rogers1-19/+4
2025-10-15perf test: Switch cycles event to cpu-cyclesIan Rogers4-5/+5
2025-10-15perf test parse-events: Remove cpu PMU requirementIan Rogers1-120/+110
2025-10-15perf test parse-events: Without a PMU use cpu-cycles rather than cyclesIan Rogers1-28/+33
2025-10-15perf test parse-events: Use evsel__match for legacy eventsIan Rogers1-225/+74
2025-10-15perf parse-events: Remove unused FILE input argument to scannerIan Rogers2-3/+2
2025-10-15perf pmu: Don't eagerly parse event termsIan Rogers1-22/+2
2025-10-13perf tests: use strdup() in "Object code reading"James Clark1-2/+7
2025-10-06perf tests: Don't retest sections in "Object code reading"James Clark1-34/+85
2025-10-06perf test coresight: Dismiss clang warning for unroll loop threadLeo Yan1-1/+3
2025-10-06perf test coresight: Dismiss clang warning for thread loopLeo Yan1-2/+2
2025-10-06perf test coresight: Dismiss clang warning for memcpy threadLeo Yan1-0/+2
2025-10-03perf record: Add auto counter reload parse and regression testsThomas Falcon2-0/+94
2025-10-02perf test: Stat std output don't fail metric onlyIan Rogers1-1/+5
2025-10-01perf test: Remove C python_use testIan Rogers4-31/+0
2025-10-01perf test: Add an 'import perf' test shell scriptIan Rogers1-0/+36
2025-10-01perf test: Extend branch stack sampling test for Arm64 BRBEJames Clark5-1/+60
2025-10-01perf test: Add syscall and address tests to brstack testJames Clark1-1/+60
2025-10-01perf test: Refactor brstack testJames Clark1-8/+13
2025-10-01perf test perftool_testsuite: Use absolute pathsVeronika Molnarova8-84/+202
2025-09-19perf test: Avoid uncore_imc/clockticks in uniquification testIan Rogers1-60/+49
2025-09-19perf test: Don't leak workload gopipe in PERF_RECORD_*Ian Rogers1-0/+4
2025-09-19tools build: Make libperl opt-in rather than opt-out, deprecateIan Rogers1-4/+4
2025-09-19perf test attr: Add missing int_mist.uop_dropping event to test-stat filesTrevor Allison4-0/+28
2025-09-19perf test shell lbr: Avoid failures with perf event paranoiaIan Rogers1-6/+20
2025-09-19perf tests record: Update testcase to fix usage of affinity for machines with...Athira Rajeev1-10/+26
2025-09-19perf test: AMD IBS swfilt skip kernel tests if paranoia is >1Ian Rogers1-13/+38
2025-09-08Merge remote-tracking branch 'torvalds/master' into perf-tools-nextArnaldo Carvalho de Melo2-3/+3
2025-09-04perf test: Checking BPF metadata collection fails on version stringThomas Richter1-1/+1
2025-09-03perf tests: Fix "PE file support" test buildJames Clark1-2/+2
2025-09-03perf test shell lock_contention: Extra debug diagnosticsIan Rogers1-1/+6
2025-09-03perf test trace_btf_enum: Skip if permissions are insufficientIan Rogers1-0/+11
2025-08-25perf symbol: Add blocking argument to filename__read_build_idIan Rogers1-1/+1
2025-07-30perf test: Ensure lock contention using pipe modeJan Polensky1-13/+13
2025-07-26perf test: Fix comment orderingBlake Jones1-2/+2
2025-07-25perf sort: Use perf_env to set arch sort keys and headerIan Rogers4-17/+17
2025-07-25perf test: Move PERF_SAMPLE_WEIGHT_STRUCT parsing to common testIan Rogers1-0/+14
2025-07-25perf machine: Explicitly pass in host perf_envIan Rogers5-9/+21
2025-07-25perf test: Avoid use perf_envIan Rogers2-23/+32
2025-07-25perf evlist: Change env variable to sessionIan Rogers1-0/+1
2025-07-25perf session: Add accessor for session->header.envIan Rogers1-21/+17
2025-07-25perf dso: Move build_id to dso_idIan Rogers1-2/+2
2025-07-25perf build-id: Ensure struct build_id is empty before useIan Rogers2-2/+2
2025-07-25perf build-id: Change sprintf functions to snprintfIan Rogers1-1/+1
2025-07-24perf parse-events: Fix missing slots for Intel topdown metric eventsIan Rogers1-12/+12
2025-07-24libperf evsel: Rename own_cpus to pmu_cpusIan Rogers1-2/+2
2025-07-11perf jevents: If the long_desc and desc are identical then drop the long_descIan Rogers1-22/+0
2025-07-11perf stat: Move metric list from config to evlistIan Rogers3-34/+14
2025-07-11perf tests bp_account: Fix leaked file descriptorLeo Yan1-0/+1
2025-07-03perf test: Add more test cases to sched testNamhyung Kim1-8/+31
2025-07-03perf tests make: Add NO_LIBDW=1 to minimal and add standalone testIan Rogers1-1/+3
2025-07-03perf header: Fix pipe mode header dumpingIan Rogers1-1/+1
2025-07-02perf test: In forked mode add check that fds aren't leakedIan Rogers1-0/+69
2025-07-02perf hwmon_pmu: Hold path rather than fdIan Rogers1-5/+6
2025-07-02perf test code-reading: Avoid a leak of cpus and threadsIan Rogers1-7/+0
2025-07-01perf test: Add libsubcmd help testsNamhyung Kim4-0/+112
2025-07-01perf test: Check test suite description properlyNamhyung Kim1-2/+5
2025-07-01perf test: Add sched latency and script shell testsIan Rogers1-0/+93
2025-07-01perf test: Name the noploop processIan Rogers1-0/+2
2025-06-30perf build: Specify shellcheck should use bashCollin Funk1-1/+1
2025-06-30perf test annotate: Use --percent-limit rather than head to reduce outputIan Rogers1-7/+8
2025-06-30perf test: Add basic callgraph test to record testingIan Rogers1-0/+30
2025-06-30perf test: perf header test fails on s390Thomas Richter1-2/+2
2025-06-27perf stat: Fix uncore aggregation numberChun-Tse Shao1-2/+2
2025-06-26tools: Remove libcrypto dependencyYuzhuo Jing1-3/+1
2025-06-26perf util: add a basic SHA-1 implementationEric Biggers1-1/+44
2025-06-26perf test: Change all remaining #!/bin/sh to #!/bin/bashJames Clark43-43/+43
2025-06-25perf tests: Add a DRM PMU testIan Rogers1-0/+78
2025-06-25perf debug: Add function symbols to dump_stackIan Rogers1-1/+14
2025-06-24perf test: Replace grep perl regexp with awkChun-Tse Shao1-2/+3
2025-06-22Merge tag 'v6.16-rc3' into perf-tools-nextNamhyung Kim2-2/+11
2025-06-20perf test: add test for BPF metadata collectionBlake Jones1-0/+76
2025-06-20perf test: Add header shell testIan Rogers1-0/+74
2025-06-20perf test: Expand user space event reading (rdpmc) testsIan Rogers2-76/+218
2025-06-17perf test: Directory file descriptor leakIan Rogers1-0/+1
2025-06-16perf test: Restrict uniquifying test to machines with 'uncore_imc'Chun-Tse Shao1-2/+10
2025-06-09perf test trace: Change the regex pattern in the struct testHoward Chu1-1/+1
2025-06-09perf test trace: Use --sort-events in BTF general testsHoward Chu1-3/+3