7adb5a2f9e
* perf.c (fetch_perf_event_attr, print_perf_event_attr): Remove "static" qualifier. * defs.h (fetch_perf_event_attr, print_perf_event_attr): New declarations. * perf_event_struct.h (struct perf_event_query_bpf): New type definition. * perf_ioctl.c: New file. * Makefile.am (strace_SOURCES): Add it. * xlat/perf_ioctl_cmds.in: New file. * xlat/perf_ioctl_flags.in: Likewise. * ioctl.c (ioctl_decode) <case '$'>: Call perf_ioctl. * tests/gen_tests.in (ioctl_perf): New test. * tests/ioctl_perf.c: New file. * tests/pure_executables.list: ioctl_perf. * tests/.gitignore: Likewise. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2 lines
30 B
Plaintext
2 lines
30 B
Plaintext
PERF_IOC_FLAG_GROUP (1U << 0)
|