[Bug testsuite/34109] New: caller test - kernel API evolution issue

mcermak at redhat dot com sourceware-bugzilla@sourceware.org
Mon Apr 27 08:18:12 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=34109

            Bug ID: 34109
           Summary: caller test - kernel API evolution issue
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
  Target Milestone: ---

Another ai assisted fix:

caller test - kernel API evolution issue.                                       

  The Problem                                                                   

  Test: systemtap.base/caller.exp                                               
  Failure: Expects sys_write but newer kernels use ksys_write                   

  Current pattern:                                                              
  set output {[Ss]y[Ss]_write 0x[0-9a-f]+\r\n}                                  

  Actual output on modern kernels:
  ksys_write 0xffffffff9f7a8e1c                                                 

  Impact: Fails on RHEL8+, Fedora 40+, all recent kernels                       

  The Fix                                                                       

  Change line ~37 from:                                                         
  set output {[Ss]y[Ss]_write 0x[0-9a-f]+\r\n}

  To:             
  set output {[Kk]?[Ss]y[Ss]_write 0x[0-9a-f]+\r\n}

  This accepts both sys_write (old) and ksys_write (new).                       

  File: testsuite/systemtap.base/caller.exp

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list