From 647e1e2baed2f4a5ceca34f20b594c1260c59761 Mon Sep 17 00:00:00 2001 From: Izabella Raulin Date: Tue, 13 Sep 2022 19:15:19 +0200 Subject: [PATCH 1/3] Adding caching to PyperfNativeStackTrace --- scripts/pyperf_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pyperf_build.sh b/scripts/pyperf_build.sh index a71a007b7..a1abc9fad 100755 --- a/scripts/pyperf_build.sh +++ b/scripts/pyperf_build.sh @@ -5,7 +5,7 @@ # set -euo pipefail -git clone --depth 1 -b v1.2.2 https://github.com/Granulate/bcc.git && cd bcc && git reset --hard 2c991423e7b20d36a3bda3ff9393967c87139227 +git clone --depth 1 -b pyperf_caching https://github.com/IzabellaRaulin/bcc.git && cd bcc && git reset --hard d569e4d845f0e44cf382966440129cd3da0c6f38 # (after clone, because we copy the licenses) # TODO support aarch64 From 08f60a4636b9d30f5aadeb19faf58eac676832ca Mon Sep 17 00:00:00 2001 From: Izabella Raulin Date: Wed, 14 Sep 2022 16:48:08 +0200 Subject: [PATCH 2/3] Point to commit within addressed review comments in PR Granulate/bcc#36 --- scripts/pyperf_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pyperf_build.sh b/scripts/pyperf_build.sh index a1abc9fad..e8f3edadd 100755 --- a/scripts/pyperf_build.sh +++ b/scripts/pyperf_build.sh @@ -5,7 +5,7 @@ # set -euo pipefail -git clone --depth 1 -b pyperf_caching https://github.com/IzabellaRaulin/bcc.git && cd bcc && git reset --hard d569e4d845f0e44cf382966440129cd3da0c6f38 +git clone --depth 1 -b pyperf_caching https://github.com/IzabellaRaulin/bcc.git && cd bcc && git reset --hard 3bd5e37eab84e8c2ad76c76cc446d5720b697ea3 # (after clone, because we copy the licenses) # TODO support aarch64 From 8b648eb9651e19e9353ab886ffdc18abfe472be0 Mon Sep 17 00:00:00 2001 From: Izabella Raulin Date: Thu, 6 Oct 2022 17:44:54 +0200 Subject: [PATCH 3/3] Update to bcc with addressed review comments Call pruning dead pids from the cache in populatePidsTable() + fix bug with missing native symbols --- scripts/pyperf_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pyperf_build.sh b/scripts/pyperf_build.sh index e8f3edadd..b574d2045 100755 --- a/scripts/pyperf_build.sh +++ b/scripts/pyperf_build.sh @@ -5,7 +5,7 @@ # set -euo pipefail -git clone --depth 1 -b pyperf_caching https://github.com/IzabellaRaulin/bcc.git && cd bcc && git reset --hard 3bd5e37eab84e8c2ad76c76cc446d5720b697ea3 +git clone --depth 1 -b pyperf_caching https://github.com/IzabellaRaulin/bcc.git && cd bcc && git reset --hard 15f609e9b68baebdb513bfbfa7b08297798ee97a # (after clone, because we copy the licenses) # TODO support aarch64