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

appids: Rework --app-id-args-filter #366

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jongy
Copy link
Contributor

@Jongy Jongy commented May 15, 2022

It will now:

  • Search the entire arguments line (instead of individual arguments)
  • Search arguments passed to Java as well (i.e from java_command)

Also, renamed it in the code to make it clear that it refers to Java only.

@liorgorb - the new scheme will work for your use case, lmk if you think anything else should be changed.

I will test after you approve this approach.

It will now:
* Search the entire arguments line (instead of individual arguments)
* Search arguments passed to Java as well (i.e from java_command)

Also, renamed it in the code to make it clear that it refers to Java only.
@Jongy Jongy added the enhancement New feature or request label May 15, 2022
@Jongy Jongy requested a review from liorgorb May 15, 2022 09:28
@Jongy
Copy link
Contributor Author

Jongy commented May 15, 2022

@liorgorb - I tested it with:

  • JVM arg like -Xss[^ ]+ - matches e.g -Xss10m
  • Java arg like --blabla[= ]\d+ - matches --blabla=555 and --blabla 555` (2 separate arguments).

@Jongy Jongy marked this pull request as draft June 2, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant