This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/21363] New: on rawhide, _struct_sched_attr_u() is failing


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

            Bug ID: 21363
           Summary: on rawhide, _struct_sched_attr_u() is failing
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On rawhide (4.11.0-0.rc4.git2.1.fc27.x86_64), the _struct_sched_attr_u()
function, used by the syscall.sched_getattr and syscall.sched_setattr probes,
always returns the empty string.

The source to the function looks like the following:

====
function _struct_sched_attr_u:string(uaddr:long)                                
%{ /* pure */                                                                   
/* struct sched_attr introduced in kernel commit d50dde5a10 along with
SCHED_AT\
TR_SIZE_VER0 */                                                                 
#ifdef SCHED_ATTR_SIZE_VER0                                                     

... stuff deleted here ...

#endif                                                                          
%}                                                                              
====

The problem is that the SCHED_ATTR_SIZE_VER0 define has been moved to a new
header file, called uapi/linux/sched/types.h.

Systemtap should check for that header's existence and include it.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]