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

Filter by instruction pointer #172

Open
cgaebel opened this issue Apr 17, 2022 · 2 comments
Open

Filter by instruction pointer #172

cgaebel opened this issue Apr 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@cgaebel
Copy link
Contributor

cgaebel commented Apr 17, 2022

Intel PT provides the ability to filter a trace by instruction pointer range. I can imagine using someone wanting to include only specific files, libraries, or functions in a trace. People could trace long time periods and collect data for only particularly problematic regions of code.

I'm not sure how flexible these filters are, whoever does this will need to play around with perf record --filter a bit to figure out what it can do.

@cgaebel cgaebel added the enhancement New feature or request label Apr 17, 2022
@Xyene
Copy link
Member

Xyene commented Apr 17, 2022

Ref -immediate-stop from #79, which used --filter internally.

@cgaebel
Copy link
Contributor Author

cgaebel commented Apr 17, 2022

That's distressing.

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

No branches or pull requests

2 participants