Skip to content

Commit

Permalink
Add Makefile target to generate callgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed May 6, 2020
1 parent ea9d34a commit 14ee02c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/cpython.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ setup-gpsd:
run-cpython:
.venv3/bin/terkin --config=src/settings.py --daemon

run-cpython-callgraph:
# .venv3/bin/pip install pycallgraph graphviz
.venv3/bin/pycallgraph --include "__main__" --include "umal.*" --include "terkin.*" graphviz -- .venv3/bin/terkin --config=src/settings.py


## Setup prerequisites for running on Raspberry Pi / Dragino
setup-dragino:
-$(MAKE) setup
Expand Down

0 comments on commit 14ee02c

Please sign in to comment.