Skip to content

Commit 630b4ca

Browse files
committed
feat(profiler): Enable other callgrind options
1 parent ed52b58 commit 630b4ca

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

contrib/indexer-service/start-perf.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ valgrind)
9898
--threshold=0.5 \
9999
/usr/local/bin/indexer-service-rs --config /opt/config.toml
100100
;;
101-
# Use sudo callgrind_annotate indexer-service.callgrind.out
101+
# Use callgrind_annotate indexer-service.callgrind.out
102102
# for humand friendly report of callgrind output
103103
# Ideally you should set:
104104
# [profile.release.package."*"]
@@ -111,6 +111,12 @@ callgrind)
111111
--callgrind-out-file=/opt/profiling/indexer-service/callgrind.out \
112112
--cache-sim=yes \
113113
--branch-sim=yes \
114+
--collect-jumps=yes \
115+
--collect-systime=yes \
116+
--collect-bus=yes \
117+
--dump-instr=yes \
118+
--dump-line=yes \
119+
--compress-strings=no \
114120
/usr/local/bin/indexer-service-rs --config /opt/config.toml
115121
;;
116122
none)

contrib/tap-agent/start-perf.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ callgrind)
159159
--collect-jumps=yes \
160160
--collect-systime=yes \
161161
--collect-bus=yes \
162-
--separate-threads=yes \
163162
--dump-instr=yes \
164163
--dump-line=yes \
165164
--compress-strings=no \

0 commit comments

Comments
 (0)