[Bug runtime/20003] sample pfiles.stp needs to be ported to newer RHEL6 kernels

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Apr 29 13:33:00 GMT 2016


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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
For stap 2.7 as distributed with rhel6.7ish:

% uname -a
Linux vm-rhel6-64 2.6.32-573.18.1.el6.x86_64
% stap -V
Systemtap translator/driver (version 2.7/0.161, rpm 2.7-2.el6)
% stap -g -p4 /usr/share/doc/systemtap*/examples/*/pfiles.stp
/tmp/stapiq8Ah3/stap_7dd3812a1ae30d3eab6b201d47112f4f_69909_src.c:39:26: error:
linux/uidgid.h: No such file or directory
/tmp/stapiq8Ah3/stap_7dd3812a1ae30d3eab6b201d47112f4f_69909_src.c: In function
‘function_task_file_handle_gid’:
/tmp/stapiq8Ah3/stap_7dd3812a1ae30d3eab6b201d47112f4f_69909_src.c:5934: error:
‘struct cred’ has no member named ‘user_ns’
cc1: warnings being treated as errors
[...]


But git stap against the git pfiles.stp does work.
So does stap-2.7 against the same pfiles.stp.

I must have run newer stap against older pfiles.stp by mistake.  Sorry!

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


More information about the Systemtap mailing list