Skip to content
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

magic-trace does not stop running on process SIGKILL #312

Open
kaajalbgupta opened this issue Oct 30, 2024 · 0 comments
Open

magic-trace does not stop running on process SIGKILL #312

kaajalbgupta opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kaajalbgupta
Copy link

When running magic-trace to trace a process, when SIGKILL is sent to the traced process, the magic-tracer does not stop running, while perf record does stop. I expected the magic tracer to stop running or to take a snapshot immediately upon the process finishing. To reproduce the issue:

  1. Run sleep 5000 and get its PID.
  2. Run magic-trace attach -p <pid> -o magic-trace.fxt
  3. Run kill -9 <pid> to see that perf record stops running while magic-trace does not.

Running version 6.7.0 of perf userspace tools.

@kaajalbgupta kaajalbgupta added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant