google / google/perfetto

Filter out and/or put on different track uretprobes syscall on moden kernels

Open
#7,432 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6.5k
Forks
868
Avg merge
2d 1h
Merged PRs (30d)
218

Description

uretprobes can be very confusing because it can cause tearing similar to the write syscall + atrace becuase it both creates a real slice event *and* the syscall also appears on the thread track.

We should either filter out uretprobes *or* we should mark it similar to write syscalls and put it on a differen track.

Contributor guide

Open the contributing guide

Research direction

Start by locating the code that handles uretprobes syscall events and compare it with the existing write-syscall handling. Reproduce the duplicate thread-track and slice behavior, then implement the agreed filtering or separate-track behavior and verify that the tearing no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.