From d9c60176b268cf9225a7d5780b0370ee65e59810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Tue, 7 Jan 2025 11:14:49 +0100 Subject: [PATCH 1/2] Change what we check in CI profiling test --- ci/check-profiling.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/check-profiling.sh b/ci/check-profiling.sh index 15cd6d159..6c41f994d 100755 --- a/ci/check-profiling.sh +++ b/ci/check-profiling.sh @@ -55,8 +55,8 @@ test -f results/cgout-Test-helloworld-Check-Full grep -q "events: Ir" results/cgout-Test-helloworld-Check-Full test -f results/cgann-Test-helloworld-Check-Full grep -q "PROGRAM TOTALS" results/cgann-Test-helloworld-Check-Full -# Ensure the jemalloc file/function aggregation is working. -grep -q ":" results/cgann-Test-helloworld-Check-Full +# Ensure that we also profile the memry allocator +grep -q "malloc" results/cgann-Test-helloworld-Check-Full # Callgrind. RUST_BACKTRACE=1 RUST_LOG=raw_cargo_messages=trace,collector=debug,rust_sysroot=debug \ From 8e4d2557b0532a96bf9f1310fa2dd3420e8601ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Wed, 8 Jan 2025 13:48:56 +0100 Subject: [PATCH 2/2] Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rémy Rakic --- ci/check-profiling.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/check-profiling.sh b/ci/check-profiling.sh index 6c41f994d..207efa770 100755 --- a/ci/check-profiling.sh +++ b/ci/check-profiling.sh @@ -55,7 +55,7 @@ test -f results/cgout-Test-helloworld-Check-Full grep -q "events: Ir" results/cgout-Test-helloworld-Check-Full test -f results/cgann-Test-helloworld-Check-Full grep -q "PROGRAM TOTALS" results/cgann-Test-helloworld-Check-Full -# Ensure that we also profile the memry allocator +# Ensure that we also profile the memory allocator grep -q "malloc" results/cgann-Test-helloworld-Check-Full # Callgrind.