Skip to content

Handle LTTNG_EVENT_FIELD_VALUE_STATUS_UNAVAILABLE in capture example #40

@compudj

Description

@compudj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions