Skip to content

Commit 2172626

Browse files
committed
WIP: remove gprof
1 parent fb3bf51 commit 2172626

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ DTC ?= dtc
7777
E :=
7878
S := $E $E
7979

80-
LDFLAGS := -pg
81-
8280
SMP ?= 1
8381
CFLAGS += -D SEMU_BOOT_TARGET_TIME=10
8482
.PHONY: riscv-harts.dtsi

auto_test.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,11 @@ for N in $(seq 1 32); do
88
echo "Starting experiment with SMP=$N"
99
echo "============================================="
1010

11-
# 2) Build and run checks with SMP=N, capturing emulator output
12-
# The 'tee' command copies output to the terminal AND a log file
1311
echo "Building and running 'make check SMP=$N'..."
1412
make check SMP=$N 2>&1 | tee "logs/emulator_SMP_${N}.log"
1513

16-
# 3) After the emulator run, record gprof output
17-
# We assume 'gprof ./semu' uses data from 'gmon.out'
18-
echo "Running gprof for SMP=$N..."
19-
gprof ./semu > "logs/gprof_SMP_${N}.log" 2>&1
20-
2114
echo "Done with SMP=$N. Logs saved:"
2215
echo " - logs/emulator_SMP_${N}.log"
23-
echo " - logs/gprof_SMP_${N}.log"
2416
echo
2517
done
2618

0 commit comments

Comments
 (0)