eunomia-bpf / bpftime

Userspace eBPF runtime for Observability, Network & General Extensions Framework
https://eunomia.dev/bpftime/
MIT License
763 stars 73 forks source link

[BUG] SIGINT doesn't terminate 'bpftime load' #102

Closed jimharris closed 9 months ago

jimharris commented 10 months ago

While doing my work related to issue #97, I've noticed that SIGINT (Ctrl-C) doesn't terminate the 'bpftime load' execution.

I'm testing with recent master, commit 761467cef02a6149d0c0ec9b13e05b29d395ebb3.

yunwei37 commented 9 months ago

Thanks for reporting! I also notice this problem.

Officeyutong commented 9 months ago

Unable to reproduce using the newest commit https://github.com/eunomia-bpf/bpftime/commit/5d71fa59aa267fa4edfe0e0f9f2856ea9bb89d68, with bpftime load bpftrace -- ./example/bpftrace/opensnoop.bt

Maybe it was already fixed by https://github.com/eunomia-bpf/bpftime/pull/101 ?

yunwei37 commented 9 months ago

maybe you can test with malloc or other libbpf tools?

jimharris commented 9 months ago

Unable to reproduce using the newest commit 5d71fa5, with bpftime load bpftrace -- ./example/bpftrace/opensnoop.bt

Maybe it was already fixed by #101 ?

I think this was fixed by #101. Or at least I am not able to reproduce this with master as of commit 0b894a1b.

Closing this issue.

yunwei37 commented 9 months ago

Thanks!