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

Test leave bpftrace process running on hypervisor and subscriber #12

Open
ycongal-smile opened this issue Oct 28, 2024 · 0 comments
Open

Comments

@ycongal-smile
Copy link
Contributor

On hypervisor and suscriber, running the test leave bpftrace process running:

$ ps -eo pid,user,command > before
[run test]
$ ps -eo pid,user,command > after
$ diff -u --color before after 

gives:

$ diff -u before after 
--- before      2024-10-28 11:39:19.014453298 +0100
+++ after       2024-10-28 12:02:36.872066226 +0100
@@ -155,12 +155,10 @@
[...]
+  78407 root     bpftrace --unsafe /usr/local/lib/python3.11/dist-packages/svtracing/record.bt 4 197 43 57 57
+  78409 root     bpftrace --unsafe /usr/local/lib/python3.11/dist-packages/svtracing/record.bt 4 197 43 57 57
[...]

No process should be left running after the test (even if the test is aborted, but that may be harder)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant