subtest
struct bfa_diag_dport_subtest_result_s subtest[DPORT_TEST_MAX];
dport->result.subtest[i].status =
bfa_trc(dport->bfa, dport->result.subtest[i].status);
dport->result.subtest[subtesttype].start_time =
dport->result.subtest[subtesttype].status =
dport->result.subtest[subtesttype].start_time);
static int test__vectors_page(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int test__cpuid_match(struct test_suite *test, int subtest);
int subtest __maybe_unused)
int test__rdpmc(struct test_suite *test, int subtest);
int test__insn_x86(struct test_suite *test, int subtest);
int test__intel_pt_pkt_decoder(struct test_suite *test, int subtest);
int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest);
int test__bp_modify(struct test_suite *test, int subtest);
int test__amd_ibs_via_core_pmu(struct test_suite *test, int subtest);
int test__amd_ibs_period(struct test_suite *test, int subtest);
int test__hybrid(struct test_suite *test, int subtest);
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int test__hybrid(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int test__insn_x86(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int test__intel_pt_pkt_decoder(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest)
test->test_cases[subtest].skip_reason = "not hybrid";
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__x86_topdown(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__backward_ring_buffer(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__bitmap_print(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__bp_accounting(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__bp_signal(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__bp_signal_overflow(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__code_reading(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__cpu_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__cpu_map_print(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__cpu_map_equal(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__demangle_java(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__demangle_ocaml(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__demangle_rust(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__dlfilter(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__dso_data(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__dso_data_cache(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__dso_data_reopen(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int test__dwarf_unwind(struct test_suite *test, int subtest);
static int test__event_times(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__event_groups(struct test_suite *text __maybe_unused, int subtest __maybe_unused)
static int test__event_update(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__expr(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
static int test__fdarray__filter(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__fdarray__add(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__hists_cumulate(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__hists_filter(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__hists_link(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__hists_output(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__is_printable_array(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__keep_tracking(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__kmod_path__parse(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__maps__merge_in(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
static int test__mem(struct test_suite *text __maybe_unused, int subtest __maybe_unused)
static int test__mem2node(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__basic_mmap(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__mmap_thread_lookup(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__events2(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__terms2(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__pmu_events(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__pmu_events2(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__alias(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__parse_metric(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__perf_hooks(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__PERF_RECORD(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__parsing_fake(struct test_suite *test, int subtest)
table = test->test_cases[subtest].priv;
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__parsing(struct test_suite *test, int subtest)
table = test->test_cases[subtest].priv;
static int test__pmu_format(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__pmu_events(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__name_len(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__name_cmp(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__pmu_match(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__sample_parsing(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__sigtrap(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__synthesize_stat_round(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__synthesize_stat(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__sw_clock_freq(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__switch_tracking(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__symbols(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__task_exit(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int shell_test__run(struct test_suite *test, int subtest __maybe_unused)
static int test__thread_map_remove(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__thread_map(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__thread_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__thread_maps_share(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
static int test__time_utils(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__session_topology(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__unit_number__scnprint(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
static int test__blake2s_case(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
static int test__strreplace(struct test_suite *t __maybe_unused, int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
int subtest __maybe_unused)
static int test__wp_modify(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
test->test_cases[subtest].skip_reason = "missing kernel support";
int subtest __maybe_unused)
subtest(cgroup_fd, skel, AF_INET, 0);
subtest(cgroup_fd, skel, AF_INET, 1);
subtest(cgroup_fd, skel, AF_INET6, 0);
subtest(cgroup_fd, skel, AF_INET6, 1);
const char *subtest;
env.subtest = t->title;
env.subtest, error ? "FAIL" : "OK");
subtest:
goto subtest;