Skip to content

Unclear error when reading trace that would require EXTENDED_OBJECTS_ENABLED to be set #14

@valentin-seitz

Description

@valentin-seitz

When having a trace with some object identifier bigger than uint16_t e.g. 65535 the current behavior of paraver and wxparaver is to be unable to read the record:

Error reading event record.
2:100830:1:12604:6:281751721520:60000011:0:42000050:988:42000059:812
Error reading state record.
1:108851:1:13607:3:281751721520:281751721944:7
Error reading event record.
2:108851:1:13607:3:281751721520:60000011:1:42000050:1373:42000059:2996
Error reading state record.
1:71929:1:8992:1:281751721521:281751842810:1
Error reading event record.
2:71929:1:8992:1:281751721521:60000001:0:42000050:903599:42000059:966565

I think it would be nice, to maybe check if the user is trying to load a trace that has more than 65535 objects (Could be done easily when parsing the row file) and just exit with a meaningful error informing the user about the --enable_extended_objects configure flag.

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