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

Handle LTTNG_EVENT_FIELD_VALUE_STATUS_UNAVAILABLE in capture example #40

Open
compudj opened this issue Sep 30, 2022 · 0 comments
Open

Comments

@compudj
Copy link

compudj commented Sep 30, 2022

In handle_evaluation()

we have: assert(event_field_value_status == LTTNG_EVENT_FIELD_VALUE_STATUS_OK);

with recent changes in lttng-modules, when a page fault occurs, the resulting field is a event_field_value_status == LTTNG_EVENT_FIELD_VALUE_STATUS_UNAVAILABLE. If would be good if the example handles this case by skipping the capture rather than asserting.

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