public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/21363] New: on rawhide, _struct_sched_attr_u() is failing
@ 2017-04-07 15:04 dsmith at redhat dot com
  2017-04-07 15:07 ` [Bug tapsets/21363] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2017-04-07 15:04 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tapsets/21363] on rawhide, _struct_sched_attr_u() is failing
  2017-04-07 15:04 [Bug tapsets/21363] New: on rawhide, _struct_sched_attr_u() is failing dsmith at redhat dot com
@ 2017-04-07 15:07 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2017-04-07 15:07 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|systemtap at sourceware dot org    |dsmith at redhat dot com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-07 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07 15:04 [Bug tapsets/21363] New: on rawhide, _struct_sched_attr_u() is failing dsmith at redhat dot com
2017-04-07 15:07 ` [Bug tapsets/21363] " dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).