Skip to content

Commit

Permalink
Merge pull request avocado-framework-tests#2807 from disgoel/perf_test
Browse files Browse the repository at this point in the history
perf/perf_test: add dependent packages
  • Loading branch information
Naresh-ibm authored Apr 29, 2024
2 parents 9db2a75 + 033b4dd commit 7d47672
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion perf/perf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ def setUp(self):
elif 'debian' in detected_distro.name:
deps.extend(['linux-tools-%s' % platform.uname()[2][3]])
elif detected_distro.name in ['rhel', 'SuSE', 'fedora', 'centos']:
deps.extend(['perf', 'gcc-c++'])
deps.extend(['perf', 'gcc-c++', 'bpftool'])
if 'SuSE' in detected_distro.name:
deps.extend(['kernel-default-debuginfo'])
elif 'rhel' in detected_distro.name:
deps.extend(['clang', 'llvm', 'libbpf', 'python3-perf'])
elif 'fedora' in detected_distro.name:
deps.extend(['clang', 'kernel-debuginfo'])
else:
Expand Down

0 comments on commit 7d47672

Please sign in to comment.