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

fix(sample): Drop cpuid_metric event from sample writing. #337

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

cvonelm
Copy link
Member

@cvonelm cvonelm commented Jun 21, 2024

Since 8f3ac68, we do not support systems that do not have perf_attr.context_switch anymore. This means that since then, samples will always be enclosed in context switch events, removing the need for writing the cpuid metric from samples.

Also remove src/perf/syscall/sample/writer.cpp. Apparently this is completely dead code

This fixes #327

Since 8f3ac68, we do not support systems that do not have
perf_attr.context_switch anymore. This means that since then, samples
will always be enclosed in context switch events, removing the need for writing the
cpuid metric from samples.

Also remove src/perf/syscall/sample/writer.cpp. Apparently this is
completely dead code
@bmario bmario merged commit da7239d into master Jul 11, 2024
41 checks passed
@bmario bmario deleted the issue-327-drop-cpuid-metric-for-sample branch July 11, 2024 10:39
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.

Consider dropping cpuid metric events from samples
2 participants