#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <linux/types.h>
#include "perf.h"
#include "debug.h"
#include "tests/tests.h"
#include "cloexec.h"
#include "util.h"
#include "arch-tests.h"
Go to the source code of this file.
◆ __test__rdpmc()
static int __test__rdpmc |
( |
void |
| ) |
|
|
static |
◆ mmap_read_self()
static u64 mmap_read_self |
( |
void * |
addr | ) |
|
|
static |
◆ rdpmc()
static u64 rdpmc |
( |
unsigned int |
counter | ) |
|
|
static |
◆ rdtsc()
static u64 rdtsc |
( |
void |
| ) |
|
|
static |
◆ segfault_handler()
static void segfault_handler |
( |
int sig |
__maybe_unused, |
|
|
siginfo_t *info |
__maybe_unused, |
|
|
void *uc |
__maybe_unused |
|
) |
| |
|
static |
◆ test__rdpmc()
int test__rdpmc |
( |
struct test *test |
__maybe_unused, |
|
|
int subtest |
__maybe_unused |
|
) |
| |