/
usr
/
share
/
systemtap
/
tapset
/
linux
/
powerpc
/
/usr/share/systemtap/tapset/linux/powerpc
mkdir
upload
Name
Size
Mode
Actions
aux_syscalls.stp
4963
0644
edit
dl
rm
syscall_num.stp
71086
0644
edit
dl
rm
sysc_compat_clock_settime.stp
1592
0644
edit
dl
rm
sysc_compat_fadvise64.stp
5239
0644
edit
dl
rm
sysc_compat_fallocate.stp
2652
0644
edit
dl
rm
sysc_compat_ftruncate64.stp
1579
0644
edit
dl
rm
sysc_compat_get_mempolicy.stp
1835
0644
edit
dl
rm
sysc_compat_lookup_dcookie.stp
3217
0644
edit
dl
rm
sysc_compat_mbind.stp
1652
0644
edit
dl
rm
sysc_compat_readahead.stp
1632
0644
edit
dl
rm
sysc_compat_set_mempolicy.stp
1662
0644
edit
dl
rm
sysc_compat_timer_gettime.stp
1601
0644
edit
dl
rm
sysc_compat_timer_settime.stp
1809
0644
edit
dl
rm
sysc_compat_truncate64.stp
1643
0644
edit
dl
rm
sysc_execve.stp
3414
0644
edit
dl
rm
sysc_ipc.stp
1507
0644
edit
dl
rm
sysc_mmap.stp
1898
0644
edit
dl
rm
sysc_mmap2.stp
2350
0644
edit
dl
rm
sysc_ppc32_timer_create.stp
1685
0644
edit
dl
rm
sysc_ppc64_newuname.stp
1614
0644
edit
dl
rm
sysc_ppc64_personality.stp
2252
0644
edit
dl
rm
sysc_ppc64_sys32_stime.stp
1390
0644
edit
dl
rm
sysc_ppc64_sys_stime.stp
1359
0644
edit
dl
rm
sysc_ppc_rtas.stp
1154
0644
edit
dl
rm
sysc_sigaltstack.stp
3450
0644
edit
dl
rm
sysc_sys32_adjtimex.stp
1300
0644
edit
dl
rm
sysc_sys32_getdents.stp
1473
0644
edit
dl
rm
sysc_sys32_ptrace.stp
1433
0644
edit
dl
rm
sysc_sys32_rt_sigpending.stp
1561
0644
edit
dl
rm
sysc_sys32_rt_sigqueueinfo.stp
1692
0644
edit
dl
rm
sysc_sys32_rt_sigtimedwait.stp
1858
0644
edit
dl
rm
sysc_sys32_sched_rr_get_interval.stp
1790
0644
edit
dl
rm
sysc_sys32_sched_setparam.stp
1568
0644
edit
dl
rm
sysc_sys32_sendfile64.stp
1578
0644
edit
dl
rm
sysc_sys32_sigreturn.stp
1566
0644
edit
dl
rm
sysc_sys32_swapcontext.stp
1822
0644
edit
dl
rm
sysc_sys32_sysinfo.stp
1306
0644
edit
dl
rm
sysc_sys32_utimes.stp
1427
0644
edit
dl
rm
sysc_sys64_time.stp
1122
0644
edit
dl
rm
sysc_sysctl32.stp
2359
0644
edit
dl
rm
Edit:
/usr/share/systemtap/tapset/linux/powerpc/sysc_sysctl32.stp
(2359B)
# compat_sys_sysctl ________________________________________ # # long compat_sys_sysctl(struct __sysctl_args32 __user *args) # # To match the ia64/s390/x86_64 versions (and to match the syscall variant of # this probe), the 'syscall.compat_sysctl' probe name is deprecated and # 'syscall.sysctl32' should be used instead. To use the old name without # changing your script, use the '--compatible 2.8' stap option. # @define _SYSCALL_SYSCTL32_NAME %( name = "sysctl" %) @define _SYSCALL_SYSCTL32_ARGSTR %( argstr = sprintf("%p", args) %) probe %( systemtap_v <= "2.8" %? syscall.compat_sysctl %: syscall.sysctl32 %) = dw_syscall.sysctl32 !, nd_syscall.sysctl32 ? {} probe %( systemtap_v <= "2.8" %? syscall.compat_sysctl.return %: syscall.sysctl32.return %) = dw_syscall.sysctl32.return !, nd_syscall.sysctl32.return ? {} # Note that these probes used to hook up to the ppc64 specific # compat_sys_sysctl() kernel function. However, that was just a # wrapper around sys_sysctl(). To avoid syscall nesting, we'll just # ignore compat_sys_sysctl(). # dw_compat_sys_sysctl ________________________________________ probe %( systemtap_v <= "2.8" %? dw_syscall.compat_sysctl %: dw_syscall.sysctl32 %) = %( systemtap_v <= "3.1" %? kernel.function("compat_sys_sysctl").call ? %: never %) { @_SYSCALL_SYSCTL32_NAME args = %( systemtap_v <= "3.1" %? $args %: 0 %) @_SYSCALL_SYSCTL32_ARGSTR } probe %( systemtap_v <= "2.8" %? dw_syscall.compat_sysctl.return %: dw_syscall.sysctl32.return %) = %( systemtap_v <= "3.1" %? kernel.function("compat_sys_sysctl").return ? %: never %) { @_SYSCALL_SYSCTL32_NAME retstr = %( systemtap_v <= "3.1" %? return_str(1, $return) %: "0" %) } # nd_compat_sys_sysctl ________________________________________ probe %( systemtap_v <= "2.8" %? nd_syscall.compat_sysctl %: nd_syscall.sysctl32 %) = %( systemtap_v <= "3.1" %? kprobe.function("compat_sys_sysctl") ? %: never %) { @_SYSCALL_SYSCTL32_NAME asmlinkage() args = %( systemtap_v <= "3.1" %? pointer_arg(1) %: 0 %) @_SYSCALL_SYSCTL32_ARGSTR } probe %( systemtap_v <= "2.8" %? nd_syscall.compat_sysctl.return %: nd_syscall.sysctl32.return %) = %( systemtap_v <= "3.1" %? kprobe.function("compat_sys_sysctl").return ? %: never %) { @_SYSCALL_SYSCTL32_NAME retstr = %( systemtap_v <= "3.1" %? returnstr(1) %: "0" %) }
Save
cmd:
run