Skip to content

Commit 9c4e266

Browse files
fix(tools): fixed commands for profiling query engine, removed flamegraph dependency
1 parent e9f764b commit 9c4e266

7 files changed

Lines changed: 7 additions & 11 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ indexmap = { version = "2.0", features = ["serde"] }
4141

4242
[profile.release]
4343
debug = 1 # line table + symbol names for flamegraph; no effect on codegen or runtime perf
44+
strip = "none"

asap-tools/data-sources/prometheus-exporters/fake_exporter/fake_exporter_rust/fake_exporter/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[workspace]
2+
13
[package]
24
name = "fake_exporter"
35
version = "0.1.0"

asap-tools/experiments/remote_monitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ def start_profiling_query_engine_pids(qe_pids, experiment_output_dir):
174174
"record",
175175
"-g",
176176
"--call-graph",
177-
"dwarf",
177+
"fp",
178178
"-F",
179-
"997",
179+
"99",
180180
"-o",
181181
output_file,
182182
"--pid",

asap-tools/installation/common/setup_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ THIS_DIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
55
sudo apt-get update
66
sudo add-apt-repository ppa:deadsnakes/ppa -y
77
sudo apt-get update
8-
sudo apt-get install -y python3-pip ipython3 golang-go python3.11 htop
8+
sudo apt-get install -y python3-pip ipython3 golang-go python3.11 htop linux-tools-common linux-tools-"$(uname -r)"
99
pip3 install --user pandas 'scipy==1.15' numpy matplotlib psutil loguru pyarrow hydra-core omegaconf
1010
pip3 install --user plotnine
1111

asap-tools/installation/flamegraph/install.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

asap-tools/installation/flamegraph/setup_dependencies.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

asap-tools/installation/install_external_components.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# PREDEFINED_COMPONENTS=("benchmarks" "exporters" "flink" "grafana" "kafka" "prometheus" "prometheus_kafka_adapter" "asprof")
4-
PREDEFINED_COMPONENTS=("benchmarks" "exporters" "flink" "grafana" "kafka" "prometheus" "asprof" "arroyo" "flamegraph")
4+
PREDEFINED_COMPONENTS=("benchmarks" "exporters" "flink" "grafana" "kafka" "prometheus" "asprof" "arroyo")
55

66
if [ "$#" -lt 2 ]; then
77
echo "Usage: $0 <install_dir> <component1> [<component2> ...]"

0 commit comments

Comments
 (0)