summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-03-09 16:50:26 +0100
committernicolargo <nicolas@nicolargo.com>2024-03-09 16:50:26 +0100
commit43b355fdff10bcc84d5c50a2319d974fd95edf22 (patch)
tree706ca949cf0f057171874ccda581326aa29cbe96 /Makefile
parent2a0d6fba52050bab7feeeb307be0536283ac6607 (diff)
Update the Flame profiling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4d809eba..b5aa1388 100644
--- a/Makefile
+++ b/Makefile
@@ -105,7 +105,9 @@ semgrep: ## Run semgrep to find bugs and enforce code standards
./venv-dev/bin/semgrep scan --config=auto
profiling: ## How to start the profiling of the Glances software
- @echo "Please complete and run: sudo ./venv-dev/bin/py-spy record -o ./docs/_static/glances-flame.svg -d 60 -s --pid <GLANCES PID>"
+ @echo "Start a Glances instance and get its PID"
+ @echo "Run: sudo ./venv-dev/bin/py-spy record -o ./docs/_static/glances-flame.svg -d 60 -s --pid <GLANCES PID>"
+ @echo "Open the SVG file (./docs/_static/glances-flame.svg) with a Web browser"
trace-malloc: ## Trace the malloc() calls
@echo "Malloc test is running, please wait ~30 secondes..."