You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
Hi,
Running KTF on my system (ubuntu 16.04) I've encountered some function for which the mere placement of the probes causes memory leaks. The memory coverage output is attached
For now the function which caused it are:
register_oom_notifier
unregister_oom_notifier
file_open_root
The tests themselves are empty so I was able to isolate the problem:
Sorry about the mix-up, we added a few macros in our project for our own comfort and I've forgot about them.
I've edited the original comment with the code behind our macros.
thanks for reporting this issue! I think I may see the problem. It looks like you've enabled per-module coverage, and we have code that avoids memory tracking for the ktf_cov_kmem_cache_alloc_handler (so that we don't end up tracking the memory we use to track memory!), but I think we need to explicitly exclude ktf_cov_kmalloc_entry_handler too. I'll try to reproduce and spin up a fix.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Running KTF on my system (ubuntu 16.04) I've encountered some function for which the mere placement of the probes causes memory leaks. The memory coverage output is attached
For now the function which caused it are:
The tests themselves are empty so I was able to isolate the problem:
ktf_memory_leak.txt
The text was updated successfully, but these errors were encountered: