|
|
|
|
@@ -932,7 +932,7 @@ static int test__group2(struct evlist *evlist)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong leader", evsel__is_group_leader(evsel));
|
|
|
|
|
@@ -947,7 +947,7 @@ static int test__group2(struct evlist *evlist)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
if (evsel__has_leader(evsel, leader))
|
|
|
|
|
@@ -1072,7 +1072,7 @@ static int test__group3(struct evlist *evlist __maybe_unused)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong leader", evsel__is_group_leader(evsel));
|
|
|
|
|
@@ -1222,7 +1222,7 @@ static int test__group5(struct evlist *evlist __maybe_unused)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong leader", evsel__is_group_leader(evsel));
|
|
|
|
|
@@ -1437,7 +1437,7 @@ static int test__leader_sample1(struct evlist *evlist)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong group name", !evsel->group_name);
|
|
|
|
|
@@ -1453,7 +1453,7 @@ static int test__leader_sample1(struct evlist *evlist)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong leader", evsel__has_leader(evsel, leader));
|
|
|
|
|
@@ -1468,7 +1468,7 @@ static int test__leader_sample1(struct evlist *evlist)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong group name", !evsel->group_name);
|
|
|
|
|
@@ -1497,7 +1497,7 @@ static int test__leader_sample2(struct evlist *evlist __maybe_unused)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong group name", !evsel->group_name);
|
|
|
|
|
@@ -1513,7 +1513,7 @@ static int test__leader_sample2(struct evlist *evlist __maybe_unused)
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest);
|
|
|
|
|
TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host);
|
|
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip);
|
|
|
|
|
TEST_ASSERT_VAL("wrong group name", !evsel->group_name);
|
|
|
|
|
|