From fa27bbe83efcfe6afe85e0b78139002c8f54f5f9 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Tue, 18 Jun 2024 13:01:23 +0200 Subject: [PATCH] wip Signed-off-by: Federico Di Pierro --- .github/workflows/perf.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 40ed86ee41..a7750eb990 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -13,7 +13,7 @@ concurrency: jobs: perf-libs-linux-amd64: - runs-on: 'ubuntu-22.04' + runs-on: [ "self-hosted", "linux", "X64" ] steps: - name: Checkout Libs ⤵️ uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -22,7 +22,7 @@ jobs: - name: Install deps ⛓️ run: | - sudo apt update && sudo apt install -y --no-install-recommends ca-certificates cmake build-essential git clang llvm pkg-config autoconf automake libtool libelf-dev wget libc-ares-dev libcurl4-openssl-dev libssl-dev libtbb-dev libjq-dev libjsoncpp-dev libgrpc++-dev protobuf-compiler-grpc libgtest-dev libprotobuf-dev linux-tools-common linux-tools-generic linux-tools-`uname -r` + sudo apt update && sudo apt install -y --no-install-recommends ca-certificates cmake build-essential git clang llvm pkg-config autoconf automake libtool libelf-dev wget libc-ares-dev libcurl4-openssl-dev libssl-dev libtbb-dev libjq-dev libjsoncpp-dev libgrpc++-dev protobuf-compiler-grpc libgtest-dev libprotobuf-dev sudo .github/install-deps.sh - name: Build @@ -35,7 +35,6 @@ jobs: run: | cd build sudo sysctl -w kernel.perf_event_paranoid=-1 - sudo perf stat ls sudo perf record --call-graph dwarf ./libsinsp/test/unit-test-libsinsp - name: Archive perf report (PR)