I have a simple python web program which uses jinja2 and Quart, when I run python server_async.py, everything is fine. But when I run python -m flamegraph -o perf.log server_async.py, it reports errors:
...
File "server_async.py", line 254, in index
template = await render_template('index.html')
...
jinja2.exceptions.TemplateNotFound: index.html
I guess this is because flamegraph does not work with Quart and jinja2, right?