From 487df2a55127d0c08f392703a73473a5f9d54aee Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 1 Sep 2023 10:14:28 -0600 Subject: [PATCH] Update performance.yaml Last try to get enough permissions to run perf... otherwise it means https://github.com/andrewrk/poop/issues/17#issuecomment-1675113084 is blocking it. --- .github/workflows/performance.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index 880dc20f..ef831fba 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -57,7 +57,9 @@ jobs: cargo install flamegraph - name: Run flamegraph - run: flamegraph -o flame-${{ matrix.test }}.svg -- ${{ steps.executable.outputs.exec }} ${{ matrix.test }} + run: | + sudo sysctl kernel.perf_event_paranoid=-1 + sudo flamegraph -o flame-${{ matrix.test }}.svg -- ${{ steps.executable.outputs.exec }} ${{ matrix.test }} - name: Upload python tests HTMLs uses: actions/upload-artifact@v3