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

Configure kernel traces with TraceSetInformation #105

Open
burgerindividual opened this issue Jun 27, 2023 · 0 comments
Open

Configure kernel traces with TraceSetInformation #105

burgerindividual opened this issue Jun 27, 2023 · 0 comments

Comments

@burgerindividual
Copy link

I've hit a roadblock when using this library to gather stack walking information on sampled profiles. Even when wrangling the control handle from the trace with transmutes after calling start(), it's too late to set what I need, and it ends up not working.

I noticed there was this comment:
// TODO: For kernel traces, implement enable_provider function for providers that require call to TraceSetInformation with extended PERFINFO_GROUPMASK

If either a simple callback with the control handle, or a full solution for managing kernel trace information could be added, that would save a lot of headaches.

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

No branches or pull requests

1 participant