Skip to content

Commit c268f2a

Browse files
committed
fix perf permissions in AWS script
1 parent 77a52fd commit c268f2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/aws_tests.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ process_instance() {
4545
--output text)
4646
echo "Instance ${INSTANCE_ID} public IP: ${PUBLIC_IP}"
4747

48-
rsync -avz --partial --progress --exclude ".git" --exclude "build" -e "${SSH_COMMAND}" \
48+
git ls-files -z | rsync -avz --partial --progress --from0 --files-from=- -e "${SSH_COMMAND}" \
4949
./ ubuntu@${PUBLIC_IP}:~/${PROJECT_DIR}
5050
${SSH_COMMAND} ubuntu@${PUBLIC_IP} << EOF
5151
set -e # Exit on error
@@ -60,6 +60,7 @@ process_instance() {
6060
cmake -B build . && cmake --build build
6161
6262
echo "Running the python script to generate tests..."
63+
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
6364
./scripts/generate_multiple_tables.py
6465
EOF
6566

0 commit comments

Comments
 (0)