diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-01 15:00:44 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-01 15:00:44 +0300 |
| commit | 6a872804d93b822d530e9df93547f2fec0a8ea50 (patch) | |
| tree | 4665b0aec25491cb094b71a099fedcdb15c03928 /integrationtests/parse.go | |
| parent | 55aa404fc93deeff27205b3cc9af407ab071be4b (diff) | |
test(integration): add Sched family tracing coverage
Add a self-targeted, non-disruptive sched-basic ioworkload scenario and a
dedicated TestSchedBasic integration test. The scenario pins to one OS thread
(LockOSThread) and exercises only safe Sched syscalls: sched_yield;
sched_getaffinity then sched_setaffinity re-applying the identical mask (a
no-op); and read-only sched_getscheduler, sched_getparam, sched_getattr,
sched_get_priority_max/min, and sched_rr_get_interval. sched_setscheduler,
sched_setattr, and sched_setparam are intentionally excluded.
The test scopes -trace-syscalls to the sched_* family, guards on PID and comm,
and asserts enter_ tracepoints fire (MinCount>=1) for sched_yield,
sched_getaffinity, sched_getscheduler, and sched_getparam.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/parse.go')
0 files changed, 0 insertions, 0 deletions
