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 server/20541] Systemtap 3.0 installation problem on Ubuntu 16.04 LTS @GCP


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

--- Comment #2 from SteveTsai <steve.tsai at nexusguard dot com> ---
Thank you, Frank.
The followings are some test results that you suggested.
-----------------------------------------------------
$ sudo stap -P -ve 'probe kernel.function("sys_open") {log("hello world")
exit()}'
Pass 5: starting run.
WARNING: probe
kernel.function("SyS_open@/build/linux-lts-xenial-QiVniY/linux-lts-xenial-4.4.0/fs/open.c:1038")
(address 0xff
ffffff811fcd46) registration error (rc -84)

$ sudo grep -i sys.open /proc/kallsyms
ffffffff81209ba0 t perf_trace_do_sys_open
ffffffff81209d20 t trace_event_raw_event_do_sys_open
ffffffff81209e50 t trace_raw_output_do_sys_open
ffffffff8120c120 T do_sys_open
ffffffff8120c3c0 T SyS_open
ffffffff8120c3c0 T sys_open
ffffffff8120c3e0 T SyS_openat
ffffffff8120c3e0 T sys_openat
ffffffff81265bf0 T compat_SyS_open
ffffffff81265bf0 T compat_sys_open
ffffffff81265c10 T compat_SyS_openat
ffffffff81265c10 T compat_sys_openat
ffffffff81266500 T compat_SyS_open_by_handle_at
ffffffff81266500 T compat_sys_open_by_handle_at
ffffffff81271040 T SyS_open_by_handle_at
ffffffff81271040 T sys_open_by_handle_at
ffffffff812856d0 t proc_sys_open
ffffffff81d6cbd8 r __tracepoint_ptr_do_sys_open
ffffffff81d6ea50 r __tpstrtab_do_sys_open
ffffffff81e76de0 d print_fmt_do_sys_open
ffffffff81e76e40 d trace_event_type_funcs_do_sys_open
ffffffff81e76f00 d event_do_sys_open
ffffffff81f05a60 d event_class_do_sys_open
ffffffff81f11260 D __tracepoint_do_sys_open
ffffffff81f8fcaa t trace_event_define_fields_do_sys_open
ffffffff82088200 t __event_do_sys_open

$ sudo stap -e 'probe nd_syscall.* { }' -c 'sleep 10'
WARNING: side-effect-free probe 'probe_2791': identifier 'nd_syscall' at
<input>:1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_2818': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_2826': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_2878': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_2880': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_2934': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3025': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3076': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3077': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3079': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3080': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3082': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3083': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3101': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3103': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3105': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3142': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3147': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3148': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3159': identifier '__nd_syscall' at
/usr/share/systemtap/tapset/linux/nd_syscalls.stp:
2928:33
 source:                                 __nd_syscall.inotify_init ?
                                         ^
WARNING: side-effect-free probe 'probe_3210': identifier 'nd_syscall' at
<input>:1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3319': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3327': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3340': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3353': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3357': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3377': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3435': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3437': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3445': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3447': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3464': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3465': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3504': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3609': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3627': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3657': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3663': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3701': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3705': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3709': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3715': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3716': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3807': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
WARNING: side-effect-free probe 'probe_3809': identifier 'nd_syscall' at :1:7
 source: probe nd_syscall.* { }
               ^
--------------------------------------------------------
Any idea?

Thank you very much.
Steve

-- 
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]