From 43b355fdff10bcc84d5c50a2319d974fd95edf22 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 9 Mar 2024 16:50:26 +0100 Subject: [PATCH] Update the Flame profiling --- Makefile | 4 +++- docs/_static/glances-flame.svg | 4 ++-- 2 files changed, 5 insertions(+), 3 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 " + @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 " + @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..." diff --git a/docs/_static/glances-flame.svg b/docs/_static/glances-flame.svg index 7edff6f7..21dea0df 100644 --- a/docs/_static/glances-flame.svg +++ b/docs/_static/glances-flame.svg @@ -1,4 +1,4 @@ - \ No newline at end of file