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 FtraceCollector.get_data() #1959

Merged

Conversation

douglas-raillard-arm
Copy link
Contributor

No description provided.

FIX

FtraceCollector.get_data() yields a broken trace when some events are
coming from the kernel modules, since the trace is extracted from the
kernel after the module has been unloaded so the event format is
unknown.
FIX

When FtraceCollector.get_data() is called after the kernel module
unload, the event format is missing and the trace is therefore broken
(appears to not contain that event).

Close that gap by raising an explicit error in that scenario.
@douglas-raillard-arm douglas-raillard-arm merged commit 55f079d into ARM-software:master Apr 4, 2023
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.

None yet

1 participant