-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make --damos_filter
easier to use regards of meaning of matching/nomatching
#1
Comments
Summary of previous discussionMy immediate idea was making @honggyukim suggested adding I don't like bothBut now I remember that I didn't want to have "in" filter concept at all (https://lore.kernel.org/damon/[email protected]/). Biggest concern to me is that it is ambiguous about the relation between multiple inclusion filters. To quote the part from the previous discussion:
Note that current DAMON implementation will work as "and". I tried to interpret this in my brain, and now I conclude again that this is confusing to me. As a maintainer, I don't want to have it for now (who knows, I might change my mind later). My suggestionOur purpose is making the option less confusing. For the purpose, I think E.g.,
I understand having two negative terms can make it difficult to understand. Maybe we can think about
We can also make "matching" argument as optional, with default value "matching". Then the example becomes
@honggyukim What do you think? |
Hi SeongJae, Thanks very much for the summary. Please see my inline comments.
Make sense. I now understand having multiple inclusion filters make things confusing in DAMOS filter concept.
I agree now.
I also think In addition, I think we can use python's
These can be as follows.
This can be much simpler with
Making
I didn't read until this part and made the comment above. But you thought it in the similar ways. :) |
Thanks for the input, Honggyu! It seems |
Thanks for the quick response.
I also suggested using optional |
To me, using |
FYI, we are trying to extend region-internal DAMOS fitlers for monitoring purpose[1]. To make it more useful, I think inclusive DAMOS filters are required. I will implement inclusive DAMOS filters and add support of it on |
We are implementing DAMOS filter for passing specific memory through. It is still in progress, and not yet merged into mainline. It is available at DAMON development tree, though. We also added the support of it to |
To continue the discussion of this topic from skhynix/hmsdk#3
The text was updated successfully, but these errors were encountered: