Scroll to navigation

TAPSET::SYSCALLS(3stap) TAPSET::SYSCALLS(3stap)

NAME

tapset::syscalls - systemtap syscall tapset

DESCRIPTION

Following is an overview of available syscall probes and convenience variables they offer. By default, each syscall probe has name and argstr convenience variables, which are not included in the overview in order to keep it short. Non dwarf-based nd_syscall probes are supposed to have the same convenience variables.

addr_uaddr, addrlen_uaddr, sockfd
addr_uaddr, addrlen_uaddr, flags, flags_str, sockfd
mode, mode_str, pathname, pathname_unquoted
filename, filename_unquoted
description_uaddr, payload_uaddr, plen, ringid, type_uaddr
buf_str, buf_uaddr
seconds
addr, code, code_str
$id, $regs, data, data_str, func, int, pt_regs*
addrlen, my_addr_uaddr, sockfd, uaddr_af, uaddr_ip, uaddr_ip_port, uaddr_ipv6_flowinfo, uaddr_ipv6_scope_id
attr_uaddr, cmd, cmd_str, size
brk
data_uaddr, header_uaddr
data_uaddr, header_uaddr
path, path_unquoted
mode, path, path_unquoted
group, owner, path, path_unquoted
group, owner, path, path_unquoted
path, path_unquoted
clk_id, clk_id_str, tx_uaddr, tx_uaddr_str
clk_id, clk_id_str, res_uaddr
clk_id, clk_id_str, tp_uaddr
clk_id, clk_id_str, flags, flags_str, rem_uaddr, req_str, req_uaddr
clk_id, clk_id_str, tp_uaddr, tp_uaddr_str
$id, $regs, child_tid_uaddr, clone_flags, int, parent_tid_uaddr, pt_regs*, stack_start
fd
$id, $regs, buf_str, buf_uaddr, int, pt_regs*
$id, $regs, clk_id, clk_id_str, flags, flags_str, int, pt_regs*, rem_uaddr, req_str, req_uaddr
args, env_str, filename
args, dirfd, dirfd_str, env_str, filename, flags, flags_str
$id, $regs, advice, advice_str, fd, int, len, offset, pt_regs*
$id, $regs, advice, advice_str, fd, int, len, offset, pt_regs*
$id, $regs, fd, int, len, mode, mode_str, offset, pt_regs*
$id, $regs, fd, int, length, pt_regs*
$id, $regs, futex_uaddr, int, op, pt_regs*, uaddr2_uaddr, utime_uaddr, val3, val
$id, $regs, dirfd, dirfd_str, filename, filename_uaddr, filename_unquoted, int, pt_regs*, tvp_str, tvp_uaddr
value_uaddr, which
$id, $regs, buffer_uaddr, cookie, int, len, pt_regs*
$id, $regs, int, pt_regs*, rem_uaddr, req_str, req_uaddr
$id, $regs, fds_uaddr, int, nfds, pt_regs*, sigmask, sigsetsize, tsp, tsp_str
$id, $regs, exceptfds, int, nfds, pt_regs*, readfds, sigmask, timeout, timeout_str, writefds
$id, $regs, count, fd, int, offset, pt_regs*
$id, $regs, flags, flags_str, int, mmsg_uaddr, pt_regs*, s, timeout_str, timeout_uaddr, vlen
exceptfds_uaddr, n, readfds_uaddr, timeout_str, timeout_uaddr, writefds_uaddr
ovalue_uaddr, value_str, value_uaddr, which, which_str
flags
buf_uaddr, cmd, cmd_str, msqid
msgflg, msgflg_str, msgp_uaddr, msgsz, msgtyp, msqid
msgflg, msgflg_str, msgp_uaddr, msgsz, msqid
flags, flags_str, msg_uaddr, s
arg, cmd, cmdstr, semid, semnum
nsops, semid, sops_uaddr, timeout_str, timeout_uaddr
flags, flags_str, msg_uaddr, s
shmaddr_uaddr, shmflg, shmflg_str, shmid
buf_uaddr, cmd, cmd_str, shmid
$id, $regs, filename, filename_unquoted, int, pt_regs*, timeval, tvp_uaddr_str
$id, $regs, int, length, path, path_uaddr, path_unquoted, pt_regs*
$id, $regs, actime, buf_uaddr, filename, filename_uaddr, filename_unquoted, int, modtime, pt_regs*
$id, $regs, dfd, dfd_str, filename, filename_uaddr, filename_unquoted, flags, flags_str, int, pt_regs*, tsp_str, tsp_uaddr
$id, $regs, fd, flags, flags_str, int, iov, nr_segs, pt_regs*
addrlen, serv_addr_uaddr, sockfd, uaddr_af, uaddr_ip, uaddr_ip_port, uaddr_ipv6_flowinfo, uaddr_ipv6_scope_id
fd_in, fd_out, flags, len, off_in, off_out
mode, pathname, pathname_unquoted
flags, flags_str, name_user, name_user_unquoted
oldfd
flags, flags_str, newfd, oldfd
flags, flags_str, newfd, oldfd
flags, size
epfd, event_uaddr, fd, op, op_str
epfd, events_uaddr, maxevents, sigmask_uaddr, sigsetsize, timeout
epfd, events_uaddr, maxevents, timeout
count, flags, flags_str
args, env_str, filename
args, dirfd, dirfd_str, env_str, filename, flags, flags_str
status
status
dirfd, dirfd_str, mode, mode_str, pathname, pathname_unquoted
dirfd, dirfd_str, flags, flags_str, mode, mode_str, pathname, pathname_unquoted
advice, advice_str, fd, len, offset
$id, $regs, advice, advice_str, fd, int, len, offset, pt_regs*
fd, len, mode, mode_str, offset
event_f_flags, event_f_flags_str, flags, flags_str
dirfd, dirfd_str, fanotify_fd, flags, flags_str, mask, mask_str, pathname, pathname_unquoted
fd
fildes, mode
dirfd, dirfd_str, mode, pathname, pathname_unquoted
fd, group, owner
fd, group, owner
dirfd, dirfd_str, flags, flags_str, group, owner, pathname, pathname_unquoted
arg, cmd, cmd_str, fd
fd
filedes, name_str, name_str_unquoted, size, value_uaddr
fd, flags, flags_str, uargs, uargs_unquoted
filedes, list_uaddr, size
fd, operation

filedes, name_str, name_str_unquoted, name_uaddr
filedes, flags, flags_str, name_str, name_str_unquoted, name_uaddr, size, value_str, value_uaddr
buf_uaddr, filedes
buf_uaddr, dirfd, dirfd_str, flags, flags_str, path, path_unquoted
buf_uaddr, fd
buf_uaddr, fd, sz
fd
fd, length
$id, $regs, fd, int, length, pt_regs*
futex_uaddr, op, uaddr2_uaddr, utime_uaddr, val3, val
dirfd, dirfd_str, filename, filename_uaddr, filename_unquoted, tvp_str, tvp_uaddr
addr, flags, flags_str, maxnode, nmask_uaddr, policy_uaddr
len_uaddr, list_head_uaddr, pid
u_info_str, u_info_uaddr
cpu_uaddr, node_uaddr, tcache_uaddr
buf_uaddr, size
count, dirp_uaddr, fd

list_uaddr, size
value_uaddr, which
name_uaddr, namelen_uaddr, s
pid

which, who
buf, buf_unquoted, count, flags, flags_str
egid_uaddr, rgid_uaddr, sgid_uaddr
euid_uaddr, ruid_uaddr, suid_uaddr
resource, rlim_uaddr
usage_uaddr, who, who_str
pid
name_uaddr, namelen_uaddr, s
fd, level, level_str, optlen_uaddr, optname, optname_str, optval_uaddr

tv_uaddr, tz_uaddr

name_str, name_str_unquoted, path, path_unquoted, size, value_uaddr
len, uargs, uargs_unquoted, umod_uaddr
fd, mask, mask_str, path, path_uaddr, path_unquoted
flags
fd, wd
ctx_id, iocb_uaddr, result_uaddr
ctx
ctx_id, events_uaddr, min_nr, nr, timeout_uaddr, timestr
ctxp_uaddr, maxevents
ctx_id, iocbpp_uaddr, nr
argp, fd, request
from, num, turn_on
level
which, which_str, who
ioprio, ioprio_str, which, which_str, who
idx1, idx2, pid1, pid2, type, type_str
cmdline, cmdline_len, cmdline_unquoted, flags, flags_str, initrd_fd, kernel_fd
entry, flags, flags_str, nr_segments, segments_uaddr
arg2, arg3, arg4, arg5, option
pid, sig, sig_name
group, owner, path, path_unquoted
group, owner, path, path_unquoted
name_str, name_str_unquoted, path, path_unquoted, size, value_uaddr
newpath, newpath_unquoted, oldpath, oldpath_unquoted
flags, flags_str, newdirfd, newdirfd_str, newpath, newpath_unquoted, olddirfd, olddirfd_str, oldpath, oldpath_unquoted
backlog, sockfd
list_uaddr, path, path_uaddr, path_unquoted, size
list_uaddr, path, path_uaddr, path_unquoted, size
fd, offset_high, offset_low, result_uaddr, whence, whence_str
$id, $regs, buffer_uaddr, cookie, int, len, pt_regs*
name_str, name_str_unquoted, name_uaddr, path, path_uaddr, path_unquoted
fildes, offset, whence, whence_str
flags, flags_str, name_str, name_str_unquoted, name_uaddr, path, path_uaddr, path_unquoted, size, value_str, value_uaddr
buf_uaddr, path, path_unquoted
advice, advice_str, length, start
flags, flags_str, len, maxnode, mode, mode_str, nmask_uaddr, start
cmd, cmd_str, flags
flags, flags_str, uname, uname_unquoted
flags, flags_str
maxnode, new_nodes, old_nodes, pid
length, start, vec_uaddr
mode, pathname, pathname_uaddr, pathname_unquoted
dirfd, dirfd_str, mode, pahtname_unquoted, pathname
dev, mode, mode_str, pathname, pathname_unquoted
dev, dirfd, dirfd_str, mode, mode_str, pathname, pathname_unquoted
addr, len
addr, flags, flags_str, len
flags, flags_str
fd, flags, flags_str, length, pgoffset, prot, prot_str, start
bytecount, func, ptr_uaddr
data, data_unquoted, filesystemtype, filesystemtype_unquoted, mountflags, mountflags_str, source, source_unquoted, target, target_unquoted
flags, flags_str, nodes, nr_pages, pages, pid, status
addr, len, prot, prot_str
mqdes, u_mqstat_uaddr, u_omqstat_uaddr
mqdes, notification_uaddr
filename, filename_unquoted, mode, name_uaddr, oflag, oflag_str, u_attr_uaddr
abs_timeout_uaddr, mqdes, msg_len, msg_prio_uaddr, msg_ptr_uaddr
abs_timeout_uaddr, mqdes, msg_len, msg_prio, msg_ptr_uaddr
u_name, u_name_uaddr, u_name_unquoted
flags, flags_str, new_address, new_size, old_address, old_size
buf_uaddr, cmd, cmd_str, msqid
key, key_str, msgflg, msgflg_str
msgflg, msgflg_str, msgp_uaddr, msgsz, msgtyp, msqid
msgflg, msgflg_str, msgp_uaddr, msgsz, msqid
flags, flags_str, length, start
addr, len

length, start
dfd, dfd_str, flags, flags_str, handle_uaddr, mnt_id_uaddr, pathname, pathname_unquoted
rem_uaddr, req_str, req_uaddr

inc
filename, filename_unquoted, flags, flags_str, mode
flags, flags_str, handle_uaddr, mount_dfd, mount_dfd_str
dfd, dfd_str, filename, filename_unquoted, flags, flags_str, mode

attr_uaddr, cpu, flags, flags_str, group_fd, pid
persona
fildes_uaddr, flag_str, flags, pipe0, pipe1
new_root_str, new_root_str_unquoted, old_root_str, old_root_str_unquoted
flags, init_val, init_val_str
pkey
addr, len, pkey, prot, prot_str
nfds, timeout, ufds_uaddr
fds_uaddr, nfds, sigmask, sigsetsize, tsp, tsp_str
arg2, arg3, arg4, arg5, option
buf_uaddr, count, fd, offset
count, fd, offset, vector_uaddr
count, fd, flags, flags_str, offset, vector_uaddr
new_rlim_str, new_rlim_uaddr, old_rlim_uaddr, pid, resource, resource_str
flags, liovcnt, local_iov_uaddr, pid, remote_iov_uaddr, riovcnt
flags, liovcnt, local_iov_uaddr, pid, remote_iov_uaddr, riovcnt
exceptfds, nfds, readfds, sigmask, timeout, timeout_str, writefds
addr, data, pid, request
buf_str, buf_uaddr, count, fd, offset
$id, $regs, buf_str, buf_uaddr, count, fd, int, offset, pt_regs*
count, fd, offset, vector_uaddr
count, fd, flags, flags_str, offset, vector_uaddr
addr_uaddr, cmd, cmd_str, id, special, special_str, special_str_unquoted
buf_uaddr, count, fd
count, fd, offset
count, dirent, fd
buf_uaddr, bufsiz, path, path_unquoted
buf_uaddr, bufsiz, dfd, dfd_str, path, path_unquoted
count, fd, vector_uaddr
arg_uaddr, flag, flag_str, magic2, magic2_str, magic, magic_str
buf_uaddr, flags, flags_str, len, s
addr_uaddr, addrlen_uaddr, buf_uaddr, flags, flags_str, len, s
flags, flags_str, mmsg_uaddr, s, timeout_str, timeout_uaddr, vlen
flags, flags_str, msg_uaddr, s
flags, flags_str, pgoff, prot, prot_str, size, start
name_str, name_str_unquoted, path, path_unquoted
newpath, newpath_unquoted, oldpath, oldpath_unquoted
newdfd, newdfd_str, newname, newname_str, newname_str_unquoted, olddfd, olddfd_str, oldname, oldname_str, oldname_str_unquoted
flags, flags_str, newdfd, newdfd_str, newname, newname_str, newname_str_unquoted, olddfd, olddfd_str, oldname, oldname_str, oldname_str_unquoted
callout_info_uaddr, description_str, description_str_unquoted, description_uaddr, destringid, type_str, type_str_unquoted, type_uaddr

pathname, pathname_unquoted
act_str, act_uaddr, oact_uaddr, sig, sig_str, sigsetsize
act_str, act_uaddr, oact_uaddr, sig, sig_str, sigsetsize
set_uaddr, sigsetsize
how, how_str, oldset_uaddr, set_str, set_uaddr, sigsetsize
pid, sig, sig_name, siginfo_str, uinfo_uaddr
set_str, set_uaddr, sigsetsize
sigsetsize, uinfo_str, uinfo_uaddr, uthese_str, uthese_uaddr, uts_str, uts_uaddr
sig, sig_str, tgid, tid, uinfo_str, uinfo_uaddr
policy, policy_str
policy, policy_str
len, mask_uaddr, pid
flags, pid, sched_attr_str, sched_attr_uaddr, size
p_uaddr, pid
pid
pid, tp_uaddr
len, mask_uaddr, pid
flags, pid, sched_attr_str, sched_attr_uaddr
p_uaddr, pid
p_uaddr, pid, policy, policy_str

flags, flags_str, op, op_str, uargs_uaddr
exceptfds_uaddr, n, readfds_uaddr, timeout_str, timeout_uaddr, writefds_uaddr
arg, cmd, cmdstr, semid, semnum
key, key_str, nsems, semflg, semflg_str
nsops, semid, sops_uaddr
nsops, semid, sops_uaddr, timeout_str, timeout_uaddr
buf, buf_uaddr, flags, flags_str, len, s
count, in_fd, offset_uaddr, out_fd
flags, flags_str, mmsg_uaddr, s, vlen
flags, flags_str, msg_uaddr, s
buf, buf_uaddr, flags, flags_str, len, s, to_str, to_uaddr, tolen
maxnode, mode, mode_str, nmask_uaddr
len, list_head_uaddr
u_info_str, u_info_uaddr
tidptr_uaddr
domainname_str, domainname_str_unquoted, domainname_uaddr, len
fsgid
fsuid
gid
list_uaddr, size
hostname_uaddr, len, name_str, name_str_unquoted
ovalue_uaddr, value_str, value_uaddr, which, which_str
fd, nstype, nstype_str
pgid, pid
prio, which, which_str, who
egid, rgid
egid, rgid
egid, rgid, sgid
egid, rgid, sgid
euid, ruid, suid
euid, ruid, suid
euid, ruid
euid, ruid
resource, resource_str, rlim_str, rlim_uaddr

fd, level, level_str, optlen, optname, optname_str, optval_uaddr
tv_str, tv_uaddr, tz_str, tz_uaddr
tv_str, tv_uaddr, tz_str, tz_uaddr
uid
flags, flags_str, name_str, name_str_unquoted, name_uaddr, path, path_uaddr, path_unquoted, size, value_str, value_uaddr

shmaddr_uaddr, shmflg, shmflg_str, shmid
buf_uaddr, cmd, cmd_str, shmid
shmaddr_uaddr
key, shmflg, shmflg_str, size
how, how_str, s
$id, $regs, act_str, act_uaddr, int, oact_uaddr, pt_regs*, sig, sig_str
act_str, act_uaddr, oact_uaddr, sig, sig_str
uoss_uaddr, uss_str, uss_uaddr
handler, handler_str, sig, sig_str
flags
set
how, how_str, oldset_uaddr, set_uaddr
mask, mask_str
family, family_str, protocol, protocol_str, type, type_str
family, family_str, protocol, protocol_str, sv_uaddr, type, type_str
fd_in, fd_out, flags, flags_str, len, off_in, off_out
newmask, newmask_str
buf_uaddr, filename, filename_uaddr, filename_unquoted
buf_uaddr, path, path_unquoted
buf_uaddr, path, path_unquoted, sz
buf_uaddr, dfd, dfd_str, filename, filename_uaddr, filename_unquoted, flags, flags_str, mask, mask_str
t_uaddr
path, path_uaddr, path_unquoted
path, path_uaddr, path_unquoted, swapflags, swapflags_str
newpath, oldpath, oldpath_unquoted
newdfd, newdfd_str, newname, newname_str, newname_str_unquoted, oldname, oldname_str, oldname_str_unquoted

fd, flags, flags_str, nbytes, offset
fd
$id, $regs, args, int, pt_regs*
arg1, arg2, option
info_str, info_uaddr
bufp_uaddr, len, type
fdin, fdout, flags, len
pid, sig, sig_str, tgid
t_uaddr
clockid, clockid_str, evp_uaddr, timerid_uaddr
timerid
timerid
timerid, value_uaddr
flags, ovalue_uaddr, timerid, value_str, value_uaddr
clockid, clockid_str, flags, flags_str
fd, value_uaddr
fd, flags, flags_str, ovalue_uaddr, value_str, value_uaddr
buf_str, buf_uaddr
pid, sig, sig_str
length, path, path_uaddr, path_unquoted
mask
flags, flags_str, target, target_unquoted
name_uaddr
pathname, pathname_uaddr, pathname_unquoted
dfd, dfd_str, flag, flag_str, pathname, pathname_str, pathname_str_unquoted
unshare_flags, unshare_flags_str
$id, $regs, int, library, library_uaddr, library_unquoted, pt_regs*
flags, flags_str
dev, ubuf_uaddr
dev, ubuf_uaddr
actime, buf_uaddr, filename, filename_uaddr, filename_unquoted, modtime
dfd, dfd_str, filename, filename_uaddr, filename_unquoted, flags, flags_str, tsp_str, tsp_uaddr
filename, filename_uaddr, filename_unquoted, tvp_uaddr, tvp_uaddr_str

fd, flags, flags_str, iov, nr_segs
options, options_str, pid, rusage_uaddr, status_uaddr
infop_uaddr, options, options_str, pid, rusage_uaddr, which, which_str
options, options_str, pid, status_uaddr
buf_str, buf_uaddr, count, fd
count, fd, vector_uaddr

SEE ALSO

stap(1), stapprobes(3stap)

November 2023 Systemtap Tapset Reference