#include <dirent.h>
#include <stdlib.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <api/fs/fs.h>
#include "util.h"
#include "machine.h"
#include "symbol.h"
#include "tests.h"
#include "debug.h"
Go to the source code of this file.
◆ BUFSIZE
◆ dso_0
◆ dso_1
◆ dso_2
◆ TEMPL
#define TEMPL "/tmp/perf-test-XXXXXX" |
◆ TEST_FILE_SIZE
◆ dso__data_fd()
static int dso__data_fd |
( |
struct dso * |
dso, |
|
|
struct machine * |
machine |
|
) |
| |
|
static |
◆ dsos__create()
static int dsos__create |
( |
int |
cnt, |
|
|
int |
size |
|
) |
| |
|
static |
◆ dsos__delete()
static void dsos__delete |
( |
int |
cnt | ) |
|
|
static |
◆ open_files_cnt()
static long open_files_cnt |
( |
void |
| ) |
|
|
static |
◆ set_fd_limit()
static int set_fd_limit |
( |
int |
n | ) |
|
|
static |
◆ test__dso_data()
int test__dso_data |
( |
struct test *test |
__maybe_unused, |
|
|
int subtest |
__maybe_unused |
|
) |
| |
◆ test__dso_data_cache()
int test__dso_data_cache |
( |
struct test *test |
__maybe_unused, |
|
|
int subtest |
__maybe_unused |
|
) |
| |
◆ test__dso_data_reopen()
int test__dso_data_reopen |
( |
struct test *test |
__maybe_unused, |
|
|
int subtest |
__maybe_unused |
|
) |
| |
◆ test_file()
static char* test_file |
( |
int |
size | ) |
|
|
static |
◆ dsos
◆ offsets