-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve python trace user experience. #1890
Labels
Comments
yihong0618
added a commit
to yihong0618/uftrace
that referenced
this issue
Feb 18, 2024
Add a simple way to support trace python file without shebang and be an executable file. Fixed: namhyung#1890 Signed-off-by: Yi Hong <[email protected]>
yihong0618
added a commit
to yihong0618/uftrace
that referenced
this issue
Feb 18, 2024
Add a simple way to support trace python file without shebang and be an executable file. Fixed: namhyung#1890 Signed-off-by: Yi Hong <[email protected]>
The basic idea is to trace exactly what users do. Non-executable python script means it needs a python interpreter so I didn't support tracing the script directly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for now, for python tracing work, we need the following steps.
shebang
in front of python filebut in 2020s most python scripts do not executable and some of them do not have shebang,
if we want to trace it, we must make sure the two steps done.
if we can just run
that would be better.
I would like to give a simple method and open one PR for that.
The text was updated successfully, but these errors were encountered: