7 #include <linux/types.h> 8 #include <linux/perf_event.h> 14 int fd,
int group_fd,
unsigned long flags);
16 #define HAVE_ATTR_TEST 19 static inline unsigned long long rdclock(
void)
23 clock_gettime(CLOCK_MONOTONIC, &ts);
24 return ts.tv_sec * 1000000000ULL + ts.tv_nsec;
27 #define MAX_NR_CPUS 1024
size_t auxtrace_snapshot_size
void test_attr__ready(void)
const char perf_version_string[]
const char *const * record_usage
unsigned int proc_map_timeout
const char * auxtrace_snapshot_opts
struct option * record_options
void pthread__unblock_sigwinch(void)
void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, int fd, int group_fd, unsigned long flags)
static unsigned long long rdclock(void)
int record__parse_freq(const struct option *opt, const char *str, int unset)
static int str(yyscan_t scanner, int token)
void test_attr__init(void)
bool auxtrace_snapshot_mode
bool ignore_missing_thread
unsigned int auxtrace_mmap_pages
bool record_switch_events