Skip to content

Commit 2cd2767

Browse files
committed
Merge: perf test: Remove cpu-list BPF cgroup counter test
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6165 JIRA: https://issues.redhat.com/browse/RHEL-33006 Signed-off-by: Michael Petlan <mpetlan@redhat.com> Approved-by: vmolnaro <vmolnaro@redhat.com> Approved-by: Tony Camuso <tcamuso@redhat.com> Approved-by: Jerome Marchand <jmarchan@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Patrick Talbert <ptalbert@redhat.com>
2 parents ceab9de + fa963f8 commit 2cd2767

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tools/perf/tests/shell/stat_bpf_counters_cgrp.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,9 @@ check_system_wide_counted()
5858
fi
5959
}
6060

61-
check_cpu_list_counted()
62-
{
63-
check_cpu_list_counted_output=$(perf stat -C 0,1 --bpf-counters --for-each-cgroup ${test_cgroups} -e cpu-clock -x, taskset -c 1 sleep 1 2>&1)
64-
if echo ${check_cpu_list_counted_output} | grep -q -F "<not "; then
65-
echo "Some CPU events are not counted"
66-
if [ "${verbose}" = "1" ]; then
67-
echo ${check_cpu_list_counted_output}
68-
fi
69-
exit 1
70-
fi
71-
}
72-
7361
check_bpf_counter
7462
find_cgroups
7563

7664
check_system_wide_counted
77-
check_cpu_list_counted
7865

7966
exit 0

0 commit comments

Comments
 (0)