File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
actions/run-tests/benchmark Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,13 @@ runs:
161161 sudo cmake --install build
162162
163163 cd -
164+ # Linux tools installed during docker creation may not match the self-hosted
165+ # kernel version, so we need to install the correct version here.
166+ - name : Install perf in version matching the host kernel
167+ shell : bash
168+ run : |
169+ sudo apt-get update
170+ sudo apt-get install -y linux-tools-$(uname -r)
164171 - name : Set env var for results branch
165172 shell : bash
166173 run : |
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def setup(
6767 """
6868 if not shutil .which ("perf" ):
6969 raise FileNotFoundError (
70- "perf command not found. Please install linux-tools or perf package."
70+ "perf command not found. Please install linux-tools-$(uname -r) or perf package."
7171 )
7272
7373 sanitized_suite_name = sanitize_filename (suite_name )
You can’t perform that action at this time.
0 commit comments