aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests
AgeCommit message (Expand)AuthorFilesLines
2024-02-26perf test: Fix spelling mistake "curent" -> "current"Colin Ian King1-1/+1
2024-02-26perf test: Use TEST_FAIL in the TEST_ASSERT macros instead of -1Arnaldo Carvalho de Melo1-8/+8
2024-02-22perf tests: Add option to run tests in parallelIan Rogers1-99/+215
2024-02-22perf tests: Run time generate shell test suitesIan Rogers3-149/+80
2024-02-22perf tests: Use scandirat for shell script findingIan Rogers3-71/+95
2024-02-22perf test: Rename builtin-test-list and add missed header guardIan Rogers4-3/+7
2024-02-22perf tests: Avoid fork in perf_has_symbol testIan Rogers1-1/+1
2024-02-20perf: build: introduce the libcapstoneChangbin Du1-1/+3
2024-02-16perf testsuite: Add test for kprobe handlingVeronika Molnarova2-0/+326
2024-02-16perf testsuite: Add common output checking helpersVeronika Molnarova3-0/+107
2024-02-16perf testsuite: Add test case for perf probeVeronika Molnarova1-0/+23
2024-02-16perf testsuite: Add initialization script for shell testsVeronika Molnarova1-0/+117
2024-02-16perf testsuite: Add common setting for shell testsVeronika Molnarova1-0/+79
2024-02-16perf testsuite: Add common regex pattersVeronika Molnarova1-0/+268
2024-02-16perf test: Enable Symbols test to work with a current module dsoAdrian Hunter1-0/+68
2024-02-12perf maps: Hide maps internalsIan Rogers1-4/+4
2024-02-12perf maps: Get map before returning in maps__find_by_nameIan Rogers1-2/+3
2024-02-12perf maps: Get map before returning in maps__findIan Rogers1-3/+2
2024-02-12perf maps: Switch from rbtree to lazily sorted array for addressesIan Rogers1-0/+3
2024-02-12Merge branch 'perf-tools' into perf-tools-nextNamhyung Kim3-16/+51
2024-02-09perf stat: Support per-cluster aggregationYicong Yang5-1/+32
2024-02-08perf test: Skip metric w/o event name on arm64 in stat STD output linterYicong Yang1-1/+1
2024-02-02perf jevents: Drop or simplify small integer valuesIan Rogers1-11/+11
2024-02-02perf parse-events: Print all errorsIan Rogers2-7/+5
2024-02-01perf test: Simplify metric value validation test final reportWeilin Wang2-108/+127
2024-01-26perf test shell daemon: Make signal test less racyIan Rogers1-10/+24
2024-01-26perf test shell script: Fix test for python being disabledIan Rogers1-2/+1
2024-01-26perf test: Workaround debug output in list testIan Rogers1-3/+18
2024-01-26perf test: Fix 'perf script' tests on s390Thomas Richter1-1/+8
2024-01-24perf test: Skip test_arm_callgraph_fp.sh if unwinding isn't built inJames Clark1-0/+6
2024-01-22perf test: raise limit to 20 percent for perf_stat_--bpf-counters_testThomas Richter1-6/+6
2024-01-04perf test: test case 'Setup struct perf_event_attr' fails on s390 on z/vmThomas Richter1-1/+1
2024-01-04perf tests: Add perf script testIan Rogers1-0/+66
2023-12-18perf tests: Use function to add missing maps lockIan Rogers2-106/+136
2023-12-18perf tests: Make DSO tests a suite rather than individualIan Rogers2-5/+12
2023-12-12libperf cpumap: Replace usage of perf_cpu_map__new(NULL) with perf_cpu_map__n...Ian Rogers7-7/+7
2023-12-12libperf cpumap: Rename perf_cpu_map__dummy_new() to perf_cpu_map__new_any_cpu()Ian Rogers3-3/+3
2023-12-06perf test shell diff: Skip test if test_loop symbol is missing in the perf bi...Ian Rogers1-0/+7
2023-12-05perf test: Add basic 'perf diff' testIan Rogers1-0/+101
2023-12-05perf test: Add basic 'perf list --json" testIan Rogers1-0/+19
2023-12-05perf test: Use common python setup libraryIan Rogers4-33/+26
2023-12-05perf build: Shellcheck support for OUTPUT directoryIan Rogers2-22/+14
2023-12-04perf test record user-regs: Fix mask for vg registerVeronika Molnarova2-2/+2
2023-11-29perf test record+probe_libc_inet_pton: Fix call chain match on powerpcLikhitha Korrapati1-1/+4
2023-11-29perf tests sigtrap: Skip if running on a kernel with sleepable spinlocksArnaldo Carvalho de Melo1-2/+44
2023-11-29perf test sigtrap: Generalize the BTF routine to reuse it in this testArnaldo Carvalho de Melo1-20/+40
2023-11-27perf test: Use existing config value for objdump pathJames Clark1-1/+1
2023-11-27perf tests: Skip data symbol test if buf1 symbol is missingAdrian Hunter1-0/+5
2023-11-27perf tests: Make data symbol test wait for perf to startAdrian Hunter1-2/+9
2023-11-27perf tests: Skip branch stack sampling test if brstack_bench symbol is missingAdrian Hunter1-0/+6
2023-11-27perf tests: Skip Arm64 callgraphs test if leafloop symbol is missingAdrian Hunter1-0/+6
2023-11-27perf tests: Skip record test if test_loop symbol is missingAdrian Hunter1-1/+7
2023-11-27perf tests: Skip pipe test if noploop symbol is missingAdrian Hunter1-1/+8
2023-11-27perf tests lib: Add perf_has_symbol.shAdrian Hunter1-0/+21
2023-11-27perf tools: Add perf binary dependent rule for shellcheck log in Makefile.perfAthira Rajeev1-0/+22
2023-11-27perf tests coresight: Remove unused variableszhujun23-3/+0
2023-11-27perf parse-events: Make legacy events lower priority than sysfs/JSONIan Rogers1-71/+185
2023-11-27perf test: Basic branch counter supportKan Liang1-0/+30
2023-11-27perf test: Remove atomics from test_loop to avoid test failuresNick Forrington1-3/+1
2023-11-09perf test: Add support for setting objdump binary via perf configJames Clark1-0/+12
2023-11-09perf test: Add option to change objdump binaryJames Clark3-1/+5
2023-11-09perf tests offcpu: Adjust test case perf record offcpu profiling tests for s390Thomas Richter1-2/+2
2023-11-09perf tests attr: Fix spelling mistake "whic" to "which"zhaimingbing1-1/+1
2023-11-09perf test: Simplify "object code reading" testNamhyung Kim1-53/+23
2023-11-09perf tools: Fix spelling mistake "parametrized" -> "parameterized"Colin Ian King2-3/+3
2023-11-03perf tests make: Remove the last egrep call, use 'grep -E' insteadArnaldo Carvalho de Melo1-1/+1
2023-10-26perf tests: test_arm_coresight: Simplify source iterationJames Clark1-14/+3
2023-10-25libperf rc_check: Add RC_CHK_EQUALIan Rogers2-7/+6
2023-10-25perf test: Skip CoreSight tests if cs_etm// event is not availableMichael Petlan1-0/+2
2023-10-17perf tests: Fix shellcheck warning in stat_all_metricgroupsAthira Rajeev1-1/+1
2023-10-17perf tests: Fix shellcheck warning in record_sideband.shAthira Rajeev1-1/+1
2023-10-17perf tests: Ignore shellcheck warning in lock_contentionAthira Rajeev1-0/+1
2023-10-04tools/perf/tests: Fix object code reading to skip address that falls out of t...Athira Rajeev1-0/+10
2023-10-04perf test: Avoid system wide when not privilegedIan Rogers1-2/+14
2023-09-27perf test: Fix parse-events tests to skip parametrized eventsAthira Rajeev1-0/+39
2023-09-27perf test: Add pmu-event test for "Compat" and new event_field.Jing Zhang1-0/+55
2023-09-27perf test: Make matching_pmu effectiveJing Zhang1-2/+8
2023-09-26tests/shell: Fix shellcheck warnings for SC2153 in multiple scriptsAthira Rajeev5-0/+5
2023-09-26tests/shell: Fix shellcheck issues in tests/shell/stat+shadow_stat.sh tetscaseAthira Rajeev2-4/+4
2023-09-26tests/shell: Fix shellcheck SC1090 to handle the location of sourced filesAthira Rajeev13-0/+26
2023-09-21perf test lock_contention.sh: Skip test if not enough CPUsVeronika Molnarova1-0/+6
2023-09-21perf test stat+shadow_stat.sh: Add threshold for rounding errorsVeronika Molnarova1-6/+24
2023-09-18perf test: Detect off-cpu support from build optionsIan Rogers1-1/+1
2023-09-18perf test: Ensure EXTRA_TESTS is covered in build testIan Rogers1-0/+1
2023-09-18perf test: Update build test for changed BPF skeleton defaultsIan Rogers1-3/+3
2023-09-16perf test: Fix test-record-dummy-C0 failure for supported PERF_FORMAT_LOST fe...Yang Jihong1-1/+1
2023-09-15perf pmu: Move pmu__find_core_pmu() to pmus.cJames Clark1-1/+1
2023-09-12perf test: Update cs_etm testcase for Arm ETERuidong Tian1-1/+14
2023-09-12perf test: Add a test for strcmp_cpuid_str() expressionJames Clark1-4/+27
2023-09-12perf util: Add a function for replacing characters in a stringJames Clark4-0/+34
2023-09-12perf test: Check result of has_event(cycles) testJames Clark1-1/+1
2023-09-12perf test shell lock_contention: Add cgroup aggregation and filter testsNamhyung Kim1-0/+45
2023-09-12perf test: Add perf_event_attr test for record dummy eventYang Jihong1-0/+55
2023-09-12perf test: Add test case for record sideband eventsYang Jihong1-0/+58
2023-09-12perf record: Move setting tracking events before record__init_thread_masks()Yang Jihong2-8/+10
2023-09-11perf parse-events: Introduce 'struct parse_events_terms'Ian Rogers2-14/+21
2023-09-02perf parse-events: Fixes relating to no_value termsIan Rogers1-1/+1
2023-08-30perf metric: Add #num_cpus_online literalIan Rogers1-1/+4
2023-08-29perf jevents: Use "default_core" for events with no UnitIan Rogers1-9/+10
2023-08-29perf test stat_bpf_counters_cgrp: Enhance perf stat cgroup BPF counter testNamhyung Kim1-1/+1
2023-08-29perf test shell stat_bpf_counters: Fix test on IntelNamhyung Kim1-2/+2
2023-08-29perf test shell record_bpf_filter: Skip 6.2 kernelNamhyung Kim1-0/+6
2023-08-25perf pmu: Make id const and add missing freeIan Rogers1-2/+2
2023-08-25perf parse-events: Make term's config constIan Rogers1-9/+9
2023-08-25perf pmu: Remove logic for PMU name being NULLIan Rogers1-8/+8
2023-08-24perf jevents: Don't append Unit to descIan Rogers1-11/+11
2023-08-24perf pmu: Lazily load sysfs aliasesIan Rogers1-0/+2
2023-08-24perf pmu: Lazily add JSON eventsIan Rogers1-0/+2
2023-08-24perf pmu: Cache JSON events tableIan Rogers1-0/+2
2023-08-24perf pmu: Parse sysfs events directly from a fileIan Rogers1-1/+1
2023-08-24perf pmu-events: Add pmu_events_table__find_event()Ian Rogers1-0/+5
2023-08-24perf pmu-events: Reduce processed events by passing PMUIan Rogers1-2/+4
2023-08-24perf jevents: Group events by PMUIan Rogers1-12/+18
2023-08-24perf pmu-events: Add extra underscore to function namesIan Rogers1-2/+2
2023-08-24perf pmu: Abstract alias/event structIan Rogers1-53/+48
2023-08-24perf pmu: Make the loading of formats lazyIan Rogers1-1/+1
2023-08-23perf pmu: Pass PMU rather than aliases and formatIan Rogers2-29/+20
2023-08-23perf pmu: Avoid passing format list to perf_pmu__config_terms()Ian Rogers1-34/+42
2023-08-16perf tests mmap-basic: Adapt for riscvAlexandre Ghiti1-2/+4
2023-08-15perf dlfilter: Add al_cleanup()Adrian Hunter1-10/+28
2023-08-15perf test: Add perf record sample filtering testNamhyung Kim1-0/+128
2023-08-15perf parse-events: Remove BPF event supportIan Rogers11-860/+0
2023-08-15perf bpf: Remove support for embedding clang for compiling BPF events (-e foo.c)Ian Rogers4-35/+0
2023-08-15perf tests trace+probe_vfs_getname.sh: Accept quotes surrounding the filenameArnaldo Carvalho de Melo1-1/+1
2023-08-15perf test trace+probe_vfs_getname.sh: Remove stray \ before /Arnaldo Carvalho de Melo1-1/+1
2023-08-04Merge remote-tracking branch 'torvalds/master' into perf-tools-nextArnaldo Carvalho de Melo2-2/+18
2023-08-03perf test bpf: Address error about non-null argument for epoll_pwait 2nd argArnaldo Carvalho de Melo1-1/+2
2023-08-03perf tests stat+std_output: Fix shellcheck warnings about word splitting/quot...Athira Rajeev1-2/+1
2023-08-03perf tests stat+std_output: Fix shellcheck warnings about word splitting/quotingAthira Rajeev1-1/+1
2023-08-03perf tests lib stat_output: Fix shellcheck warning about missing shebangKajol Jain1-0/+1
2023-08-03perf tests coresight thread_loop_check_tid_2: Fix shellcheck warnings about w...Kajol Jain1-1/+1
2023-08-03perf tests record+zstd_comp_decomp: Fix the shellcheck warnings about word sp...Athira Rajeev1-7/+7
2023-08-03perf tests lib waiting: Fix the shellcheck warnings about missing shebangAthira Rajeev1-0/+1
2023-08-03perf tests lib probe_vfs_getname: Fix shellcheck warnings about missing sheba...Athira Rajeev1-2/+3
2023-08-03perf tests unroll_loop_thread_10: Fix shellcheck warnings about word splittin...Athira Rajeev1-1/+1
2023-08-03perf tests thread_loop_check_tid_10: Fix shellcheck warnings bout word splitt...Athira Rajeev1-1/+1
2023-08-03perf tests lib probe: Fix shellcheck warning about about missing shebangKajol Jain1-0/+1
2023-08-03perf tests memcpy_thread_16k_10: Fix shellcheck warning about word splitting/...Kajol Jain1-1/+1
2023-08-03perf tests asm_pure_loop: Fix shellcheck warning about word splitting/quoteKajol Jain1-1/+1
2023-08-03perf tests stat+shadow_stat: Fix shellcheck warning about unused variableAthira Rajeev1-2/+2
2023-08-03perf tests stat_bpf_counters: Fix usage of '==' to address shellcheck warningAthira Rajeev1-2/+2
2023-08-03perf tests perf_dat _converter_json: Use quoting to avoid word splittingAthira Rajeev1-1/+1
2023-08-03perf tests stat+csv_summary: Fix unused variable references detected via shel...Athira Rajeev1-2/+2
2023-08-03perf tests: Address signal case issues detected via shellcheckAthira Rajeev1-1/+1
2023-08-03perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operatorsKajol Jain1-16/+12
2023-08-03perf tests lock_contention: Fix shellcheck issue about quoting to avoid word ...Kajol Jain1-6/+6
2023-08-03perf tests record_offcpu: Fix shellcheck warnings about word splitting/quotin...Kajol Jain1-3/+3
2023-08-03perf tests probe_vfs_getname: Fix shellcheck warnings about word splitting/qu...Kajol Jain1-2/+2
2023-08-03perf tests trace+probe_vfs_getname: Fix shellcheck warnings about word splitt...Akanksha J N1-3/+3
2023-08-03perf tests task_analyzer: Check perf build options for libtraceevent supportAditya Gupta1-1/+1
2023-08-01perf test parse-events: Test complex name has required event formatIan Rogers1-1/+11
2023-07-28perf tools: Add a place to put kernel config fragments for test runsJames Clark3-0/+19
2023-07-28perf parse-events: Populate error column for BPF/tracepoint eventsIan Rogers1-1/+1
2023-07-28perf test uprobe_from_different_cu: Skip if there is no gccGeorg Müller1-1/+7
2023-07-24perf test: Avoid weak symbol for arch_testsIan Rogers1-1/+10
2023-07-24perf stat: Avoid uninitialized use of perf_stat_configIan Rogers1-1/+1
2023-07-17perf test task_exit: No need for a cycles event to check if we get an PERF_RE...Arnaldo Carvalho de Melo1-2/+2
2023-07-11perf probe: Add test for regression introduced by switch to die_get_decl_file()Georg Müller1-0/+77
2023-07-05perf test: Fix event parsing test when PERF_PMU_CAP_EXTENDED_HW_TYPE isn't su...James Clark1-36/+50
2023-07-05perf test: Fix event parsing test on ArmJames Clark1-1/+13
2023-07-01perf test: Test perf lock contention CSV outputNamhyung Kim1-0/+36
2023-06-29perf expr: Add has_event functionIan Rogers1-0/+4
2023-06-27perf test: Fix a compile error on pe-file-parsing.cNamhyung Kim1-1/+2
2023-06-23perf symbol: Remove now unused symbol_conf.sort_by_nameIan Rogers1-1/+0
2023-06-23perf test: Add build tests for BUILD_BPF_SKELIan Rogers1-0/+4
2023-06-23perf test: Skip metrics w/o event name in stat STD output linterNamhyung Kim1-8/+8
2023-06-23perf test: Reorder event name checks in stat STD output linterNamhyung Kim2-3/+3
2023-06-22perf test: Set PERF_EXEC_PATH for script executionNamhyung Kim1-0/+6
2023-06-22perf tests: Fix test_arm_callgraph_fp variable expansionJames Clark1-3/+4
2023-06-22perf test: Remove x permission from lib/stat_output.shNamhyung Kim1-0/+0
2023-06-21perf test: Rerun failed metrics with longer workloadWeilin Wang1-46/+83
2023-06-21perf test: Add skip list for metrics known would failWeilin Wang2-4/+38
2023-06-21perf test: Add metric value validation testWeilin Wang3-0/+931
2023-06-16perf test record+probe_libc_inet_pton.sh: Use "grep -F" instead of obsolescen...Tiezhu Yang1-2/+2
2023-06-16perf test: Add test case for the standard 'perf stat' outputKan Liang1-0/+108
2023-06-16perf test: Move all the check functions of stat CSV output to libKan Liang2-173/+184
2023-06-15pert tests: Update metric-value for perf stat JSON outputKan Liang1-3/+3
2023-06-13pert tests: Support metricgroup perf stat JSON outputKan Liang1-0/+3
2023-06-13perf tests task_analyzer: Skip tests if no libtraceevent supportAditya Gupta1-0/+18
2023-06-13perf tests task_analyzer: Print command that failed instead of just "perf"Aditya Gupta1-12/+12
2023-06-13perf tests task_analyzer: Fix bad substitution ${$1}Aditya Gupta1-1/+1
2023-06-13perf tests stat+shadow_stat.sh: Fix all POSIX sh warnings found using shellcheckSpoorthy S1-2/+2
2023-06-13perf tests test_brstack.sh: Fix all POSIX sh warningsGeetika1-6/+6
2023-06-13perf tests shell: Fixed shellcheck warningsSamir Mulani3-11/+11
2023-06-13perf tests lock_contention: Fix shellscript errorsAbhirup Deb1-35/+35
2023-06-13perf tests test_arm_spe: Address shellcheck warnings about signal name caseAbhirup Deb1-1/+1
2023-06-13perf tests test_task_analyzer: Fix shellcheck issuesAboorva Devarajan1-27/+27
2023-06-13perf tests stat_all_metrics: Fix shellcheck warning SC2076Barnali Guha Thakurata1-3/+3
2023-06-13perf tests test_arm_coresight: Shellcheck fixesAnushree Mathur1-3/+3
2023-06-13perf tests stat+csv_output: Fix shellcheck warningsKorrapati Likhitha1-2/+2
2023-06-13perf tests daemon: Address shellcheck warningsShirisha G1-38/+75
2023-06-13perf tests arm_callgraph_fp: Address shellcheck warnings about signal names a...Spoorthy S1-3/+3
2023-06-13perf tests stat+json_output: Address shellcheck warningsDisha Goel1-1/+1
2023-06-13perf tests: Make x86 new instructions test optional at build timeAdrian Hunter1-0/+1
2023-06-12perf machine: Make delete_threads part of machine__exitIan Rogers4-4/+0
2023-06-12perf thread: Add reference count checkingIan Rogers1-1/+1
2023-06-12perf addr_location: Add init/exit/copy functionsIan Rogers6-22/+41
2023-06-12perf maps: Make delete static, always use putIan Rogers1-1/+1
2023-06-12perf thread: Add accessor functions for threadIan Rogers6-12/+13
2023-06-12perf test: Add test of libpfm4 eventsIan Rogers1-0/+51