Test perturbers
include/test/perturb.h View source View on GitHubStructs
Section titled “Structs”test_perturb_env
Section titled “test_perturb_env” struct test_perturb_env (4 fields) source
test_perturb_desc
Section titled “test_perturb_desc” struct test_perturb_desc (2 fields) source
§
const char *name §
test_perturb_fn fn test_perturb_config
Section titled “test_perturb_config” struct test_perturb_config (4 fields) source
Type Aliases
Section titled “Type Aliases”test_perturb_fn
Section titled “test_perturb_fn”typedef void (*test_perturb_fn)(
const struct test_perturb_env * env,
struct test_conc_worker * self
) source Functions
Section titled “Functions”test_perturb_lookup
Section titled “test_perturb_lookup”const struct test_perturb_desc * test_perturb_lookup(const char *name) source test_perturb_config_lookup
Section titled “test_perturb_config_lookup”struct test_perturb_config * test_perturb_config_lookup(const char *name) source test_perturb_config_lookup_n
Section titled “test_perturb_config_lookup_n”struct test_perturb_config * test_perturb_config_lookup_n(
const char *name,
size_t len
) source test_perturb_migrator
Section titled “test_perturb_migrator”void test_perturb_migrator(
const struct test_perturb_env *env,
struct test_conc_worker *self
) source test_perturb_waker
Section titled “test_perturb_waker”void test_perturb_waker(
const struct test_perturb_env *env,
struct test_conc_worker *self
) source test_perturb_apc_spammer
Section titled “test_perturb_apc_spammer”void test_perturb_apc_spammer(
const struct test_perturb_env *env,
struct test_conc_worker *self
) source test_perturb_alloc_pressure
Section titled “test_perturb_alloc_pressure”void test_perturb_alloc_pressure(
const struct test_perturb_env *env,
struct test_conc_worker *self
) source test_perturb_inject_armer
Section titled “test_perturb_inject_armer”void test_perturb_inject_armer(
const struct test_perturb_env *env,
struct test_conc_worker *self
) source test_perturb_ipi_storm
Section titled “test_perturb_ipi_storm”void test_perturb_ipi_storm(
const struct test_perturb_env *env,
struct test_conc_worker *self
) source test_perturb_dpc_storm
Section titled “test_perturb_dpc_storm”void test_perturb_dpc_storm(
const struct test_perturb_env *env,
struct test_conc_worker *self
) source Macros
Section titled “Macros”TEST_PERTURB_VICTIM_BIAS
Section titled “TEST_PERTURB_VICTIM_BIAS”#define TEST_PERTURB_VICTIM_BIAS 4 source Background noise to create IPIs/DPCs and other stuff
No victim CPU given
TEST_PERTURB_VICTIM_ANY
Section titled “TEST_PERTURB_VICTIM_ANY”#define TEST_PERTURB_VICTIM_ANY (-1) source