1TAPSET::SYSCALLS(3stap) TAPSET::SYSCALLS(3stap)
2
3
4
6 tapset::syscalls - systemtap syscall tapset
7
8
10 Following is an overview of available syscall probes and convenience
11 variables they offer. By default, each syscall probe has name and
12 argstr convenience variables, which are not included in the overview in
13 order to keep it short. Non dwarf-based nd_syscall probes are supposed
14 to have the same convenience variables.
15
16
17 syscall.accept
18 addr_uaddr, addrlen_uaddr, sockfd
19
20 syscall.accept4
21 addr_uaddr, addrlen_uaddr, flags, flags_str, sockfd
22
23 syscall.access
24 mode, mode_str, pathname, pathname_unquoted
25
26 syscall.acct
27 filename, filename_unquoted
28
29 syscall.add_key
30 description_uaddr, payload_uaddr, plen, ringid, type_uaddr
31
32 syscall.adjtimex
33 buf_str, buf_uaddr
34
35 syscall.alarm
36 seconds
37
38 syscall.arch_prctl
39 addr, code, code_str
40
41 syscall.bdflush
42 data, data_str, func
43
44 syscall.bind
45 addrlen, my_addr_uaddr, sockfd, uaddr_af, uaddr_ip,
46 uaddr_ip_port, uaddr_ipv6_flowinfo, uaddr_ipv6_scope_id
47
48 syscall.bpf
49 attr_uaddr, cmd, cmd_str, size
50
51 syscall.brk
52 brk
53
54 syscall.capget
55 data_uaddr, header_uaddr
56
57 syscall.capset
58 data_uaddr, header_uaddr
59
60 syscall.chdir
61 path, path_unquoted
62
63 syscall.chmod
64 mode, path, path_unquoted
65
66 syscall.chown
67 group, owner, path, path_unquoted
68
69 syscall.chown16
70 group, owner, path, path_unquoted
71
72 syscall.chroot
73 path, path_unquoted
74
75 syscall.clock_adjtime
76 clk_id, clk_id_str, tx_uaddr, tx_uaddr_str
77
78 syscall.clock_getres
79 clk_id, clk_id_str, res_uaddr
80
81 syscall.clock_gettime
82 clk_id, clk_id_str, tp_uaddr
83
84 syscall.clock_nanosleep
85 clk_id, clk_id_str, flags, flags_str, rem_uaddr, req_str,
86 req_uaddr
87
88 syscall.clock_settime
89 clk_id, clk_id_str, tp_uaddr, tp_uaddr_str
90
91 syscall.clone
92 $id, $regs, child_tid_uaddr, clone_flags, int, parent_tid_uaddr,
93 pt_regs*, stack_start
94
95 syscall.close
96 fd
97
98 syscall.compat_adjtimex
99 $id, $regs, buf_str, buf_uaddr, int, pt_regs*
100
101 syscall.compat_clock_nanosleep
102 $id, $regs, clk_id, clk_id_str, flags, flags_str, int, pt_regs*,
103 rem_uaddr, req_str, req_uaddr
104
105 syscall.compat_execve
106 args, env_str, filename
107
108 syscall.compat_execveat
109 args, dirfd, dirfd_str, env_str, filename, flags, flags_str
110
111 syscall.compat_fadvise64
112 $id, $regs, advice, advice_str, fd, int, len, offset, pt_regs*
113
114 syscall.compat_fadvise64_64
115 $id, $regs, advice, advice_str, fd, int, len, offset, pt_regs*
116
117 syscall.compat_fallocate
118 $id, $regs, fd, int, len, mode, mode_str, offset, pt_regs*
119
120 syscall.compat_ftruncate64
121 $id, $regs, fd, int, length, pt_regs*
122
123 syscall.compat_futex
124 $id, $regs, futex_uaddr, int, op, pt_regs*, uaddr2_uaddr,
125 utime_uaddr, val3, val
126
127 syscall.compat_futimesat
128 $id, $regs, dirfd, dirfd_str, filename, filename_uaddr, file‐
129 name_unquoted, int, pt_regs*, tvp_str, tvp_uaddr
130
131 syscall.compat_getitimer
132 value_uaddr, which
133
134 syscall.compat_lookup_dcookie
135 buffer_uaddr, cookie, len
136
137 syscall.compat_nanosleep
138 $id, $regs, int, pt_regs*, rem_uaddr, req_str, req_uaddr
139
140 syscall.compat_ppoll
141 $id, $regs, fds_uaddr, int, nfds, pt_regs*, sigmask, sigsetsize,
142 tsp, tsp_str
143
144 syscall.compat_pselect6
145 $id, $regs, exceptfds, int, nfds, pt_regs*, readfds, sigmask,
146 timeout, timeout_str, writefds
147
148 syscall.compat_readahead
149 $id, $regs, count, fd, int, offset, pt_regs*
150
151 syscall.compat_recvmmsg
152 $id, $regs, flags, flags_str, int, mmsg_uaddr, pt_regs*, s,
153 timeout_str, timeout_uaddr, vlen
154
155 syscall.compat_select
156 exceptfds_uaddr, n, readfds_uaddr, timeout_str, timeout_uaddr,
157 writefds_uaddr
158
159 syscall.compat_setitimer
160 ovalue_uaddr, value_str, value_uaddr, which, which_str
161
162 syscall.compat_signalfd
163 flags
164
165 syscall.compat_sys_msgctl
166 buf_uaddr, cmd, cmd_str, msqid
167
168 syscall.compat_sys_msgrcv
169 msgflg, msgflg_str, msgp_uaddr, msgsz, msgtyp, msqid
170
171 syscall.compat_sys_msgsnd
172 msgflg, msgflg_str, msgp_uaddr, msgsz, msqid
173
174 syscall.compat_sys_recvmsg
175 flags, flags_str, msg_uaddr, s
176
177 syscall.compat_sys_semctl
178 arg, cmd, cmdstr, semid, semnum
179
180 syscall.compat_sys_semtimedop
181 nsops, semid, sops_uaddr, timeout_str, timeout_uaddr
182
183 syscall.compat_sys_sendmsg
184 flags, flags_str, msg_uaddr, s
185
186 syscall.compat_sys_shmat
187 shmaddr_uaddr, shmflg, shmflg_str, shmid
188
189 syscall.compat_sys_shmctl
190 buf_uaddr, cmd, cmd_str, shmid
191
192 syscall.compat_sys_utimes
193 $id, $regs, filename, filename_unquoted, int, pt_regs*, timeval,
194 tvp_uaddr_str
195
196 syscall.compat_truncate64
197 $id, $regs, int, length, path, path_uaddr, path_unquoted,
198 pt_regs*
199
200 syscall.compat_utime
201 $id, $regs, actime, buf_uaddr, filename, filename_uaddr, file‐
202 name_unquoted, int, modtime, pt_regs*
203
204 syscall.compat_utimensat
205 $id, $regs, dfd, dfd_str, filename, filename_uaddr, filename_un‐
206 quoted, flags, flags_str, int, pt_regs*, tsp_str, tsp_uaddr
207
208 syscall.compat_vmsplice
209 $id, $regs, fd, flags, flags_str, int, iov, nr_segs, pt_regs*
210
211 syscall.connect
212 addrlen, serv_addr_uaddr, sockfd, uaddr_af, uaddr_ip,
213 uaddr_ip_port, uaddr_ipv6_flowinfo, uaddr_ipv6_scope_id
214
215 syscall.copy_file_range
216 fd_in, fd_out, flags, len, off_in, off_out
217
218 syscall.creat
219 mode, pathname, pathname_unquoted
220
221 syscall.delete_module
222 flags, flags_str, name_user, name_user_unquoted
223
224 syscall.dup
225 oldfd
226
227 syscall.dup2
228 flags, flags_str, newfd, oldfd
229
230 syscall.dup3
231 flags, flags_str, newfd, oldfd
232
233 syscall.epoll_create
234 flags, size
235
236 syscall.epoll_ctl
237 epfd, event_uaddr, fd, op, op_str
238
239 syscall.epoll_pwait
240 epfd, events_uaddr, maxevents, sigmask_uaddr, sigsetsize, time‐
241 out
242
243 syscall.epoll_wait
244 epfd, events_uaddr, maxevents, timeout
245
246 syscall.eventfd
247 count, flags, flags_str
248
249 syscall.execve
250 args, env_str, filename
251
252 syscall.execveat
253 args, dirfd, dirfd_str, env_str, filename, flags, flags_str
254
255 syscall.exit
256 status
257
258 syscall.exit_group
259 status
260
261 syscall.faccessat
262 dirfd, dirfd_str, mode, mode_str, pathname, pathname_unquoted
263
264 syscall.fadvise64
265 advice, advice_str, fd, len, offset
266
267 syscall.fadvise64_64
268 $id, $regs, advice, advice_str, fd, int, len, offset, pt_regs*
269
270 syscall.fallocate
271 fd, len, mode, mode_str, offset
272
273 syscall.fanotify_init
274 event_f_flags, event_f_flags_str, flags, flags_str
275
276 syscall.fanotify_mark
277 dirfd, dirfd_str, fanotify_fd, flags, flags_str, mask, mask_str,
278 pathname, pathname_unquoted
279
280 syscall.fchdir
281 fd
282
283 syscall.fchmod
284 fildes, mode
285
286 syscall.fchmodat
287 dirfd, dirfd_str, mode, pathname, pathname_unquoted
288
289 syscall.fchown
290 fd, group, owner
291
292 syscall.fchown16
293 fd, group, owner
294
295 syscall.fchownat
296 dirfd, dirfd_str, flags, flags_str, group, owner, pathname,
297 pathname_unquoted
298
299 syscall.fcntl
300 arg, cmd, cmd_str, fd
301
302 syscall.fdatasync
303 fd
304
305 syscall.fgetxattr
306 filedes, name_str, name_str_unquoted, size, value_uaddr
307
308 syscall.finit_module
309 fd, flags, flags_str, uargs, uargs_unquoted
310
311 syscall.flistxattr
312 filedes, list_uaddr, size
313
314 syscall.flock
315 fd, operation
316
317 syscall.fork
318
319
320 syscall.fremovexattr
321 filedes, name_str, name_str_unquoted, name_uaddr
322
323 syscall.fsetxattr
324 filedes, flags, flags_str, name_str, name_str_unquoted,
325 name_uaddr, size, value_str, value_uaddr
326
327 syscall.fstat
328 buf_uaddr, filedes
329
330 syscall.fstatat
331 buf_uaddr, dirfd, dirfd_str, flags, flags_str, path, path_un‐
332 quoted
333
334 syscall.fstatfs
335 buf_uaddr, fd
336
337 syscall.fstatfs64
338 buf_uaddr, fd, sz
339
340 syscall.fsync
341 fd
342
343 syscall.ftruncate
344 fd, length
345
346 syscall.ftruncate64
347 $id, $regs, fd, int, length, pt_regs*
348
349 syscall.futex
350 futex_uaddr, op, uaddr2_uaddr, utime_uaddr, val3, val
351
352 syscall.futimesat
353 dirfd, dirfd_str, filename, filename_uaddr, filename_unquoted,
354 tvp_str, tvp_uaddr
355
356 syscall.get_mempolicy
357 addr, flags, flags_str, maxnode, nmask_uaddr, policy_uaddr
358
359 syscall.get_robust_list
360 len_uaddr, list_head_uaddr, pid
361
362 syscall.get_thread_area
363 u_info_str, u_info_uaddr
364
365 syscall.getcpu
366 cpu_uaddr, node_uaddr, tcache_uaddr
367
368 syscall.getcwd
369 buf_uaddr, size
370
371 syscall.getdents
372 count, dirp_uaddr, fd
373
374 syscall.getegid
375
376
377 syscall.geteuid
378
379
380 syscall.getgid
381
382
383 syscall.getgroups
384 list_uaddr, size
385
386 syscall.getitimer
387 value_uaddr, which
388
389 syscall.getpeername
390 name_uaddr, namelen_uaddr, s
391
392 syscall.getpgid
393 pid
394
395 syscall.getpgrp
396
397
398 syscall.getpid
399
400
401 syscall.getppid
402
403
404 syscall.getpriority
405 which, who
406
407 syscall.getrandom
408 buf, buf_unquoted, count, flags, flags_str
409
410 syscall.getresgid
411 egid_uaddr, rgid_uaddr, sgid_uaddr
412
413 syscall.getresuid
414 euid_uaddr, ruid_uaddr, suid_uaddr
415
416 syscall.getrlimit
417 resource, rlim_uaddr
418
419 syscall.getrusage
420 usage_uaddr, who, who_str
421
422 syscall.getsid
423 pid
424
425 syscall.getsockname
426 name_uaddr, namelen_uaddr, s
427
428 syscall.getsockopt
429 fd, level, level_str, optlen_uaddr, optname, optname_str, opt‐
430 val_uaddr
431
432 syscall.gettid
433
434
435 syscall.gettimeofday
436 tv_uaddr, tz_uaddr
437
438 syscall.getuid
439
440
441 syscall.getxattr
442 name_str, name_str_unquoted, path, path_unquoted, size,
443 value_uaddr
444
445 syscall.init_module
446 len, uargs, uargs_unquoted, umod_uaddr
447
448 syscall.inotify_add_watch
449 fd, mask, mask_str, path, path_uaddr, path_unquoted
450
451 syscall.inotify_init
452 flags
453
454 syscall.inotify_rm_watch
455 fd, wd
456
457 syscall.io_cancel
458 ctx_id, iocb_uaddr, result_uaddr
459
460 syscall.io_destroy
461 ctx
462
463 syscall.io_getevents
464 ctx_id, events_uaddr, min_nr, nr, timeout_uaddr, timestr
465
466 syscall.io_setup
467 ctxp_uaddr, maxevents
468
469 syscall.io_submit
470 ctx_id, iocbpp_uaddr, nr
471
472 syscall.ioctl
473 argp, fd, request
474
475 syscall.ioperm
476 from, num, turn_on
477
478 syscall.iopl
479 level
480
481 syscall.ioprio_get
482 which, which_str, who
483
484 syscall.ioprio_set
485 ioprio, ioprio_str, which, which_str, who
486
487 syscall.kcmp
488 idx1, idx2, pid1, pid2, type, type_str
489
490 syscall.kexec_file_load
491 cmdline, cmdline_len, cmdline_unquoted, flags, flags_str, ini‐
492 trd_fd, kernel_fd
493
494 syscall.kexec_load
495 entry, flags, flags_str, nr_segments, segments_uaddr
496
497 syscall.keyctl
498 arg2, arg3, arg4, arg5, option
499
500 syscall.kill
501 pid, sig, sig_name
502
503 syscall.lchown
504 group, owner, path, path_unquoted
505
506 syscall.lchown16
507 group, owner, path, path_unquoted
508
509 syscall.lgetxattr
510 name_str, name_str_unquoted, path, path_unquoted, size,
511 value_uaddr
512
513 syscall.link
514 newpath, newpath_unquoted, oldpath, oldpath_unquoted
515
516 syscall.linkat
517 flags, flags_str, newdirfd, newdirfd_str, newpath, newpath_un‐
518 quoted, olddirfd, olddirfd_str, oldpath, oldpath_unquoted
519
520 syscall.listen
521 backlog, sockfd
522
523 syscall.listxattr
524 list_uaddr, path, path_uaddr, path_unquoted, size
525
526 syscall.llistxattr
527 list_uaddr, path, path_uaddr, path_unquoted, size
528
529 syscall.llseek
530 fd, offset_high, offset_low, result_uaddr, whence, whence_str
531
532 syscall.lookup_dcookie
533 buffer_uaddr, cookie, len
534
535 syscall.lremovexattr
536 name_str, name_str_unquoted, name_uaddr, path, path_uaddr,
537 path_unquoted
538
539 syscall.lseek
540 fildes, offset, whence, whence_str
541
542 syscall.lsetxattr
543 flags, flags_str, name_str, name_str_unquoted, name_uaddr, path,
544 path_uaddr, path_unquoted, size, value_str, value_uaddr
545
546 syscall.lstat
547 buf_uaddr, path, path_unquoted
548
549 syscall.madvise
550 advice, advice_str, length, start
551
552 syscall.mbind
553 flags, flags_str, len, maxnode, mode, mode_str, nmask_uaddr,
554 start
555
556 syscall.membarrier
557 cmd, cmd_str, flags
558
559 syscall.memfd_create
560 flags, flags_str, uname, uname_unquoted
561
562 syscall.migrate_pages
563 maxnode, new_nodes, old_nodes, pid
564
565 syscall.mincore
566 length, start, vec_uaddr
567
568 syscall.mkdir
569 mode, pathname, pathname_uaddr, pathname_unquoted
570
571 syscall.mkdirat
572 dirfd, dirfd_str, mode, pahtname_unquoted, pathname
573
574 syscall.mknod
575 dev, mode, mode_str, pathname, pathname_unquoted
576
577 syscall.mknodat
578 dev, dirfd, dirfd_str, mode, mode_str, pathname, pathname_un‐
579 quoted
580
581 syscall.mlock
582 addr, len
583
584 syscall.mlock2
585 addr, flags, flags_str, len
586
587 syscall.mlockall
588 flags, flags_str
589
590 syscall.mmap2
591 fd, flags, flags_str, length, pgoffset, prot, prot_str, start
592
593 syscall.modify_ldt
594 bytecount, func, ptr_uaddr
595
596 syscall.mount
597 data, data_unquoted, filesystemtype, filesystemtype_unquoted,
598 mountflags, mountflags_str, source, source_unquoted, target,
599 target_unquoted
600
601 syscall.move_pages
602 flags, flags_str, nodes, nr_pages, pages, pid, status
603
604 syscall.mprotect
605 addr, len, prot, prot_str
606
607 syscall.mq_getsetattr
608 mqdes, u_mqstat_uaddr, u_omqstat_uaddr
609
610 syscall.mq_notify
611 mqdes, notification_uaddr
612
613 syscall.mq_open
614 filename, filename_unquoted, mode, name_uaddr, oflag, oflag_str,
615 u_attr_uaddr
616
617 syscall.mq_timedreceive
618 abs_timeout_uaddr, mqdes, msg_len, msg_prio_uaddr, msg_ptr_uaddr
619
620 syscall.mq_timedsend
621 abs_timeout_uaddr, mqdes, msg_len, msg_prio, msg_ptr_uaddr
622
623 syscall.mq_unlink
624 u_name, u_name_uaddr, u_name_unquoted
625
626 syscall.mremap
627 flags, flags_str, new_address, new_size, old_address, old_size
628
629 syscall.msgctl
630 buf_uaddr, cmd, cmd_str, msqid
631
632 syscall.msgget
633 key, key_str, msgflg, msgflg_str
634
635 syscall.msgrcv
636 msgflg, msgflg_str, msgp_uaddr, msgsz, msgtyp, msqid
637
638 syscall.msgsnd
639 msgflg, msgflg_str, msgp_uaddr, msgsz, msqid
640
641 syscall.msync
642 flags, flags_str, length, start
643
644 syscall.munlock
645 addr, len
646
647 syscall.munlockall
648
649
650 syscall.munmap
651 length, start
652
653 syscall.name_to_handle_at
654 dfd, dfd_str, flags, flags_str, handle_uaddr, mnt_id_uaddr,
655 pathname, pathname_unquoted
656
657 syscall.nanosleep
658 rem_uaddr, req_str, req_uaddr
659
660 syscall.ni_syscall
661
662
663 syscall.nice
664 inc
665
666 syscall.open
667 filename, filename_unquoted, flags, flags_str, mode
668
669 syscall.open_by_handle_at
670 flags, flags_str, handle_uaddr, mount_dfd, mount_dfd_str
671
672 syscall.openat
673 dfd, dfd_str, filename, filename_unquoted, flags, flags_str,
674 mode
675
676 syscall.pause
677
678
679 syscall.perf_event_open
680 attr_uaddr, cpu, flags, flags_str, group_fd, pid
681
682 syscall.personality
683 persona
684
685 syscall.pipe
686 fildes_uaddr, flag_str, flags, pipe0, pipe1
687
688 syscall.pivot_root
689 new_root_str, new_root_str_unquoted, old_root_str,
690 old_root_str_unquoted
691
692 syscall.pkey_alloc
693 flags, init_val, init_val_str
694
695 syscall.pkey_free
696 pkey
697
698 syscall.pkey_mprotect
699 addr, len, pkey, prot, prot_str
700
701 syscall.poll
702 nfds, timeout, ufds_uaddr
703
704 syscall.ppoll
705 fds_uaddr, nfds, sigmask, sigsetsize, tsp, tsp_str
706
707 syscall.prctl
708 arg2, arg3, arg4, arg5, option
709
710 syscall.pread
711 buf_uaddr, count, fd, offset
712
713 syscall.preadv
714 count, fd, offset, vector_uaddr
715
716 syscall.preadv2
717 count, fd, flags, flags_str, offset, vector_uaddr
718
719 syscall.prlimit64
720 new_rlim_str, new_rlim_uaddr, old_rlim_uaddr, pid, resource, re‐
721 source_str
722
723 syscall.process_vm_readv
724 flags, liovcnt, local_iov_uaddr, pid, remote_iov_uaddr, riovcnt
725
726 syscall.process_vm_writev
727 flags, liovcnt, local_iov_uaddr, pid, remote_iov_uaddr, riovcnt
728
729 syscall.pselect6
730 exceptfds, nfds, readfds, sigmask, timeout, timeout_str,
731 writefds
732
733 syscall.ptrace
734 addr, data, pid, request
735
736 syscall.pwrite
737 buf_str, buf_uaddr, count, fd, offset
738
739 syscall.pwrite32
740 $id, $regs, buf_str, buf_uaddr, count, fd, int, offset, pt_regs*
741
742 syscall.pwritev
743 count, fd, offset, vector_uaddr
744
745 syscall.pwritev2
746 count, fd, flags, flags_str, offset, vector_uaddr
747
748 syscall.quotactl
749 addr_uaddr, cmd, cmd_str, id, special, special_str, spe‐
750 cial_str_unquoted
751
752 syscall.read
753 buf_uaddr, count, fd
754
755 syscall.readahead
756 count, fd, offset
757
758 syscall.readdir
759 count, dirent, fd
760
761 syscall.readlink
762 buf_uaddr, bufsiz, path, path_unquoted
763
764 syscall.readlinkat
765 buf_uaddr, bufsiz, dfd, dfd_str, path, path_unquoted
766
767 syscall.readv
768 count, fd, vector_uaddr
769
770 syscall.reboot
771 arg_uaddr, flag, flag_str, magic2, magic2_str, magic, magic_str
772
773 syscall.recv
774 buf_uaddr, flags, flags_str, len, s
775
776 syscall.recvfrom
777 addr_uaddr, addrlen_uaddr, buf_uaddr, flags, flags_str, len, s
778
779 syscall.recvmmsg
780 flags, flags_str, mmsg_uaddr, s, timeout_str, timeout_uaddr,
781 vlen
782
783 syscall.recvmsg
784 flags, flags_str, msg_uaddr, s
785
786 syscall.remap_file_pages
787 flags, flags_str, pgoff, prot, prot_str, size, start
788
789 syscall.removexattr
790 name_str, name_str_unquoted, path, path_unquoted
791
792 syscall.rename
793 newpath, newpath_unquoted, oldpath, oldpath_unquoted
794
795 syscall.renameat
796 newdfd, newdfd_str, newname, newname_str, newname_str_unquoted,
797 olddfd, olddfd_str, oldname, oldname_str, oldname_str_unquoted
798
799 syscall.renameat2
800 flags, flags_str, newdfd, newdfd_str, newname, newname_str, new‐
801 name_str_unquoted, olddfd, olddfd_str, oldname, oldname_str,
802 oldname_str_unquoted
803
804 syscall.request_key
805 callout_info_uaddr, description_str, description_str_unquoted,
806 description_uaddr, destringid, type_str, type_str_unquoted,
807 type_uaddr
808
809 syscall.restart_syscall
810
811
812 syscall.rmdir
813 pathname, pathname_unquoted
814
815 syscall.rt_sigaction
816 act_str, act_uaddr, oact_uaddr, sig, sig_str, sigsetsize
817
818 syscall.rt_sigaction32
819 act_str, act_uaddr, oact_uaddr, sig, sig_str, sigsetsize
820
821 syscall.rt_sigpending
822 set_uaddr, sigsetsize
823
824 syscall.rt_sigprocmask
825 how, how_str, oldset_uaddr, set_str, set_uaddr, sigsetsize
826
827 syscall.rt_sigqueueinfo
828 pid, sig, sig_name, siginfo_str, uinfo_uaddr
829
830 syscall.rt_sigsuspend
831 set_str, set_uaddr, sigsetsize
832
833 syscall.rt_sigtimedwait
834 sigsetsize, uinfo_str, uinfo_uaddr, uthese_str, uthese_uaddr,
835 uts_str, uts_uaddr
836
837 syscall.rt_tgsigqueueinfo
838 sig, sig_str, tgid, tid, uinfo_str, uinfo_uaddr
839
840 syscall.sched_get_priority_max
841 policy, policy_str
842
843 syscall.sched_get_priority_min
844 policy, policy_str
845
846 syscall.sched_getaffinity
847 len, mask_uaddr, pid
848
849 syscall.sched_getattr
850 flags, pid, sched_attr_str, sched_attr_uaddr, size
851
852 syscall.sched_getparam
853 p_uaddr, pid
854
855 syscall.sched_getscheduler
856 pid
857
858 syscall.sched_rr_get_interval
859 pid, tp_uaddr
860
861 syscall.sched_setaffinity
862 len, mask_uaddr, pid
863
864 syscall.sched_setattr
865 flags, pid, sched_attr_str, sched_attr_uaddr
866
867 syscall.sched_setparam
868 p_uaddr, pid
869
870 syscall.sched_setscheduler
871 p_uaddr, pid, policy, policy_str
872
873 syscall.sched_yield
874
875
876 syscall.seccomp
877 flags, flags_str, op, op_str, uargs_uaddr
878
879 syscall.select
880 exceptfds_uaddr, n, readfds_uaddr, timeout_str, timeout_uaddr,
881 writefds_uaddr
882
883 syscall.semctl
884 arg, cmd, cmdstr, semid, semnum
885
886 syscall.semget
887 key, key_str, nsems, semflg, semflg_str
888
889 syscall.semop
890 nsops, semid, sops_uaddr
891
892 syscall.semtimedop
893 nsops, semid, sops_uaddr, timeout_str, timeout_uaddr
894
895 syscall.send
896 buf, buf_uaddr, flags, flags_str, len, s
897
898 syscall.sendfile
899 count, in_fd, offset_uaddr, out_fd
900
901 syscall.sendmmsg
902 flags, flags_str, mmsg_uaddr, s, vlen
903
904 syscall.sendmsg
905 flags, flags_str, msg_uaddr, s
906
907 syscall.sendto
908 buf, buf_uaddr, flags, flags_str, len, s, to_str, to_uaddr,
909 tolen
910
911 syscall.set_mempolicy
912 maxnode, mode, mode_str, nmask_uaddr
913
914 syscall.set_robust_list
915 len, list_head_uaddr
916
917 syscall.set_thread_area
918 u_info_str, u_info_uaddr
919
920 syscall.set_tid_address
921 tidptr_uaddr
922
923 syscall.setdomainname
924 domainname_str, domainname_str_unquoted, domainname_uaddr, len
925
926 syscall.setfsgid
927 fsgid
928
929 syscall.setfsuid
930 fsuid
931
932 syscall.setgid
933 gid
934
935 syscall.setgroups
936 list_uaddr, size
937
938 syscall.sethostname
939 hostname_uaddr, len, name_str, name_str_unquoted
940
941 syscall.setitimer
942 ovalue_uaddr, value_str, value_uaddr, which, which_str
943
944 syscall.setns
945 fd, nstype, nstype_str
946
947 syscall.setpgid
948 pgid, pid
949
950 syscall.setpriority
951 prio, which, which_str, who
952
953 syscall.setregid
954 egid, rgid
955
956 syscall.setregid16
957 egid, rgid
958
959 syscall.setresgid
960 egid, rgid, sgid
961
962 syscall.setresgid16
963 egid, rgid, sgid
964
965 syscall.setresuid
966 euid, ruid, suid
967
968 syscall.setresuid16
969 euid, ruid, suid
970
971 syscall.setreuid
972 euid, ruid
973
974 syscall.setreuid16
975 euid, ruid
976
977 syscall.setrlimit
978 resource, resource_str, rlim_str, rlim_uaddr
979
980 syscall.setsid
981
982
983 syscall.setsockopt
984 fd, level, level_str, optlen, optname, optname_str, optval_uaddr
985
986 syscall.settimeofday
987 tv_str, tv_uaddr, tz_str, tz_uaddr
988
989 syscall.settimeofday32
990 tv_str, tv_uaddr, tz_str, tz_uaddr
991
992 syscall.setuid
993 uid
994
995 syscall.setxattr
996 flags, flags_str, name_str, name_str_unquoted, name_uaddr, path,
997 path_uaddr, path_unquoted, size, value_str, value_uaddr
998
999 syscall.sgetmask
1000
1001
1002 syscall.shmat
1003 shmaddr_uaddr, shmflg, shmflg_str, shmid
1004
1005 syscall.shmctl
1006 buf_uaddr, cmd, cmd_str, shmid
1007
1008 syscall.shmdt
1009 shmaddr_uaddr
1010
1011 syscall.shmget
1012 key, shmflg, shmflg_str, size
1013
1014 syscall.shutdown
1015 how, how_str, s
1016
1017 syscall.sigaction
1018 $id, $regs, act_str, act_uaddr, int, oact_uaddr, pt_regs*, sig,
1019 sig_str
1020
1021 syscall.sigaction32
1022 act_str, act_uaddr, oact_uaddr, sig, sig_str
1023
1024 syscall.sigaltstack
1025 uoss_uaddr, uss_str, uss_uaddr
1026
1027 syscall.signal
1028 handler, handler_str, sig, sig_str
1029
1030 syscall.signalfd
1031 flags
1032
1033 syscall.sigpending
1034 set
1035
1036 syscall.sigprocmask
1037 how, how_str, oldset_uaddr, set_uaddr
1038
1039 syscall.sigsuspend
1040 mask, mask_str
1041
1042 syscall.socket
1043 family, family_str, protocol, protocol_str, type, type_str
1044
1045 syscall.socketpair
1046 family, family_str, protocol, protocol_str, sv_uaddr, type,
1047 type_str
1048
1049 syscall.splice
1050 fd_in, fd_out, flags, flags_str, len, off_in, off_out
1051
1052 syscall.ssetmask
1053 newmask, newmask_str
1054
1055 syscall.stat
1056 buf_uaddr, filename, filename_uaddr, filename_unquoted
1057
1058 syscall.statfs
1059 buf_uaddr, path, path_unquoted
1060
1061 syscall.statfs64
1062 buf_uaddr, path, path_unquoted, sz
1063
1064 syscall.statx
1065 buf_uaddr, dfd, dfd_str, filename, filename_uaddr, filename_un‐
1066 quoted, flags, flags_str, mask, mask_str
1067
1068 syscall.stime
1069 t_uaddr
1070
1071 syscall.swapoff
1072 path, path_uaddr, path_unquoted
1073
1074 syscall.swapon
1075 path, path_uaddr, path_unquoted, swapflags, swapflags_str
1076
1077 syscall.symlink
1078 newpath, oldpath, oldpath_unquoted
1079
1080 syscall.symlinkat
1081 newdfd, newdfd_str, newname, newname_str, newname_str_unquoted,
1082 oldname, oldname_str, oldname_str_unquoted
1083
1084 syscall.sync
1085
1086
1087 syscall.sync_file_range
1088 fd, flags, flags_str, nbytes, offset
1089
1090 syscall.syncfs
1091 fd
1092
1093 syscall.sysctl
1094 $id, $regs, args, int, pt_regs*
1095
1096 syscall.sysfs
1097 arg1, arg2, option
1098
1099 syscall.sysinfo
1100 info_str, info_uaddr
1101
1102 syscall.syslog
1103 bufp_uaddr, len, type
1104
1105 syscall.tee
1106 fdin, fdout, flags, len
1107
1108 syscall.tgkill
1109 pid, sig, sig_str, tgid
1110
1111 syscall.time
1112 t_uaddr
1113
1114 syscall.timer_create
1115 clockid, clockid_str, evp_uaddr, timerid_uaddr
1116
1117 syscall.timer_delete
1118 timerid
1119
1120 syscall.timer_getoverrun
1121 timerid
1122
1123 syscall.timer_gettime
1124 timerid, value_uaddr
1125
1126 syscall.timer_settime
1127 flags, ovalue_uaddr, timerid, value_str, value_uaddr
1128
1129 syscall.timerfd_create
1130 clockid, clockid_str, flags, flags_str
1131
1132 syscall.timerfd_gettime
1133 fd, value_uaddr
1134
1135 syscall.timerfd_settime
1136 fd, flags, flags_str, ovalue_uaddr, value_str, value_uaddr
1137
1138 syscall.times
1139 buf_str, buf_uaddr
1140
1141 syscall.tkill
1142 pid, sig, sig_str
1143
1144 syscall.truncate
1145 length, path, path_uaddr, path_unquoted
1146
1147 syscall.umask
1148 mask
1149
1150 syscall.umount
1151 flags, flags_str, target, target_unquoted
1152
1153 syscall.uname
1154 name_uaddr
1155
1156 syscall.unlink
1157 pathname, pathname_uaddr, pathname_unquoted
1158
1159 syscall.unlinkat
1160 dfd, dfd_str, flag, flag_str, pathname, pathname_str, path‐
1161 name_str_unquoted
1162
1163 syscall.unshare
1164 unshare_flags, unshare_flags_str
1165
1166 syscall.uselib
1167 $id, $regs, int, library, library_uaddr, library_unquoted,
1168 pt_regs*
1169
1170 syscall.userfaultfd
1171 flags, flags_str
1172
1173 syscall.ustat
1174 dev, ubuf_uaddr
1175
1176 syscall.ustat32
1177 dev, ubuf_uaddr
1178
1179 syscall.utime
1180 actime, buf_uaddr, filename, filename_uaddr, filename_unquoted,
1181 modtime
1182
1183 syscall.utimensat
1184 dfd, dfd_str, filename, filename_uaddr, filename_unquoted,
1185 flags, flags_str, tsp_str, tsp_uaddr
1186
1187 syscall.utimes
1188 filename, filename_uaddr, filename_unquoted, tvp_uaddr,
1189 tvp_uaddr_str
1190
1191 syscall.vfork
1192
1193
1194 syscall.vhangup
1195
1196
1197 syscall.vmsplice
1198 fd, flags, flags_str, iov, nr_segs
1199
1200 syscall.wait4
1201 options, options_str, pid, rusage_uaddr, status_uaddr
1202
1203 syscall.waitid
1204 infop_uaddr, options, options_str, pid, rusage_uaddr, which,
1205 which_str
1206
1207 syscall.waitpid
1208 options, options_str, pid, status_uaddr
1209
1210 syscall.write
1211 buf_str, buf_uaddr, count, fd
1212
1213 syscall.writev
1214 count, fd, vector_uaddr
1215
1216
1218 stap(1), stapprobes(3stap)
1219
1220
1221
1222Systemtap Tapset Reference May 2021 TAPSET::SYSCALLS(3stap)