Skip to content

Commit

Permalink
Update the Flame profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Mar 9, 2024
1 parent 2a0d6fb commit 43b355f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
4 changes: 2 additions & 2 deletions docs/_static/glances-flame.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 43b355f

Please sign in to comment.