[PATCH 1/9] tests: check decoding of perf_event_open syscall

Dmitry V. Levin ldv at altlinux.org
Mon Sep 5 16:00:08 UTC 2016


On Mon, Sep 05, 2016 at 04:31:03AM +0300, Eugene Syromyatnikov wrote:
> * tests/perf_event_open.c: New file.
> * tests/perf_event_open.test: New test.
> * tests/.gitignore: Add perf_event_open.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
>   (DECODER_TESTS): Add perf_event_open.test.

On rhel5:
perf_event_open.c:10:34: error: linux/hw_breakpoint.h: No such file or directory
perf_event_open.c:11:31: error: linux/perf_event.h: No such file or directory

On debian7 and rhel6:
perf_event_open.c:10:34: error: linux/hw_breakpoint.h: No such file or directory

On rhel7 and opensuse13:
perf_event_open.c:56:4: error: 'PERF_FLAG_FD_CLOEXEC' undeclared (first use in this function)


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160905/539934f2/attachment.bin>


More information about the Strace-devel mailing list