Back to home page

OSCL-LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:40  
folder attr/ - 2025-03-06 09:18:40

The struct perf_event_attr test (attr tests) support
This testing support is embedded into perf directly and is governed by the PERF_TEST_ATTR environment variable and hook inside the sys_perf_event_open function.
The general idea is to store 'struct perf_event_attr' details for each event created within single perf command. Each event details are stored into separate text file. Once perf command is finished these files are checked for values we expect for command.


SEE ALSO: README

folder shell/ - 2025-03-06 09:18:40  
api-io.c 5472 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10  
attr.c 5452 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

The struct perf_event_attr test support.

attr.py 11651 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10  
backward-ring-buffer.c 3886 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Test backward bit in event attribute, read ring buffer from end to beginning

bitmap.c 1471 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10  
bp_account.c 4935 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.

bp_signal.c 7892 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Inspired by breakpoint overflow test done by Vince Weaver <maine.edu">vincent.weaver@maine.edu> for perf_event_tests (git://github.com/deater/perf_event_tests)

bp_signal_overflow.c 3099 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Originally done by Vince Weaver <maine.edu">vincent.weaver@maine.edu> for perf_event_tests (git://github.com/deater/perf_event_tests)

bpf-script-example.c 1848 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Test basic LLVM building

bpf-script-test-kbuild.c 536 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Test include from kernel header

bpf-script-test-prologue.c 1093 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Test BPF prologue

bpf-script-test-relocation.c 1331 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

Test BPF loader checking relocation

bpf.c 9043 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10  
Build 3231 bytes 2025-03-06 09:18:40 -  
builtin-test-list.c 5235 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10  
builtin-test-list.h 300 bytes 2025-03-06 09:18:40 2025-03-06 13:39:10

List available script tests to run - singleton - never freed

builtin-test.c 11164 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11

Builtin regression testing command: ever growing number of sanity tests

clang.c 776 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11  
code-reading.c 16034 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11  
cpumap.c 4358 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11  
demangle-java-test.c 1439 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11  
demangle-ocaml-test.c 1230 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11  
dlfilter-test.c 9809 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11

Test dlfilter C API.

dso-data.c 8752 bytes 2025-03-06 09:18:40 2025-03-06 13:39:11  
dwarf-unwind.c 6205 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
event-times.c 5518 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
event_update.c 4115 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
evsel-roundtrip-name.c 2993 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
evsel-tp-sched.c 2145 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
expand-cgroup.c 5558 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
expr.c 6674 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
fdarray.c 4296 bytes 2025-03-06 09:18:40 2025-03-06 13:39:12  
genelf.c 1067 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
hists_common.c 5265 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
hists_common.h 2938 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
hists_cumulate.c 20936 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
hists_filter.c 9797 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
hists_link.c 8545 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
hists_output.c 18561 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
is_printable_array.c 957 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
keep-tracking.c 3730 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
kmod-path.c 6635 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
llvm.c 5649 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
llvm.h 757 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
make 13457 bytes 2025-03-06 09:18:40 -  
maps.c 3289 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
mem.c 1326 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
mem2node.c 2025 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
mmap-basic.c 7759 bytes 2025-03-06 09:18:40 2025-03-06 13:39:13  
mmap-thread-lookup.c 4894 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
openat-syscall-all-cpus.c 3537 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
openat-syscall-tp-fields.c 3156 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
openat-syscall.c 2171 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
parse-events.c 83160 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
parse-metric.c 8569 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
parse-no-sample-id-all.c 2500 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
pe-file-parsing.c 2547 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
pe-file.c 446 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
pe-file.exe 75595 bytes 2025-03-06 09:18:40 -  
pe-file.exe.debug 141644 bytes 2025-03-06 09:18:40 -  
perf-hooks.c 1042 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
perf-record.c 8946 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
perf-targz-src-pkg 735 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
perf-time-to-tsc.c 5495 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
pfm.c 3633 bytes 2025-03-06 09:18:40 2025-03-06 13:39:14  
pmu-events.c 26874 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
pmu.c 4063 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
python-use.c 650 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15

Just test if we can load the python binding.

sample-parsing.c 10816 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
sdt.c 2995 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
sigtrap.c 4739 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
stat.c 3628 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
sw-clock.c 3374 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
switch-tracking.c 13639 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
task-exit.c 3641 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
tests.h 4808 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
thread-map.c 4272 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
thread-maps-share.c 2889 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
time-utils-test.c 6174 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
topology.c 7781 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
unit_number__scnprintf.c 838 bytes 2025-03-06 09:18:40 2025-03-06 13:39:15  
vmlinux-kallsyms.c 10086 bytes 2025-03-06 09:18:40 2025-03-06 13:39:16  
wp.c 4821 bytes 2025-03-06 09:18:40 2025-03-06 13:39:16