Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
12345678910111213141516171819202122/* SPDX-License-Identifier: GPL-2.0 */#ifndef _PERF_SYS_H#define _PERF_SYS_H
#include <unistd.h>#include <sys/types.h>#include <sys/syscall.h>#include <linux/compiler.h>
struct perf_event_attr;
static inline intsys_perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags){ return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags);}
#endif /* _PERF_SYS_H */