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

Fix dmce-summary-bin --filter not filtering correctly #24

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

IIAndreasII
Copy link
Contributor

When using dmce-summary-bin with the --filter option, it more or less always misses one probe that should have been excluded. This is because a break happens after updating the condition but before we print the filter line.

Example using the "simple" program from dmce-examples (with "--filter 100" set for illustrative purposes):

Before any filtering:
before

After using "--filter 100":
after

Looking at the output when using "--filter 100" we see that it misses one probe.

Before this fix:
image

After this fix:
image

@PatrikAAberg PatrikAAberg merged commit b8b98dc into PatrikAAberg:master Aug 5, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants