You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a Pid newtype backed by NonZeroU32 so public APIs
communicate PID semantics while preventing pid 0 from being
represented as OneProcess.
PerfEventScope::OneProcess now takes Pid. pid 0 remains the
perf_event_open sentinel for the calling process, which is represented
by CallingProcess instead.
Route Some(0) to CallingProcess in perf_event_open_trace_point so
the pid=0 sentinel is preserved through the typed scope. None
continues to map to all-processes CPU 0.
Add syscall-level coverage for the pid/cpu mappings and update the
breakpoint integration test.
0 commit comments