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

Thread filter in wallclock #851

Closed
tanjh0421 opened this issue Nov 30, 2023 · 3 comments
Closed

Thread filter in wallclock #851

tanjh0421 opened this issue Nov 30, 2023 · 3 comments
Labels

Comments

@tanjh0421
Copy link

when starting async-profiler in wall mode, it seems easier to put threads that need to be profiled into thread-filter than to find threads that do not need to be profiled during the course of a profiling session. #296

Is it possible to add a mechanism to collect threads included in the thread filter?

@apangin
Copy link
Collaborator

apangin commented Nov 30, 2023

I'm not sure I understand the question. The filter includes only those threads that you've added explicitly: either in filter option or via addThread API. So why do you need a mechanism to collect such threads, and how are you going to use this information?

@tanjh0421
Copy link
Author

I'm sorry I didn't make it clear.
what I'm trying to say is, could wallclock just only send signals to threads in the thread-filter? instead of skipping them

@apangin
Copy link
Collaborator

apangin commented Dec 5, 2023

could wallclock just only send signals to threads in the thread-filter

That's exactly how it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants