Skip to content

should_omit_syscall() incorrectly omits syscalls due to interleaved markers #7831

@bin-wang

Description

@bin-wang

The should_omit_syscall() function in raw2trace.cpp is too eager to omit system calls. It currently only anticipates timestamps and CPU_ID markers between a syscall instruction and its corresponding TRACE_MARKER_TYPE_SYSCALL marker. If any other marker type appears (e.g., WINDOW_ID or SPLIT_VALUE), the function fails to find the syscall marker and incorrectly marks the instruction for omission.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions