#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <sys/ioctl.h>
#include <time.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/mman.h>
#include <linux/compiler.h>
#include <linux/hw_breakpoint.h>
#include "tests.h"
#include "debug.h"
#include "perf.h"
#include "cloexec.h"
Go to the source code of this file.
◆ __SANE_USERSPACE_TYPES__
#define __SANE_USERSPACE_TYPES__ |
◆ __event()
static int __event |
( |
bool |
is_x, |
|
|
void * |
addr, |
|
|
struct perf_event_attr * |
attr |
|
) |
| |
|
static |
◆ bp_accounting()
static int bp_accounting |
( |
int |
wp_cnt, |
|
|
int |
share |
|
) |
| |
|
static |
◆ bp_event()
static int bp_event |
( |
void * |
addr, |
|
|
struct perf_event_attr * |
attr |
|
) |
| |
|
static |
◆ detect_cnt()
static int detect_cnt |
( |
bool |
is_x | ) |
|
|
static |
◆ detect_ioctl()
static int detect_ioctl |
( |
void |
| ) |
|
|
static |
◆ detect_share()
static int detect_share |
( |
int |
wp_cnt, |
|
|
int |
bp_cnt |
|
) |
| |
|
static |
◆ test__bp_accounting()
int test__bp_accounting |
( |
struct test *test |
__maybe_unused, |
|
|
int subtest |
__maybe_unused |
|
) |
| |
◆ test_function()
static noinline int test_function |
( |
void |
| ) |
|
|
static |
◆ wp_event()
static int wp_event |
( |
void * |
addr, |
|
|
struct perf_event_attr * |
attr |
|
) |
| |
|
static |
◆ the_var