015aee943e
* configure.ac: Add checks for presence of various fields of struct perf_event_attr defined in kernel headers. * tests/perf_event_open.c: New file. * tests/perf_event_open_unabbrev.c: Likewise. * tests/perf_event_open.test: New test. * tests/perf_event_open_unabbrev.test: Likewise. * tests/.gitignore: Add perf_event_open, perf_event_open_unabbrev. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add perf_event_open.test, perf_event_open_unabbrev.test.
8 lines
105 B
Bash
Executable File
8 lines
105 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check perf_event_open syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_strace_match_diff -a1
|