KEMBAR78
Allow wildcards in `Instrument` profiling engine by fandreuz · Pull Request #1435 · async-profiler/async-profiler · GitHub
Skip to content

Conversation

fandreuz
Copy link
Contributor

Description

In this PR I introduce support for simple * wildcards (both for class and method) in the event selector for the Instrument engine. This is now valid:

  • event=*.*
  • event=*.<init>
  • event=java.lang.Thread.*

Related issues

#1421

Motivation and context

This feature is mainly aimed at testing extensively #1421. Instrumenting all methods in a run loading a considerable amount of classes will give us confidence about the changes.

How has this been tested?

make test-java -j TESTS=instrument


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@apangin apangin merged commit 02a8fdb into async-profiler:master Aug 14, 2025
20 checks passed
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.

2 participants