| 1 |
#! stap -Wp4 |
| 2 |
|
| 3 |
probe nd_syscall.name_to_handle_at ? |
| 4 |
{ |
| 5 |
printf("%s(%s)\n", name, argstr) |
| 6 |
printf("%d(%s), %s, %p, %p, %d(%s)", dfd, dfd_str, pathname, |
| 7 |
handle_uaddr, mnt_id_uaddr, flags, flags_str) |
| 8 |
} |
| 9 |
probe nd_syscall.name_to_handle_at.return ? |
| 10 |
{ |
| 11 |
printf("%s %s\n", name, retstr) |
| 12 |
} |
| 13 |
|
| 14 |
probe nd_syscall.nanosleep, nd_syscall.compat_nanosleep ? |
| 15 |
{ |
| 16 |
printf("%s(%s)\n", name, argstr) |
| 17 |
printf("%p %p %s\n", req_uaddr, rem_uaddr, req_str) |
| 18 |
} |
| 19 |
probe nd_syscall.nanosleep.return, nd_syscall.compat_nanosleep.return ? |
| 20 |
{ |
| 21 |
printf("%s %s\n", name, retstr) |
| 22 |
} |
| 23 |
|
| 24 |
# nfsservctl was removed in kernel 3.0/2.6.40. |
| 25 |
%( kernel_v < "2.6.40" && CONFIG_NFSD == "[ym]" %? |
| 26 |
probe nd_syscall.nfsservctl |
| 27 |
{ |
| 28 |
printf("%s(%s)\n", name, argstr) |
| 29 |
printf("%d %p %p\n", cmd, argp_uaddr, resp_uaddr) |
| 30 |
} |
| 31 |
probe nd_syscall.nfsservctl.return |
| 32 |
{ |
| 33 |
printf("%s %s\n", name, retstr) |
| 34 |
} |
| 35 |
%) |
| 36 |
|
| 37 |
probe nd_syscall.nice ? |
| 38 |
{ |
| 39 |
printf("%s(%s)\n", name, argstr) |
| 40 |
printf("%d\n", inc) |
| 41 |
} |
| 42 |
probe nd_syscall.nice.return ? |
| 43 |
{ |
| 44 |
printf("%s %s\n", name, retstr) |
| 45 |
} |
| 46 |
|
| 47 |
probe nd_syscall.ni_syscall |
| 48 |
{ |
| 49 |
printf("%s(%s)\n", name, argstr) |
| 50 |
} |
| 51 |
probe nd_syscall.ni_syscall.return |
| 52 |
{ |
| 53 |
printf("%s %s\n", name, retstr) |
| 54 |
} |
| 55 |
|
| 56 |
probe nd_syscall.open_by_handle_at ? |
| 57 |
{ |
| 58 |
printf("%s(%s)\n", name, argstr) |
| 59 |
printf("%d(%s), %p, %d(%s)", mount_dfd, mount_dfd_str, handle_uaddr, |
| 60 |
flags, flags_str) |
| 61 |
} |
| 62 |
probe nd_syscall.open_by_handle_at.return ? |
| 63 |
{ |
| 64 |
printf("%s %s\n", name, retstr) |
| 65 |
} |
| 66 |
|
| 67 |
probe nd_syscall.open |
| 68 |
{ |
| 69 |
printf("%s(%s)\n", name, argstr) |
| 70 |
printf("%s %d %d\n", filename, flags, mode) |
| 71 |
} |
| 72 |
probe nd_syscall.open.return |
| 73 |
{ |
| 74 |
printf("%s %s\n", name, retstr) |
| 75 |
} |
| 76 |
|
| 77 |
probe nd_syscall.openat ? |
| 78 |
{ |
| 79 |
printf("%s(%s)\n", name, argstr) |
| 80 |
printf("%d(%s) %s %d %s %d\n", dfd, dfd_str, filename, flags, flags_str, mode) |
| 81 |
} |
| 82 |
probe nd_syscall.openat.return ? |
| 83 |
{ |
| 84 |
printf("%s %s\n", name, retstr) |
| 85 |
} |
| 86 |
|
| 87 |
probe nd_syscall.pause ? |
| 88 |
{ |
| 89 |
printf("%s(%s)\n", name, argstr) |
| 90 |
} |
| 91 |
probe nd_syscall.pause.return ? |
| 92 |
{ |
| 93 |
printf("%s %s\n", name, retstr) |
| 94 |
} |
| 95 |
|
| 96 |
probe nd_syscall.perf_event_open ? |
| 97 |
{ |
| 98 |
printf("%s(%s)\n", name, argstr) |
| 99 |
printf("%p, %d, %d, %d, %d(%s)", attr_uaddr, pid, cpu, group_fd, |
| 100 |
flags, flags_str) |
| 101 |
} |
| 102 |
probe nd_syscall.perf_event_open.return ? |
| 103 |
{ |
| 104 |
printf("%s %s\n", name, retstr) |
| 105 |
} |
| 106 |
|
| 107 |
probe nd_syscall.personality |
| 108 |
{ |
| 109 |
printf("%s(%s)\n", name, argstr) |
| 110 |
printf("%d\n", persona) |
| 111 |
} |
| 112 |
probe nd_syscall.personality.return |
| 113 |
{ |
| 114 |
printf("%s %s\n", name, retstr) |
| 115 |
} |
| 116 |
|
| 117 |
probe nd_syscall.pipe |
| 118 |
{ |
| 119 |
printf("%s(%s)\n", name, argstr) |
| 120 |
# Should be: |
| 121 |
# printf("%d(%s) %p [%d %d]\n", flags, flag_str, fildes_uaddr, pipe0, |
| 122 |
# pipe1) |
| 123 |
printf("%d(%s) %p\n", flags, flag_str, fildes_uaddr) |
| 124 |
} |
| 125 |
# nd_syscall.pipe.return is special, since at that point pipe0/pipe1 are valid |
| 126 |
probe nd_syscall.pipe.return |
| 127 |
{ |
| 128 |
printf("%s %s\n", name, retstr) |
| 129 |
# Should be: |
| 130 |
# printf("%p [%d %d]\n", fildes_uaddr, pipe0, pipe1) |
| 131 |
} |
| 132 |
|
| 133 |
probe nd_syscall.pivot_root |
| 134 |
{ |
| 135 |
printf("%s(%s)\n", name, argstr) |
| 136 |
printf("%s %s\n", new_root_str, old_root_str) |
| 137 |
} |
| 138 |
probe nd_syscall.pivot_root.return |
| 139 |
{ |
| 140 |
printf("%s %s\n", name, retstr) |
| 141 |
} |
| 142 |
|
| 143 |
probe nd_syscall.poll |
| 144 |
{ |
| 145 |
printf("%s(%s)\n", name, argstr) |
| 146 |
printf("%p %d %d\n", ufds_uaddr, nfds, timeout) |
| 147 |
} |
| 148 |
probe nd_syscall.poll.return |
| 149 |
{ |
| 150 |
printf("%s %s\n", name, retstr) |
| 151 |
} |
| 152 |
|
| 153 |
probe nd_syscall.ppoll ?, nd_syscall.compat_ppoll ? |
| 154 |
{ |
| 155 |
printf("%s(%s) %d %d %d %s %d %d\n", name, argstr, fds_uaddr, nfds, |
| 156 |
tsp, tsp_str, sigmask, sigsetsize) |
| 157 |
} |
| 158 |
probe nd_syscall.ppoll.return ?, nd_syscall.compat_ppoll.return ? |
| 159 |
{ |
| 160 |
printf("%s %s\n", name, retstr) |
| 161 |
} |
| 162 |
|
| 163 |
probe nd_syscall.prctl |
| 164 |
{ |
| 165 |
printf("%s(%s)\n", name, argstr) |
| 166 |
printf("%p %p %p %p %p\n", option, arg2, arg3, arg4, arg5) |
| 167 |
} |
| 168 |
probe nd_syscall.prctl.return |
| 169 |
{ |
| 170 |
printf("%s %s\n", name, retstr) |
| 171 |
} |
| 172 |
|
| 173 |
probe nd_syscall.pread |
| 174 |
{ |
| 175 |
printf("%s(%s)\n", name, argstr) |
| 176 |
printf("%d %p %d %d\n", fd, buf_uaddr, count, offset) |
| 177 |
} |
| 178 |
probe nd_syscall.pread.return |
| 179 |
{ |
| 180 |
printf("%s %s\n", name, retstr) |
| 181 |
} |
| 182 |
|
| 183 |
probe nd_syscall.preadv ? |
| 184 |
{ |
| 185 |
printf("%s(%s)\n", name, argstr) |
| 186 |
printf("%d %p %d %d\n", fd, vector_uaddr, count, offset) |
| 187 |
} |
| 188 |
probe nd_syscall.preadv.return ? |
| 189 |
{ |
| 190 |
printf("%s %s\n", name, retstr) |
| 191 |
} |
| 192 |
|
| 193 |
probe nd_syscall.prlimit64 ? |
| 194 |
{ |
| 195 |
printf("%s(%s)\n", name, argstr) |
| 196 |
printf("%d, %d, %s, %p, %s, %p", pid, resource, resource_str, |
| 197 |
new_rlim_uaddr, new_rlim_str, old_rlim_uaddr) |
| 198 |
} |
| 199 |
probe nd_syscall.prlimit64.return ? |
| 200 |
{ |
| 201 |
printf("%s %s\n", name, retstr) |
| 202 |
} |
| 203 |
|
| 204 |
probe nd_syscall.process_vm_readv ? |
| 205 |
{ |
| 206 |
printf("%s(%s)\n", name, argstr) |
| 207 |
printf("%d, %p, %u, %p, %u, %u", pid, local_iov_uaddr, |
| 208 |
liovcnt, remote_iov_uaddr, riovcnt, flags) |
| 209 |
} |
| 210 |
probe nd_syscall.process_vm_readv.return ? |
| 211 |
{ |
| 212 |
printf("%s %s\n", name, retstr) |
| 213 |
} |
| 214 |
|
| 215 |
probe nd_syscall.process_vm_writev ? |
| 216 |
{ |
| 217 |
printf("%s(%s)\n", name, argstr) |
| 218 |
printf("%d, %p, %u, %p, %u, %u", pid, local_iov_uaddr, |
| 219 |
liovcnt, remote_iov_uaddr, riovcnt, flags) |
| 220 |
} |
| 221 |
probe nd_syscall.process_vm_writev.return ? |
| 222 |
{ |
| 223 |
printf("%s %s\n", name, retstr) |
| 224 |
} |
| 225 |
|
| 226 |
probe nd_syscall.pselect6 ?, nd_syscall.compat_pselect6 ?, |
| 227 |
nd_syscall.pselect7 ?, nd_syscall.compat_pselect7 ? |
| 228 |
{ |
| 229 |
printf("%s(%s) %d %d %d %d %d %s %d\n", name, argstr, nfds, readfds, |
| 230 |
writefds, exceptfds, timeout, timeout_str, sigmask) |
| 231 |
} |
| 232 |
probe nd_syscall.pselect6.return ?, nd_syscall.compat_pselect6.return ?, |
| 233 |
nd_syscall.pselect7.return ?, nd_syscall.compat_pselect7.return ? |
| 234 |
{ |
| 235 |
printf("%s %s\n", name, retstr) |
| 236 |
} |
| 237 |
|
| 238 |
probe nd_syscall.ptrace |
| 239 |
{ |
| 240 |
printf("%s(%s)\n", name, argstr) |
| 241 |
printf("%d %d %p %p\n", request, pid, addr, data) |
| 242 |
} |
| 243 |
probe nd_syscall.ptrace.return |
| 244 |
{ |
| 245 |
printf("%s %s\n", name, retstr) |
| 246 |
} |
| 247 |
|
| 248 |
probe nd_syscall.pwrite, nd_syscall.pwrite32 ? |
| 249 |
{ |
| 250 |
printf("%s(%s)\n", name, argstr) |
| 251 |
printf("%d %p %s %d %d\n", fd, buf_uaddr, buf_str, count, offset) |
| 252 |
} |
| 253 |
probe nd_syscall.pwrite.return, nd_syscall.pwrite32.return ? |
| 254 |
{ |
| 255 |
printf("%s %s\n", name, retstr) |
| 256 |
} |
| 257 |
|
| 258 |
probe nd_syscall.pwritev ? |
| 259 |
{ |
| 260 |
printf("%s(%s)\n", name, argstr) |
| 261 |
printf("%d %p %d %d\n", fd, vector_uaddr, count, offset) |
| 262 |
} |
| 263 |
probe nd_syscall.pwritev.return ? |
| 264 |
{ |
| 265 |
printf("%s %s\n", name, retstr) |
| 266 |
} |
| 267 |
|
| 268 |
probe nd_syscall.quotactl |
| 269 |
{ |
| 270 |
printf("%s(%s)\n", name, argstr) |
| 271 |
printf("%d(%s) %p(%s) %d %p\n", cmd, cmd_str, special, |
| 272 |
special_str, id, addr_uaddr) |
| 273 |
} |
| 274 |
probe nd_syscall.quotactl.return |
| 275 |
{ |
| 276 |
printf("%s %s\n", name, retstr) |
| 277 |
} |
| 278 |
|
| 279 |
probe nd_syscall.read |
| 280 |
{ |
| 281 |
printf("%s(%s)\n", name, argstr) |
| 282 |
printf("%d %p %d\n", fd, buf_uaddr, count) |
| 283 |
} |
| 284 |
probe nd_syscall.read.return |
| 285 |
{ |
| 286 |
printf("%s %s\n", name, retstr) |
| 287 |
} |
| 288 |
|
| 289 |
probe nd_syscall.readahead |
| 290 |
{ |
| 291 |
printf("%s(%s)\n", name, argstr) |
| 292 |
printf("%d %d %d\n", fd, offset, count) |
| 293 |
} |
| 294 |
probe nd_syscall.readahead.return |
| 295 |
{ |
| 296 |
printf("%s %s\n", name, retstr) |
| 297 |
} |
| 298 |
|
| 299 |
probe nd_syscall.readdir ? |
| 300 |
{ |
| 301 |
printf("%s(%s)\n", name, argstr) |
| 302 |
} |
| 303 |
probe nd_syscall.readdir.return ? |
| 304 |
{ |
| 305 |
printf("%s %s\n", name, retstr) |
| 306 |
} |
| 307 |
|
| 308 |
probe nd_syscall.readlink |
| 309 |
{ |
| 310 |
printf("%s(%s)\n", name, argstr) |
| 311 |
printf("%s %p %d\n", path, buf_uaddr, bufsiz) |
| 312 |
} |
| 313 |
probe nd_syscall.readlink.return |
| 314 |
{ |
| 315 |
printf("%s %s\n", name, retstr) |
| 316 |
} |
| 317 |
|
| 318 |
probe nd_syscall.readlinkat ? |
| 319 |
{ |
| 320 |
printf("%s(%s)\n", name, argstr) |
| 321 |
printf("%d(%s) %s %p %d\n", dfd, dfd_str, path, buf_uaddr, bufsiz) |
| 322 |
} |
| 323 |
probe nd_syscall.readlinkat.return ? |
| 324 |
{ |
| 325 |
printf("%s %s\n", name, retstr) |
| 326 |
} |
| 327 |
|
| 328 |
probe nd_syscall.readv |
| 329 |
{ |
| 330 |
printf("%s(%s)\n", name, argstr) |
| 331 |
printf("%d %p %d\n", fd, vector_uaddr, count) |
| 332 |
} |
| 333 |
probe nd_syscall.readv.return |
| 334 |
{ |
| 335 |
printf("%s %s\n", name, retstr) |
| 336 |
} |
| 337 |
|
| 338 |
probe nd_syscall.reboot |
| 339 |
{ |
| 340 |
printf("%s(%s)\n", name, argstr) |
| 341 |
printf("%d(%s) %d(%s) %d(%s) %p\n", magic, magic_str, magic2, |
| 342 |
magic2_str, flag, flag_str, arg_uaddr) |
| 343 |
} |
| 344 |
probe nd_syscall.reboot.return |
| 345 |
{ |
| 346 |
printf("%s %s\n", name, retstr) |
| 347 |
} |
| 348 |
|
| 349 |
probe nd_syscall.recv |
| 350 |
{ |
| 351 |
printf("%s(%s)\n", name, argstr) |
| 352 |
printf("%d %p %d %d(%s)\n", s, buf_uaddr, len, flags, flags_str) |
| 353 |
} |
| 354 |
probe nd_syscall.recv.return |
| 355 |
{ |
| 356 |
printf("%s %s\n", name, retstr) |
| 357 |
} |
| 358 |
|
| 359 |
probe nd_syscall.recvfrom ? |
| 360 |
{ |
| 361 |
printf("%s(%s)\n", name, argstr) |
| 362 |
printf("%d %p %d %d(%s) %p %p\n", s, buf_uaddr, len, flags, |
| 363 |
flags_str, addr_uaddr, addrlen_uaddr) |
| 364 |
} |
| 365 |
probe nd_syscall.recvfrom.return ? |
| 366 |
{ |
| 367 |
printf("%s %s\n", name, retstr) |
| 368 |
} |
| 369 |
|
| 370 |
probe nd_syscall.recvmmsg ?, nd_syscall.compat_recvmmsg ? |
| 371 |
{ |
| 372 |
printf("%s(%s)\n", name, argstr) |
| 373 |
printf("%d %p %d %d(%s) %p %s\n", s, mmsg_uaddr, vlen, flags, |
| 374 |
flags_str, timeout_uaddr, timeout_str) |
| 375 |
} |
| 376 |
probe nd_syscall.recvmmsg.return ?, nd_syscall.compat_recvmmsg.return ? |
| 377 |
{ |
| 378 |
printf("%s %s\n", name, retstr) |
| 379 |
} |
| 380 |
|
| 381 |
probe nd_syscall.recvmsg ?, nd_syscall.compat_sys_recvmsg ? |
| 382 |
{ |
| 383 |
printf("%s(%s)\n", name, argstr) |
| 384 |
printf("%d %p %d(%s)\n", s, msg_uaddr, flags, flags_str) |
| 385 |
} |
| 386 |
probe nd_syscall.recvmsg.return ?, nd_syscall.compat_sys_recvmsg.return ? |
| 387 |
{ |
| 388 |
printf("%s %s\n", name, retstr) |
| 389 |
} |
| 390 |
|
| 391 |
probe nd_syscall.remap_file_pages ? |
| 392 |
{ |
| 393 |
printf("%s(%s)\n", name, argstr) |
| 394 |
printf("%d %d %d %s %d %d %s\n", start, size, prot, prot_str, |
| 395 |
pgoff, flags, flags_str) |
| 396 |
} |
| 397 |
probe nd_syscall.remap_file_pages.return ? |
| 398 |
{ |
| 399 |
printf("%s %s\n", name, retstr) |
| 400 |
} |
| 401 |
|
| 402 |
probe nd_syscall.removexattr |
| 403 |
{ |
| 404 |
printf("%s(%s)\n", name, argstr) |
| 405 |
printf("%s %s\n", name_str, path) |
| 406 |
} |
| 407 |
probe nd_syscall.removexattr.return |
| 408 |
{ |
| 409 |
printf("%s %s\n", name, retstr) |
| 410 |
} |
| 411 |
|
| 412 |
probe nd_syscall.rename |
| 413 |
{ |
| 414 |
printf("%s(%s)\n", name, argstr) |
| 415 |
printf("%s %s\n", oldpath, newpath) |
| 416 |
} |
| 417 |
probe nd_syscall.rename.return |
| 418 |
{ |
| 419 |
printf("%s %s\n", name, retstr) |
| 420 |
} |
| 421 |
|
| 422 |
probe nd_syscall.renameat ? |
| 423 |
{ |
| 424 |
printf("%s(%s)\n", name, argstr) |
| 425 |
printf("%p(%s) %p(%s) %p(%s) %p(%s)\n", olddfd, olddfd_str, |
| 426 |
oldname, oldname_str, newdfd, newdfd_str, newname, |
| 427 |
newname_str) |
| 428 |
} |
| 429 |
probe nd_syscall.renameat.return ? |
| 430 |
{ |
| 431 |
printf("%s %s\n", name, retstr) |
| 432 |
} |
| 433 |
|
| 434 |
probe nd_syscall.renameat2 ? |
| 435 |
{ |
| 436 |
printf("%s(%s)\n", name, argstr) |
| 437 |
printf("%p(%s) %p(%s) %p(%s) %p(%s), %d(%s)\n", olddfd, olddfd_str, |
| 438 |
oldname, oldname_str, newdfd, newdfd_str, newname, |
| 439 |
newname_str, flags, flags_str) |
| 440 |
} |
| 441 |
probe nd_syscall.renameat2.return ? |
| 442 |
{ |
| 443 |
printf("%s %s\n", name, retstr) |
| 444 |
} |
| 445 |
|
| 446 |
probe nd_syscall.request_key ? |
| 447 |
{ |
| 448 |
printf("%s(%s)\n", name, argstr) |
| 449 |
printf("%p %s %p %s %p %p\n", type_uaddr, type_str, description_uaddr, |
| 450 |
description_str, callout_info_uaddr, destringid) |
| 451 |
} |
| 452 |
probe nd_syscall.request_key.return ? |
| 453 |
{ |
| 454 |
printf("%s %s\n", name, retstr) |
| 455 |
} |
| 456 |
|
| 457 |
probe nd_syscall.restart_syscall |
| 458 |
{ |
| 459 |
printf("%s(%s)\n", name, argstr) |
| 460 |
} |
| 461 |
probe nd_syscall.restart_syscall.return |
| 462 |
{ |
| 463 |
printf("%s %s\n", name, retstr) |
| 464 |
} |
| 465 |
|
| 466 |
probe nd_syscall.rmdir |
| 467 |
{ |
| 468 |
printf("%s(%s)\n", name, argstr) |
| 469 |
printf("%s\n", pathname) |
| 470 |
} |
| 471 |
probe nd_syscall.rmdir.return |
| 472 |
{ |
| 473 |
printf("%s %s\n", name, retstr) |
| 474 |
} |
| 475 |
|
| 476 |
probe nd_syscall.rt_sigaction ?, nd_syscall.rt_sigaction32 ? |
| 477 |
{ |
| 478 |
printf("%s(%s)\n", name, argstr) |
| 479 |
printf("%d %s %p %s %p %d\n", sig, sig_str, act_uaddr, act_str, oact_uaddr, sigsetsize) |
| 480 |
} |
| 481 |
probe nd_syscall.rt_sigaction.return ?, nd_syscall.rt_sigaction32.return ? |
| 482 |
{ |
| 483 |
printf("%s %s\n", name, retstr) |
| 484 |
} |
| 485 |
|
| 486 |
probe nd_syscall.rt_sigpending ? |
| 487 |
{ |
| 488 |
printf("%s(%s)\n", name, argstr) |
| 489 |
printf("%p %d\n", set_uaddr, sigsetsize) |
| 490 |
} |
| 491 |
probe nd_syscall.rt_sigpending.return ? |
| 492 |
{ |
| 493 |
printf("%s %s\n", name, retstr) |
| 494 |
} |
| 495 |
|
| 496 |
probe nd_syscall.rt_sigprocmask ?, nd_syscall.compat_rt_sigprocmask ? |
| 497 |
{ |
| 498 |
printf("%s(%s)\n", name, argstr) |
| 499 |
printf("%d(%s) %p %p %s %d\n", how, how_str, set_uaddr, oldset_uaddr, |
| 500 |
set_str, sigsetsize) |
| 501 |
} |
| 502 |
probe nd_syscall.rt_sigprocmask.return ?, |
| 503 |
nd_syscall.compat_rt_sigprocmask.return ? |
| 504 |
{ |
| 505 |
printf("%s %s\n", name, retstr) |
| 506 |
} |
| 507 |
|
| 508 |
probe nd_syscall.rt_sigqueueinfo |
| 509 |
{ |
| 510 |
printf("%s(%s)\n", name, argstr) |
| 511 |
printf("%d %d %s %p %s\n", pid, sig, sig_name, uinfo_uaddr, siginfo_str) |
| 512 |
} |
| 513 |
probe nd_syscall.rt_sigqueueinfo.return |
| 514 |
{ |
| 515 |
printf("%s %s\n", name, retstr) |
| 516 |
} |
| 517 |
|
| 518 |
probe nd_syscall.rt_sigreturn ? |
| 519 |
{ |
| 520 |
printf("%s(%s)\n", name, argstr) |
| 521 |
} |
| 522 |
probe nd_syscall.rt_sigreturn.return ? |
| 523 |
{ |
| 524 |
printf("%s %s\n", name, retstr) |
| 525 |
} |
| 526 |
|
| 527 |
probe nd_syscall.rt_sigsuspend ? |
| 528 |
{ |
| 529 |
printf("%s(%s)\n", name, argstr) |
| 530 |
printf("%p, %s, %u", set_uaddr, set_str, sigsetsize) |
| 531 |
} |
| 532 |
probe nd_syscall.rt_sigsuspend.return ? |
| 533 |
{ |
| 534 |
printf("%s %s\n", name, retstr) |
| 535 |
} |
| 536 |
|
| 537 |
probe nd_syscall.rt_sigtimedwait |
| 538 |
{ |
| 539 |
printf("%s(%s)\n", name, argstr) |
| 540 |
printf("%p %s %p %s %p %s %d\n", uthese_uaddr, uthese_str, uinfo_uaddr, |
| 541 |
uinfo_str, uts_uaddr, uts_str, sigsetsize) |
| 542 |
} |
| 543 |
probe nd_syscall.rt_sigtimedwait.return |
| 544 |
{ |
| 545 |
printf("%s %s\n", name, retstr) |
| 546 |
} |
| 547 |
|
| 548 |
probe nd_syscall.rt_tgsigqueueinfo ? |
| 549 |
{ |
| 550 |
printf("%s(%s)\n", name, argstr) |
| 551 |
printf("%d, %d, %d, %s, %p, %s\n", tgid, tid, sig, sig_str, uinfo_uaddr, uinfo_str) |
| 552 |
} |
| 553 |
probe nd_syscall.rt_tgsigqueueinfo.return ? |
| 554 |
{ |
| 555 |
printf("%s %s\n", name, retstr) |
| 556 |
} |
| 557 |
|
| 558 |
probe nd_syscall.sched_getaffinity |
| 559 |
{ |
| 560 |
printf("%s(%s)\n", name, argstr) |
| 561 |
printf("%d %d %p\n", pid, len, mask_uaddr) |
| 562 |
} |
| 563 |
probe nd_syscall.sched_getaffinity.return |
| 564 |
{ |
| 565 |
printf("%s %s\n", name, retstr) |
| 566 |
} |
| 567 |
|
| 568 |
probe nd_syscall.sched_getattr ? |
| 569 |
{ |
| 570 |
printf("%s(%s)\n", name, argstr) |
| 571 |
printf("%d, %s, %u, %u", pid, sched_attr_str, size, flags) |
| 572 |
} |
| 573 |
probe nd_syscall.sched_getattr.return ? |
| 574 |
{ |
| 575 |
printf("%s %s\n", name, retstr) |
| 576 |
} |
| 577 |
|
| 578 |
probe nd_syscall.sched_getparam |
| 579 |
{ |
| 580 |
printf("%s(%s)\n", name, argstr) |
| 581 |
printf("%d %p\n", pid, p_uaddr) |
| 582 |
} |
| 583 |
probe nd_syscall.sched_getparam.return |
| 584 |
{ |
| 585 |
printf("%s %s\n", name, retstr) |
| 586 |
} |
| 587 |
|
| 588 |
probe nd_syscall.sched_get_priority_max, nd_syscall.sched_get_priority_min |
| 589 |
{ |
| 590 |
printf("%s(%s)\n", name, argstr) |
| 591 |
printf("%d %s\n", policy, policy_str) |
| 592 |
} |
| 593 |
probe nd_syscall.sched_get_priority_max.return, |
| 594 |
nd_syscall.sched_get_priority_min.return |
| 595 |
{ |
| 596 |
printf("%s %s\n", name, retstr) |
| 597 |
} |
| 598 |
|
| 599 |
probe nd_syscall.sched_getscheduler |
| 600 |
{ |
| 601 |
printf("%s(%s)\n", name, argstr) |
| 602 |
printf("%d\n", pid) |
| 603 |
} |
| 604 |
probe nd_syscall.sched_getscheduler.return |
| 605 |
{ |
| 606 |
printf("%s %s\n", name, retstr) |
| 607 |
} |
| 608 |
|
| 609 |
probe nd_syscall.sched_rr_get_interval |
| 610 |
{ |
| 611 |
printf("%s(%s)\n", name, argstr) |
| 612 |
printf("%d %p\n", pid, tp_uaddr) |
| 613 |
} |
| 614 |
probe nd_syscall.sched_rr_get_interval.return |
| 615 |
{ |
| 616 |
printf("%s %s\n", name, retstr) |
| 617 |
} |
| 618 |
|
| 619 |
probe nd_syscall.sched_setattr ? |
| 620 |
{ |
| 621 |
printf("%s(%s)\n", name, argstr) |
| 622 |
printf("%d, %s, %u", pid, sched_attr_str, flags) |
| 623 |
} |
| 624 |
probe nd_syscall.sched_setattr.return ? |
| 625 |
{ |
| 626 |
printf("%s %s\n", name, retstr) |
| 627 |
} |
| 628 |
|
| 629 |
probe nd_syscall.sched_setaffinity |
| 630 |
{ |
| 631 |
printf("%s(%s)\n", name, argstr) |
| 632 |
printf("%d %d %p\n", pid, len, mask_uaddr) |
| 633 |
} |
| 634 |
probe nd_syscall.sched_setaffinity.return |
| 635 |
{ |
| 636 |
printf("%s %s\n", name, retstr) |
| 637 |
} |
| 638 |
|
| 639 |
probe nd_syscall.sched_setparam ? |
| 640 |
{ |
| 641 |
printf("%s(%s)\n", name, argstr) |
| 642 |
printf("%d %p\n", pid, p_uaddr) |
| 643 |
} |
| 644 |
probe nd_syscall.sched_setparam.return ? |
| 645 |
{ |
| 646 |
printf("%s %s\n", name, retstr) |
| 647 |
} |
| 648 |
|
| 649 |
probe nd_syscall.sched_setscheduler ? |
| 650 |
{ |
| 651 |
printf("%s(%s)\n", name, argstr) |
| 652 |
printf("%d %d(%s) %p\n", pid, policy, policy_str, p_uaddr) |
| 653 |
} |
| 654 |
probe nd_syscall.sched_setscheduler.return ? |
| 655 |
{ |
| 656 |
printf("%s %s\n", name, retstr) |
| 657 |
} |
| 658 |
|
| 659 |
probe nd_syscall.sched_yield |
| 660 |
{ |
| 661 |
printf("%s(%s)\n", name, argstr) |
| 662 |
} |
| 663 |
probe nd_syscall.sched_yield.return |
| 664 |
{ |
| 665 |
printf("%s %s\n", name, retstr) |
| 666 |
} |
| 667 |
|
| 668 |
probe nd_syscall.seccomp ? |
| 669 |
{ |
| 670 |
printf("%s %s\n", name, argstr) |
| 671 |
%( systemtap_v <= "2.9" %? |
| 672 |
printf("%d %s %d %s %s %p\n", op, op_str, flags, flags_str, uargs, uargs_uaddr) |
| 673 |
%) |
| 674 |
printf("%d %s %d %s %p\n", op, op_str, flags, flags_str, uargs_uaddr) |
| 675 |
} |
| 676 |
probe nd_syscall.seccomp.return ? |
| 677 |
{ |
| 678 |
printf("%s %s\n", name, retstr) |
| 679 |
} |
| 680 |
|
| 681 |
probe nd_syscall.sched_yield |
| 682 |
{ |
| 683 |
printf("%s(%s)\n", name, argstr) |
| 684 |
} |
| 685 |
probe nd_syscall.sched_yield.return |
| 686 |
{ |
| 687 |
printf("%s %s\n", name, retstr) |
| 688 |
} |
| 689 |
|
| 690 |
probe nd_syscall.select, nd_syscall.compat_select ? |
| 691 |
{ |
| 692 |
printf("%s(%s)\n", name, argstr) |
| 693 |
printf("%d %p %p %p %p %s\n", n, readfds_uaddr, writefds_uaddr, |
| 694 |
exceptfds_uaddr, timeout_uaddr, timeout_str) |
| 695 |
} |
| 696 |
probe nd_syscall.select.return, nd_syscall.compat_select.return ? |
| 697 |
{ |
| 698 |
printf("%s %s\n", name, retstr) |
| 699 |
} |
| 700 |
|
| 701 |
probe nd_syscall.semctl ?, nd_syscall.compat_sys_semctl ? |
| 702 |
{ |
| 703 |
printf("%s(%s)\n", name, argstr) |
| 704 |
printf("%d %d %d(%s)\n", semid, semnum, cmd, cmdstr) |
| 705 |
} |
| 706 |
probe nd_syscall.semctl.return ?, nd_syscall.compat_sys_semctl.return ? |
| 707 |
{ |
| 708 |
printf("%s %s\n", name, retstr) |
| 709 |
} |
| 710 |
|
| 711 |
probe nd_syscall.semget ? |
| 712 |
{ |
| 713 |
printf("%s(%s)\n", name, argstr) |
| 714 |
printf("%d(%s) %d %d(%s)\n", key, key_str, nsems, semflg, semflg_str) |
| 715 |
} |
| 716 |
probe nd_syscall.semget.return ? |
| 717 |
{ |
| 718 |
printf("%s %s\n", name, retstr) |
| 719 |
} |
| 720 |
|
| 721 |
probe nd_syscall.semop ? |
| 722 |
{ |
| 723 |
printf("%s(%s)\n", name, argstr) |
| 724 |
printf("%d %p %d\n", semid, sops_uaddr, nsops) |
| 725 |
} |
| 726 |
probe nd_syscall.semop.return ? |
| 727 |
{ |
| 728 |
printf("%s %s\n", name, retstr) |
| 729 |
} |
| 730 |
|
| 731 |
probe nd_syscall.semtimedop ?, nd_syscall.compat_sys_semtimedop ? |
| 732 |
{ |
| 733 |
printf("%s(%s)\n", name, argstr) |
| 734 |
printf("%d %p %d %p %s\n", semid, sops_uaddr, nsops, timeout_uaddr, |
| 735 |
timeout_str) |
| 736 |
} |
| 737 |
probe nd_syscall.semtimedop.return ?, nd_syscall.compat_sys_semtimedop.return ? |
| 738 |
{ |
| 739 |
printf("%s %s\n", name, retstr) |
| 740 |
} |
| 741 |
|
| 742 |
probe nd_syscall.send ? |
| 743 |
{ |
| 744 |
printf("%s(%s)\n", name, argstr) |
| 745 |
printf("%d %p %d %d(%s)\n", s, buf_uaddr, len, flags, flags_str) |
| 746 |
} |
| 747 |
probe nd_syscall.send.return ? |
| 748 |
{ |
| 749 |
printf("%s %s\n", name, retstr) |
| 750 |
} |
| 751 |
|
| 752 |
probe nd_syscall.sendfile ? |
| 753 |
{ |
| 754 |
printf("%s(%s)\n", name, argstr) |
| 755 |
printf("%d %d %d %d\n", out_fd, in_fd, offset_uaddr, count) |
| 756 |
} |
| 757 |
probe nd_syscall.sendfile.return ? |
| 758 |
{ |
| 759 |
printf("%s %s\n", name, retstr) |
| 760 |
} |
| 761 |
|
| 762 |
probe nd_syscall.sendmsg ?, nd_syscall.compat_sys_sendmsg ? |
| 763 |
{ |
| 764 |
printf("%s(%s)\n", name, argstr) |
| 765 |
printf("%d %p %d(%s)\n", s, msg_uaddr, flags, flags_str) |
| 766 |
} |
| 767 |
probe nd_syscall.sendmsg.return ?, nd_syscall.compat_sys_sendmsg.return ? |
| 768 |
{ |
| 769 |
printf("%s %s\n", name, retstr) |
| 770 |
} |
| 771 |
|
| 772 |
probe nd_syscall.sendmmsg ? |
| 773 |
{ |
| 774 |
printf("%s(%s)\n", name, argstr) |
| 775 |
printf("%d %p %d %d(%s)\n", s, mmsg_uaddr, vlen, flags, flags_str) |
| 776 |
} |
| 777 |
probe nd_syscall.sendmmsg.return ? |
| 778 |
{ |
| 779 |
printf("%s %s\n", name, retstr) |
| 780 |
} |
| 781 |
|
| 782 |
probe nd_syscall.sendto ? |
| 783 |
{ |
| 784 |
printf("%s(%s)\n", name, argstr) |
| 785 |
printf("%d %p %d %d(%s) %p %s %d\n", s, buf_uaddr, len, flags, |
| 786 |
flags_str, to_uaddr, to_str, tolen) |
| 787 |
} |
| 788 |
probe nd_syscall.sendto.return ? |
| 789 |
{ |
| 790 |
printf("%s %s\n", name, retstr) |
| 791 |
} |
| 792 |
|
| 793 |
probe nd_syscall.setdomainname |
| 794 |
{ |
| 795 |
printf("%s(%s)\n", name, argstr) |
| 796 |
%( systemtap_v <= "2.8" %? |
| 797 |
printf("%p, %p, %s, %d", domainname_uaddr, hostname_uaddr, domainname_str, len) |
| 798 |
%: |
| 799 |
printf("%p, %s, %d", domainname_uaddr, domainname_str, len) |
| 800 |
%) |
| 801 |
} |
| 802 |
|
| 803 |
probe nd_syscall.setdomainname.return |
| 804 |
{ |
| 805 |
printf("%s %s\n", name, retstr) |
| 806 |
} |
| 807 |
|
| 808 |
probe nd_syscall.setfsgid ? |
| 809 |
{ |
| 810 |
printf("%s(%s)\n", name, argstr) |
| 811 |
printf("%d\n", fsgid) |
| 812 |
} |
| 813 |
probe nd_syscall.setfsgid.return ? |
| 814 |
{ |
| 815 |
printf("%s %s\n", name, retstr) |
| 816 |
} |
| 817 |
|
| 818 |
probe nd_syscall.setfsuid ? |
| 819 |
{ |
| 820 |
printf("%s(%s)\n", name, argstr) |
| 821 |
printf("%d\n", fsuid) |
| 822 |
} |
| 823 |
probe nd_syscall.setfsuid.return ? |
| 824 |
{ |
| 825 |
printf("%s %s\n", name, retstr) |
| 826 |
} |
| 827 |
|
| 828 |
probe nd_syscall.setgid ? |
| 829 |
{ |
| 830 |
printf("%s(%s)\n", name, argstr) |
| 831 |
printf("%d\n", gid) |
| 832 |
} |
| 833 |
probe nd_syscall.setgid.return ? |
| 834 |
{ |
| 835 |
printf("%s %s\n", name, retstr) |
| 836 |
} |
| 837 |
|
| 838 |
probe nd_syscall.setgroups ? |
| 839 |
{ |
| 840 |
printf("%s(%s)\n", name, argstr) |
| 841 |
printf("%d %p\n", size, list_uaddr) |
| 842 |
} |
| 843 |
probe nd_syscall.setgroups.return ? |
| 844 |
{ |
| 845 |
printf("%s %s\n", name, retstr) |
| 846 |
} |
| 847 |
|
| 848 |
probe nd_syscall.sethostname |
| 849 |
{ |
| 850 |
printf("%s(%s)\n", name, argstr) |
| 851 |
printf("%p(%s) %d\n", hostname_uaddr, name_str, len) |
| 852 |
} |
| 853 |
probe nd_syscall.sethostname.return |
| 854 |
{ |
| 855 |
printf("%s %s\n", name, retstr) |
| 856 |
} |
| 857 |
|
| 858 |
probe nd_syscall.setitimer, nd_syscall.compat_setitimer ? |
| 859 |
{ |
| 860 |
printf("%s(%s)\n", name, argstr) |
| 861 |
printf("%d %s %p %s %p\n", which, which_str, value_uaddr, value_str, |
| 862 |
ovalue_uaddr) |
| 863 |
} |
| 864 |
probe nd_syscall.setitimer.return, nd_syscall.compat_setitimer.return ? |
| 865 |
{ |
| 866 |
printf("%s %s\n", name, retstr) |
| 867 |
} |
| 868 |
|
| 869 |
probe nd_syscall.setns ? |
| 870 |
{ |
| 871 |
printf("%s(%s)\n", name, argstr) |
| 872 |
printf("%d, %d, %s\n", fd, nstype, nstype_str) |
| 873 |
} |
| 874 |
probe nd_syscall.setns.return ? |
| 875 |
{ |
| 876 |
printf("%s %s\n", name, retstr) |
| 877 |
} |
| 878 |
|
| 879 |
probe nd_syscall.set_mempolicy ? |
| 880 |
{ |
| 881 |
printf("%s(%s)\n", name, argstr) |
| 882 |
printf("%d(%s) %p %d\n", mode, mode_str, nmask_uaddr, maxnode) |
| 883 |
} |
| 884 |
probe nd_syscall.set_mempolicy.return ? |
| 885 |
{ |
| 886 |
printf("%s, %s\n", name, retstr) |
| 887 |
} |
| 888 |
|
| 889 |
probe nd_syscall.setpgid |
| 890 |
{ |
| 891 |
printf("%s(%s)\n", name, argstr) |
| 892 |
printf("%d %d\n", pid, pgid) |
| 893 |
} |
| 894 |
probe nd_syscall.setpgid.return |
| 895 |
{ |
| 896 |
printf("%s %s\n", name, retstr) |
| 897 |
} |
| 898 |
|
| 899 |
probe nd_syscall.setpriority |
| 900 |
{ |
| 901 |
printf("%s(%s)\n", name, argstr) |
| 902 |
printf("%d(%s) %d %d\n", which, which_str, who, prio) |
| 903 |
} |
| 904 |
probe nd_syscall.setpriority.return |
| 905 |
{ |
| 906 |
printf("%s %s\n", name, retstr) |
| 907 |
} |
| 908 |
|
| 909 |
probe nd_syscall.setregid, nd_syscall.setregid16 ? |
| 910 |
{ |
| 911 |
printf("%s(%s)\n", name, argstr) |
| 912 |
printf("%d %d\n", rgid, egid) |
| 913 |
} |
| 914 |
probe nd_syscall.setregid.return, nd_syscall.setregid16.return ? |
| 915 |
{ |
| 916 |
printf("%s %s\n", name, retstr) |
| 917 |
} |
| 918 |
|
| 919 |
probe nd_syscall.setresgid, nd_syscall.setresgid16 ? |
| 920 |
{ |
| 921 |
printf("%s(%s)\n", name, argstr) |
| 922 |
printf("%d %d %d\n", rgid, egid, sgid) |
| 923 |
} |
| 924 |
probe nd_syscall.setresgid.return, nd_syscall.setresgid16.return ? |
| 925 |
{ |
| 926 |
printf("%s %s\n", name, retstr) |
| 927 |
} |
| 928 |
|
| 929 |
probe nd_syscall.setresuid, nd_syscall.setresuid16 ? |
| 930 |
{ |
| 931 |
printf("%s(%s)\n", name, argstr) |
| 932 |
printf("%d %d %d\n", ruid, euid, suid) |
| 933 |
} |
| 934 |
probe nd_syscall.setresuid.return, nd_syscall.setresuid16.return ? |
| 935 |
{ |
| 936 |
printf("%s %s\n", name, retstr) |
| 937 |
} |
| 938 |
|
| 939 |
probe nd_syscall.setreuid, nd_syscall.setreuid16 ? |
| 940 |
{ |
| 941 |
printf("%s(%s)\n", name, argstr) |
| 942 |
printf("%d %d\n", ruid, euid) |
| 943 |
} |
| 944 |
probe nd_syscall.setreuid.return, nd_syscall.setreuid16.return ? |
| 945 |
{ |
| 946 |
printf("%s %s\n", name, retstr) |
| 947 |
} |
| 948 |
|
| 949 |
probe nd_syscall.setrlimit |
| 950 |
{ |
| 951 |
printf("%s(%s)\n", name, argstr) |
| 952 |
printf("%d %s %p %s\n", resource, resource_str, rlim_uaddr, rlim_str) |
| 953 |
} |
| 954 |
probe nd_syscall.setrlimit.return |
| 955 |
{ |
| 956 |
printf("%s %s\n", name, retstr) |
| 957 |
} |
| 958 |
|
| 959 |
probe nd_syscall.set_robust_list |
| 960 |
{ |
| 961 |
printf("%s(%s)\n", name, argstr) |
| 962 |
printf("%p, %u", list_head_uaddr, len) |
| 963 |
} |
| 964 |
probe nd_syscall.set_robust_list.return |
| 965 |
{ |
| 966 |
printf("%s %s\n", name, retstr) |
| 967 |
} |
| 968 |
|
| 969 |
probe nd_syscall.setsid |
| 970 |
{ |
| 971 |
printf("%s(%s)\n", name, argstr) |
| 972 |
} |
| 973 |
probe nd_syscall.setsid.return |
| 974 |
{ |
| 975 |
printf("%s %s\n", name, retstr) |
| 976 |
} |
| 977 |
|
| 978 |
probe nd_syscall.setsockopt |
| 979 |
{ |
| 980 |
printf("%s, %s\n", name, argstr) |
| 981 |
printf("%d, %d(%s), %d(%s), %p, %d\n", fd, level, level_str, optname, |
| 982 |
optname_str, optval_uaddr, optlen) |
| 983 |
} |
| 984 |
probe nd_syscall.setsockopt.return |
| 985 |
{ |
| 986 |
printf("%s, %s\n", name, retstr) |
| 987 |
} |
| 988 |
|
| 989 |
probe nd_syscall.set_tid_address |
| 990 |
{ |
| 991 |
printf("%s, %s\n", name, argstr) |
| 992 |
printf("%p\n", tidptr_uaddr) |
| 993 |
} |
| 994 |
probe nd_syscall.set_tid_address.return |
| 995 |
{ |
| 996 |
printf("%s, %s\n", name, retstr) |
| 997 |
} |
| 998 |
|
| 999 |
probe nd_syscall.settimeofday, nd_syscall.settimeofday32 ? |
| 1000 |
{ |
| 1001 |
printf("%s, %s\n", name, argstr) |
| 1002 |
printf("%p, %s, %p %s\n", tv_uaddr, tv_str, tz_uaddr, tz_str) |
| 1003 |
} |
| 1004 |
probe nd_syscall.settimeofday.return, nd_syscall.settimeofday32.return ? |
| 1005 |
{ |
| 1006 |
printf("%s, %s\n", name, retstr) |
| 1007 |
} |
| 1008 |
|
| 1009 |
probe nd_syscall.setuid |
| 1010 |
{ |
| 1011 |
printf("%s, %s\n", name, argstr) |
| 1012 |
printf("%d\n", uid) |
| 1013 |
} |
| 1014 |
probe nd_syscall.setuid.return |
| 1015 |
{ |
| 1016 |
printf("%s, %s\n", name, retstr) |
| 1017 |
} |
| 1018 |
|
| 1019 |
probe nd_syscall.setxattr |
| 1020 |
{ |
| 1021 |
printf("%s, %s\n", name, argstr) |
| 1022 |
printf("%p(%s), %p(%s), %p(%s), %d, %d(%s)\n", path_uaddr, path, |
| 1023 |
name_uaddr, name_str, value_uaddr, value_str, size, flags, |
| 1024 |
flags_str) |
| 1025 |
} |
| 1026 |
probe nd_syscall.setxattr.return |
| 1027 |
{ |
| 1028 |
printf("%s, %s\n", name, retstr) |
| 1029 |
} |
| 1030 |
|
| 1031 |
probe nd_syscall.sgetmask ? |
| 1032 |
{ |
| 1033 |
printf("%s, %s\n", name, argstr) |
| 1034 |
} |
| 1035 |
probe nd_syscall.sgetmask.return ? |
| 1036 |
{ |
| 1037 |
printf("%s, %s\n", name, retstr) |
| 1038 |
} |
| 1039 |
|
| 1040 |
probe nd_syscall.shmat ? |
| 1041 |
{ |
| 1042 |
printf("%s, %s\n", name, argstr) |
| 1043 |
printf("%d, %p, %d, %s\n", shmid, shmaddr_uaddr, shmflg, shmflg_str) |
| 1044 |
} |
| 1045 |
probe nd_syscall.shmat.return ? |
| 1046 |
{ |
| 1047 |
printf("%s, %s\n", name, retstr) |
| 1048 |
} |
| 1049 |
|
| 1050 |
probe nd_syscall.compat_sys_shmat ? |
| 1051 |
{ |
| 1052 |
printf("%s, %s\n", name, argstr) |
| 1053 |
%( systemtap_v < "2.3" %? |
| 1054 |
printf("%d, %d, %d, %p\n", first, second, third, uptr_uaddr) |
| 1055 |
%) |
| 1056 |
printf("%d, %p, %d, %s\n", shmid, shmaddr_uaddr, shmflg, shmflg_str) |
| 1057 |
} |
| 1058 |
probe nd_syscall.compat_sys_shmat.return ? |
| 1059 |
{ |
| 1060 |
printf("%s, %s\n", name, retstr) |
| 1061 |
} |
| 1062 |
|
| 1063 |
probe nd_syscall.shmctl ? |
| 1064 |
{ |
| 1065 |
printf("%s, %s\n", name, argstr) |
| 1066 |
printf("%d, %d, %s, %p\n", shmid, cmd, cmd_str, buf_uaddr) |
| 1067 |
} |
| 1068 |
probe nd_syscall.shmctl.return ? |
| 1069 |
{ |
| 1070 |
printf("%s, %s\n", name, retstr) |
| 1071 |
} |
| 1072 |
|
| 1073 |
probe nd_syscall.compat_sys_shmctl ? |
| 1074 |
{ |
| 1075 |
printf("%s, %s\n", name, argstr) |
| 1076 |
%( systemtap_v <= "2.5" %? |
| 1077 |
printf("%d, %d, %p\n", first, second, uptr_uaddr) |
| 1078 |
%) |
| 1079 |
printf("%d, %d, %s, %p\n", shmid, cmd, cmd_str, buf_uaddr) |
| 1080 |
} |
| 1081 |
probe nd_syscall.compat_sys_shmctl.return ? |
| 1082 |
{ |
| 1083 |
printf("%s, %s\n", name, retstr) |
| 1084 |
} |
| 1085 |
|
| 1086 |
probe nd_syscall.shmdt |
| 1087 |
{ |
| 1088 |
printf("%s, %s\n", name, argstr) |
| 1089 |
printf("%p\n", shmaddr_uaddr) |
| 1090 |
} |
| 1091 |
probe nd_syscall.shmdt.return |
| 1092 |
{ |
| 1093 |
printf("%s, %s\n", name, retstr) |
| 1094 |
} |
| 1095 |
|
| 1096 |
probe nd_syscall.shmget ? |
| 1097 |
{ |
| 1098 |
printf("%s, %s\n", name, argstr) |
| 1099 |
printf("%d, %d, %d, %s\n", key, size, shmflg, shmflg_str) |
| 1100 |
} |
| 1101 |
probe nd_syscall.shmget.return ? |
| 1102 |
{ |
| 1103 |
printf("%s, %s\n", name, retstr) |
| 1104 |
} |
| 1105 |
|
| 1106 |
probe nd_syscall.shutdown |
| 1107 |
{ |
| 1108 |
printf("%s, %s\n", name, argstr) |
| 1109 |
printf("%d, %d(%s)\n", s, how, how_str) |
| 1110 |
} |
| 1111 |
probe nd_syscall.shutdown.return |
| 1112 |
{ |
| 1113 |
printf("%s, %s\n", name, retstr) |
| 1114 |
} |
| 1115 |
|
| 1116 |
probe nd_syscall.sigaction ?, nd_syscall.sigaction32 ? |
| 1117 |
{ |
| 1118 |
printf("%s, %s\n", name, argstr) |
| 1119 |
printf("%d, %s, %p, %s, %p\n", sig, sig_str, act_uaddr, act_str, oact_uaddr) |
| 1120 |
} |
| 1121 |
probe nd_syscall.sigaction.return ?, nd_syscall.sigaction32.return ? |
| 1122 |
{ |
| 1123 |
printf("%s, %s\n", name, retstr) |
| 1124 |
} |
| 1125 |
|
| 1126 |
# Before kernel 3.8, sigaltstack() was actually in arch-specific code, |
| 1127 |
# but we want to make sure all versions support the same variables. |
| 1128 |
probe nd_syscall.sigaltstack |
| 1129 |
{ |
| 1130 |
printf("%s, %s\n", name, argstr) |
| 1131 |
printf("%p, %s, %p\n", uss_uaddr, uss_str, uoss_uaddr) |
| 1132 |
} |
| 1133 |
probe nd_syscall.sigaltstack.return |
| 1134 |
{ |
| 1135 |
printf("%s, %s\n", name, retstr) |
| 1136 |
} |
| 1137 |
|
| 1138 |
probe nd_syscall.signal ? |
| 1139 |
{ |
| 1140 |
printf("%s, %s\n", name, argstr) |
| 1141 |
printf("%d, %s, %d, %s\n", sig, sig_str, handler, handler_str) |
| 1142 |
} |
| 1143 |
probe nd_syscall.signal.return ? |
| 1144 |
{ |
| 1145 |
printf("%s, %s\n", name, retstr) |
| 1146 |
} |
| 1147 |
|
| 1148 |
probe nd_syscall.signalfd ?, nd_syscall.compat_signalfd ? |
| 1149 |
{ |
| 1150 |
printf("%s, %s\n", name, argstr) |
| 1151 |
printf("%d\n", flags) |
| 1152 |
} |
| 1153 |
probe nd_syscall.signalfd.return ?, nd_syscall.compat_signalfd.return ? |
| 1154 |
{ |
| 1155 |
printf("%s, %s\n", name, retstr) |
| 1156 |
} |
| 1157 |
|
| 1158 |
probe nd_syscall.sigpending ? |
| 1159 |
{ |
| 1160 |
printf("%s, %s, %p\n", name, argstr, set) |
| 1161 |
} |
| 1162 |
probe nd_syscall.sigpending.return ? |
| 1163 |
{ |
| 1164 |
printf("%s, %s\n", name, retstr) |
| 1165 |
} |
| 1166 |
|
| 1167 |
probe nd_syscall.sigprocmask ? |
| 1168 |
{ |
| 1169 |
printf("%s, %s\n", name, argstr) |
| 1170 |
printf("%d(%s), %p, %p\n", how, how_str, set_uaddr, oldset_uaddr) |
| 1171 |
} |
| 1172 |
probe nd_syscall.sigprocmask.return ? |
| 1173 |
{ |
| 1174 |
printf("%s, %s\n", name, retstr) |
| 1175 |
} |
| 1176 |
|
| 1177 |
probe nd_syscall.sigreturn ? |
| 1178 |
{ |
| 1179 |
printf("%s, %s\n", name, argstr) |
| 1180 |
} |
| 1181 |
probe nd_syscall.sigreturn.return ? |
| 1182 |
{ |
| 1183 |
printf("%s, %s\n", name, retstr) |
| 1184 |
} |
| 1185 |
|
| 1186 |
probe nd_syscall.sigsuspend ? |
| 1187 |
{ |
| 1188 |
printf("%s, %s, %d, %s\n", name, argstr, mask, mask_str) |
| 1189 |
} |
| 1190 |
probe nd_syscall.sigsuspend.return ? |
| 1191 |
{ |
| 1192 |
printf("%s, %s\n", name, retstr) |
| 1193 |
} |
| 1194 |
|
| 1195 |
probe nd_syscall.socket |
| 1196 |
{ |
| 1197 |
printf("%s, %s\n", name, argstr) |
| 1198 |
printf("%d, %d, %d, %s, %s, %s\n", family, type, protocol, |
| 1199 |
family_str, type_str, protocol_str) |
| 1200 |
} |
| 1201 |
probe nd_syscall.socket.return |
| 1202 |
{ |
| 1203 |
printf("%s, %s\n", name, retstr) |
| 1204 |
} |
| 1205 |
probe nd_syscall.socketpair |
| 1206 |
{ |
| 1207 |
printf("%s, %s\n", name, argstr) |
| 1208 |
printf("%d, %d, %d, %p, %s, %s, %s\n", family, type, protocol, |
| 1209 |
sv_uaddr, family_str, type_str, protocol_str) |
| 1210 |
} |
| 1211 |
probe nd_syscall.socketpair.return |
| 1212 |
{ |
| 1213 |
printf("%s, %s\n", name, retstr) |
| 1214 |
} |
| 1215 |
|
| 1216 |
probe nd_syscall.splice ? |
| 1217 |
{ |
| 1218 |
printf("%s, %s\n", name, argstr) |
| 1219 |
printf("%d, %p, %d, %p, %u, %u, %s", fd_in, off_in, fd_out, |
| 1220 |
off_out, len, flags, flags_str); |
| 1221 |
} |
| 1222 |
probe nd_syscall.splice.return ? |
| 1223 |
{ |
| 1224 |
printf("%s, %s\n", name, retstr) |
| 1225 |
} |
| 1226 |
|
| 1227 |
probe nd_syscall.ssetmask ? |
| 1228 |
{ |
| 1229 |
printf("%s, %s\n", name, argstr) |
| 1230 |
printf("%d, %s\n", newmask, newmask_str) |
| 1231 |
} |
| 1232 |
probe nd_syscall.ssetmask.return ? |
| 1233 |
{ |
| 1234 |
printf("%s, %s\n", name, retstr) |
| 1235 |
} |
| 1236 |
|
| 1237 |
probe nd_syscall.stat |
| 1238 |
{ |
| 1239 |
printf("%s, %s\n", name, argstr) |
| 1240 |
printf("%p, %s, %p\n", filename_uaddr, filename, buf_uaddr) |
| 1241 |
} |
| 1242 |
probe nd_syscall.stat.return |
| 1243 |
{ |
| 1244 |
printf("%s, %s\n", name, retstr) |
| 1245 |
} |
| 1246 |
|
| 1247 |
probe nd_syscall.statx ? |
| 1248 |
{ |
| 1249 |
printf("%s, %s\n", name, argstr) |
| 1250 |
printf("%s, %s, %s, %s, %p", dfd_str, filename, flags_str, |
| 1251 |
mask_str, buf_uaddr) |
| 1252 |
} |
| 1253 |
probe nd_syscall.statx.return ? |
| 1254 |
{ |
| 1255 |
printf("%s, %s\n", name, retstr) |
| 1256 |
} |
| 1257 |
|
| 1258 |
probe syscall.statfs |
| 1259 |
{ |
| 1260 |
printf("%s, %s\n", name, argstr) |
| 1261 |
printf("%p, %s\n", buf_uaddr, path) |
| 1262 |
} |
| 1263 |
probe nd_syscall.statfs.return |
| 1264 |
{ |
| 1265 |
printf("%s, %s\n", name, retstr) |
| 1266 |
} |
| 1267 |
|
| 1268 |
probe nd_syscall.statfs64 |
| 1269 |
{ |
| 1270 |
printf("%s, %s\n", name, argstr) |
| 1271 |
printf("%d, %p, %s\n", sz, buf_uaddr, path) |
| 1272 |
} |
| 1273 |
probe nd_syscall.statfs64.return |
| 1274 |
{ |
| 1275 |
printf("%s, %s\n", name, retstr) |
| 1276 |
} |
| 1277 |
|
| 1278 |
probe nd_syscall.stime ? |
| 1279 |
{ |
| 1280 |
printf("%s, %s\n", name, argstr) |
| 1281 |
printf("%p\n", t_uaddr) |
| 1282 |
} |
| 1283 |
probe nd_syscall.stime.return ? |
| 1284 |
{ |
| 1285 |
printf("%s, %s\n", name, retstr) |
| 1286 |
} |
| 1287 |
|
| 1288 |
probe nd_syscall.swapoff |
| 1289 |
{ |
| 1290 |
printf("%s, %s\n", name, argstr) |
| 1291 |
printf("%p, %s\n", path_uaddr, path) |
| 1292 |
} |
| 1293 |
probe nd_syscall.swapoff.return |
| 1294 |
{ |
| 1295 |
printf("%s, %s\n", name, retstr) |
| 1296 |
} |
| 1297 |
|
| 1298 |
probe nd_syscall.swapon |
| 1299 |
{ |
| 1300 |
printf("%s, %s\n", name, argstr) |
| 1301 |
printf("%p, %s, %d, %s\n", path_uaddr, path, swapflags, swapflags_str) |
| 1302 |
} |
| 1303 |
probe nd_syscall.swapon.return |
| 1304 |
{ |
| 1305 |
printf("%s, %s\n", name, retstr) |
| 1306 |
} |
| 1307 |
|
| 1308 |
probe nd_syscall.symlink |
| 1309 |
{ |
| 1310 |
printf("%s, %s\n", name, argstr) |
| 1311 |
printf("%s, %s\n", oldpath, newpath) |
| 1312 |
} |
| 1313 |
probe nd_syscall.symlink.return |
| 1314 |
{ |
| 1315 |
printf("%s, %s\n", name, retstr) |
| 1316 |
} |
| 1317 |
|
| 1318 |
probe nd_syscall.symlinkat ? |
| 1319 |
{ |
| 1320 |
printf("%s, %s\n", name, argstr) |
| 1321 |
printf("%p(%s), %d(%s), %p(%s)\n", oldname, oldname_str, newdfd, |
| 1322 |
newdfd_str, newname, newname_str) |
| 1323 |
} |
| 1324 |
probe nd_syscall.symlinkat.return ? |
| 1325 |
{ |
| 1326 |
printf("%s, %s\n", name, retstr) |
| 1327 |
} |
| 1328 |
|
| 1329 |
probe nd_syscall.sync |
| 1330 |
{ |
| 1331 |
printf("%s, %s\n", name, argstr) |
| 1332 |
} |
| 1333 |
probe nd_syscall.sync.return |
| 1334 |
{ |
| 1335 |
printf("%s, %s\n", name, retstr) |
| 1336 |
} |
| 1337 |
|
| 1338 |
probe nd_syscall.sync_file_range ? |
| 1339 |
{ |
| 1340 |
printf("%s, %s\n", name, argstr) |
| 1341 |
printf("%d, %d, %d, %d(%s)", fd, offset, nbytes, flags, flags_str) |
| 1342 |
} |
| 1343 |
probe nd_syscall.sync_file_range.return ? |
| 1344 |
{ |
| 1345 |
printf("%s, %s\n", name, retstr) |
| 1346 |
} |
| 1347 |
|
| 1348 |
probe nd_syscall.syncfs ? |
| 1349 |
{ |
| 1350 |
printf("%s, %s\n", name, argstr) |
| 1351 |
printf("%d\n", fd) |
| 1352 |
} |
| 1353 |
probe nd_syscall.syncfs.return ? |
| 1354 |
{ |
| 1355 |
printf("%s, %s\n", name, retstr) |
| 1356 |
} |
| 1357 |
|
| 1358 |
probe nd_syscall.sysctl |
| 1359 |
{ |
| 1360 |
printf("%s, %d, %s\n", name, args, argstr) |
| 1361 |
} |
| 1362 |
probe nd_syscall.sysctl.return |
| 1363 |
{ |
| 1364 |
printf("%s, %s\n", name, retstr) |
| 1365 |
} |
| 1366 |
|
| 1367 |
probe nd_syscall.sysfs |
| 1368 |
{ |
| 1369 |
printf("%s, %s\n", name, argstr) |
| 1370 |
printf("%d, %d, %d\n", option, arg1, arg2) |
| 1371 |
} |
| 1372 |
probe nd_syscall.sysfs.return |
| 1373 |
{ |
| 1374 |
printf("%s, %s\n", name, retstr) |
| 1375 |
} |
| 1376 |
|
| 1377 |
probe nd_syscall.sysinfo |
| 1378 |
{ |
| 1379 |
printf("%s, %s\n", name, argstr) |
| 1380 |
printf("%p, %s\n", info_uaddr, info_str) |
| 1381 |
} |
| 1382 |
probe nd_syscall.sysinfo.return |
| 1383 |
{ |
| 1384 |
printf("%s, %s\n", name, retstr) |
| 1385 |
} |
| 1386 |
|
| 1387 |
probe nd_syscall.syslog |
| 1388 |
{ |
| 1389 |
printf("%s, %s\n", name, argstr) |
| 1390 |
printf("%d, %p, %d\n", type, bufp_uaddr, len) |
| 1391 |
} |
| 1392 |
probe nd_syscall.syslog.return |
| 1393 |
{ |
| 1394 |
printf("%s, %s\n", name, retstr) |
| 1395 |
} |
| 1396 |
|
| 1397 |
probe nd_syscall.tee ? |
| 1398 |
{ |
| 1399 |
printf("%s, %s\n", name, argstr) |
| 1400 |
printf("%d, %d, %u, 0x%x", fdin, fdout, len, flags) |
| 1401 |
} |
| 1402 |
probe nd_syscall.tee.return ? |
| 1403 |
{ |
| 1404 |
printf("%s, %s\n", name, retstr) |
| 1405 |
} |
| 1406 |
|
| 1407 |
probe nd_syscall.tgkill |
| 1408 |
{ |
| 1409 |
printf("%s, %s\n", name, argstr) |
| 1410 |
printf("%d, %d, %d, %s\n", tgid, pid, sig, sig_str) |
| 1411 |
} |
| 1412 |
probe nd_syscall.tgkill.return |
| 1413 |
{ |
| 1414 |
printf("%s, %s\n", name, retstr) |
| 1415 |
} |
| 1416 |
|
| 1417 |
probe nd_syscall.time ? |
| 1418 |
{ |
| 1419 |
printf("%s, %s\n", name, argstr) |
| 1420 |
printf("%p\n", t_uaddr) |
| 1421 |
} |
| 1422 |
probe nd_syscall.time.return ? |
| 1423 |
{ |
| 1424 |
printf("%s, %s\n", name, retstr) |
| 1425 |
} |
| 1426 |
|
| 1427 |
probe nd_syscall.timer_create |
| 1428 |
{ |
| 1429 |
printf("%s, %s\n", name, argstr) |
| 1430 |
printf("%d(%s), %p, %p\n", clockid, clockid_str, evp_uaddr, |
| 1431 |
timerid_uaddr) |
| 1432 |
} |
| 1433 |
probe nd_syscall.timer_create.return |
| 1434 |
{ |
| 1435 |
printf("%s, %s\n", name, retstr) |
| 1436 |
} |
| 1437 |
|
| 1438 |
probe nd_syscall.timer_delete, nd_syscall.timer_getoverrun |
| 1439 |
{ |
| 1440 |
printf("%s, %s\n", name, argstr) |
| 1441 |
printf("%d\n", timerid) |
| 1442 |
} |
| 1443 |
probe nd_syscall.timer_delete.return, nd_syscall.timer_getoverrun.return |
| 1444 |
{ |
| 1445 |
printf("%s, %s\n", name, retstr) |
| 1446 |
} |
| 1447 |
|
| 1448 |
probe nd_syscall.timer_gettime |
| 1449 |
{ |
| 1450 |
printf("%s, %s\n", name, argstr) |
| 1451 |
printf("%d, %p\n", timerid, value_uaddr) |
| 1452 |
} |
| 1453 |
probe nd_syscall.timer_gettime.return |
| 1454 |
{ |
| 1455 |
printf("%s, %s\n", name, retstr) |
| 1456 |
} |
| 1457 |
|
| 1458 |
probe nd_syscall.timer_settime |
| 1459 |
{ |
| 1460 |
printf("%s, %s\n", name, argstr) |
| 1461 |
printf("%d, %d, %p, %s, %p\n", timerid, flags, value_uaddr, |
| 1462 |
value_str, ovalue_uaddr) |
| 1463 |
} |
| 1464 |
probe nd_syscall.timer_settime.return |
| 1465 |
{ |
| 1466 |
printf("%s, %s\n", name, retstr) |
| 1467 |
} |
| 1468 |
|
| 1469 |
probe nd_syscall.timerfd ? |
| 1470 |
{ |
| 1471 |
printf("%s, %s\n", name, argstr) |
| 1472 |
} |
| 1473 |
probe nd_syscall.timerfd.return ? |
| 1474 |
{ |
| 1475 |
printf("%s, %s\n", name, retstr) |
| 1476 |
} |
| 1477 |
|
| 1478 |
probe nd_syscall.timerfd_create ? |
| 1479 |
{ |
| 1480 |
printf("%s, %s\n", name, argstr) |
| 1481 |
printf("%d(%s), %d(%s)", clockid, clockid_str, flags, flags_str) |
| 1482 |
} |
| 1483 |
probe nd_syscall.timerfd_create.return ? |
| 1484 |
{ |
| 1485 |
printf("%s, %s\n", name, retstr) |
| 1486 |
} |
| 1487 |
|
| 1488 |
probe nd_syscall.timerfd_gettime ? |
| 1489 |
{ |
| 1490 |
printf("%s, %s\n", name, argstr) |
| 1491 |
printf("%d, %p", fd, value_uaddr) |
| 1492 |
} |
| 1493 |
probe nd_syscall.timerfd_gettime.return ? |
| 1494 |
{ |
| 1495 |
printf("%s, %s\n", name, retstr) |
| 1496 |
} |
| 1497 |
|
| 1498 |
probe nd_syscall.timerfd_settime ? |
| 1499 |
{ |
| 1500 |
printf("%s, %s\n", name, argstr) |
| 1501 |
printf("%d, %d(%s), %p, %p, %s", fd, flags, flags_str, value_uaddr, |
| 1502 |
ovalue_uaddr, value_str) |
| 1503 |
} |
| 1504 |
probe nd_syscall.timerfd_settime.return ? |
| 1505 |
{ |
| 1506 |
printf("%s, %s\n", name, retstr) |
| 1507 |
} |
| 1508 |
|
| 1509 |
probe nd_syscall.times |
| 1510 |
{ |
| 1511 |
printf("%s, %p, %s, %s\n", name, buf_uaddr, buf_str, argstr) |
| 1512 |
} |
| 1513 |
probe nd_syscall.times.return |
| 1514 |
{ |
| 1515 |
printf("%s, %s\n", name, retstr) |
| 1516 |
} |
| 1517 |
|
| 1518 |
probe nd_syscall.tkill |
| 1519 |
{ |
| 1520 |
printf("%s, %s\n", name, argstr) |
| 1521 |
printf("%d, %d, %s\n", pid, sig, sig_str) |
| 1522 |
} |
| 1523 |
probe nd_syscall.tkill.return |
| 1524 |
{ |
| 1525 |
printf("%s, %s\n", name, retstr) |
| 1526 |
} |
| 1527 |
|
| 1528 |
probe nd_syscall.truncate |
| 1529 |
{ |
| 1530 |
printf("%s, %s\n", name, argstr) |
| 1531 |
printf("%p(%s), %d\n", path_uaddr, path, length) |
| 1532 |
} |
| 1533 |
probe nd_syscall.truncate.return |
| 1534 |
{ |
| 1535 |
printf("%s, %s\n", name, retstr) |
| 1536 |
} |
| 1537 |
|
| 1538 |
probe nd_syscall.tux ? |
| 1539 |
{ |
| 1540 |
printf("%s, %s\n", name, argstr) |
| 1541 |
printf("%d %p\n", action, u_info_uaddr) |
| 1542 |
} |
| 1543 |
probe nd_syscall.tux.return ? |
| 1544 |
{ |
| 1545 |
printf("%s, %s\n", name, retstr) |
| 1546 |
} |
| 1547 |
|
| 1548 |
probe nd_syscall.umask |
| 1549 |
{ |
| 1550 |
printf("%s, %s\n", name, argstr) |
| 1551 |
printf("%d\n", mask) |
| 1552 |
} |
| 1553 |
probe nd_syscall.umask.return |
| 1554 |
{ |
| 1555 |
printf("%s, %s\n", name, retstr) |
| 1556 |
} |
| 1557 |
|
| 1558 |
probe nd_syscall.umount |
| 1559 |
{ |
| 1560 |
printf("%s, %s\n", name, argstr) |
| 1561 |
printf("%s, %d(%s)\n", target, flags, flags_str) |
| 1562 |
} |
| 1563 |
probe nd_syscall.umount.return |
| 1564 |
{ |
| 1565 |
printf("%s, %s\n", name, retstr) |
| 1566 |
} |
| 1567 |
|
| 1568 |
probe nd_syscall.uname |
| 1569 |
{ |
| 1570 |
printf("%d, %s, %s\n", name_uaddr, name, argstr) |
| 1571 |
} |
| 1572 |
probe nd_syscall.uname.return |
| 1573 |
{ |
| 1574 |
printf("%s, %s\n", name, retstr) |
| 1575 |
} |
| 1576 |
|
| 1577 |
probe nd_syscall.unlink |
| 1578 |
{ |
| 1579 |
printf("%s, %s\n", name, argstr) |
| 1580 |
printf("%p(%s)\n", pathname_uaddr, pathname) |
| 1581 |
} |
| 1582 |
probe nd_syscall.unlink.return |
| 1583 |
{ |
| 1584 |
printf("%s, %s\n", name, retstr) |
| 1585 |
} |
| 1586 |
|
| 1587 |
probe nd_syscall.unlinkat ? |
| 1588 |
{ |
| 1589 |
printf("%s, %s\n", name, argstr) |
| 1590 |
printf("%d(%s), %p(%s), %d(%s)\n", dfd, dfd_str, pathname, |
| 1591 |
pathname_str, flag, flag_str) |
| 1592 |
} |
| 1593 |
probe nd_syscall.unlinkat.return ? |
| 1594 |
{ |
| 1595 |
printf("%s, %s\n", name, retstr) |
| 1596 |
} |
| 1597 |
|
| 1598 |
probe nd_syscall.unshare ? |
| 1599 |
{ |
| 1600 |
printf("%s, %s\n", name, argstr) |
| 1601 |
printf("%d, %s\n", unshare_flags, unshare_flags_str) |
| 1602 |
} |
| 1603 |
probe nd_syscall.unshare.return ? |
| 1604 |
{ |
| 1605 |
printf("%s, %s\n", name, retstr) |
| 1606 |
} |
| 1607 |
|
| 1608 |
probe nd_syscall.uselib ? |
| 1609 |
{ |
| 1610 |
printf("%s, %s\n", name, argstr) |
| 1611 |
printf("%p(%s)\n", library_uaddr, library) |
| 1612 |
} |
| 1613 |
probe nd_syscall.uselib.return ? |
| 1614 |
{ |
| 1615 |
printf("%s, %s\n", name, retstr) |
| 1616 |
} |
| 1617 |
|
| 1618 |
probe nd_syscall.userfaultfd ? |
| 1619 |
{ |
| 1620 |
printf("%s, %s\n", name, argstr) |
| 1621 |
printf("%d, %s\n", flags, flags_str) |
| 1622 |
} |
| 1623 |
probe nd_syscall.userfaultfd.return ? |
| 1624 |
{ |
| 1625 |
printf("%s, %s\n", name, retstr) |
| 1626 |
} |
| 1627 |
|
| 1628 |
probe syscall.ustat, syscall.ustat32 ? |
| 1629 |
{ |
| 1630 |
printf("%s, %s\n", name, argstr) |
| 1631 |
printf("%d, %p\n", dev, ubuf_uaddr) |
| 1632 |
} |
| 1633 |
|
| 1634 |
probe nd_syscall.ustat, nd_syscall.ustat32 ? |
| 1635 |
{ |
| 1636 |
printf("%s, %s\n", name, argstr) |
| 1637 |
printf("%d, %p\n", dev, ubuf_uaddr) |
| 1638 |
} |
| 1639 |
probe nd_syscall.ustat.return, nd_syscall.ustat32.return ? |
| 1640 |
{ |
| 1641 |
printf("%s, %s\n", name, retstr) |
| 1642 |
} |
| 1643 |
|
| 1644 |
probe nd_syscall.utime ?, nd_syscall.compat_utime ? |
| 1645 |
{ |
| 1646 |
printf("%s, %s\n", name, argstr) |
| 1647 |
printf("%p(%s), %p, %d, %d\n", filename_uaddr, filename, buf_uaddr, |
| 1648 |
actime, modtime) |
| 1649 |
} |
| 1650 |
probe nd_syscall.utime.return ?, nd_syscall.compat_utime.return ? |
| 1651 |
{ |
| 1652 |
printf("%s, %s\n", name, retstr) |
| 1653 |
} |
| 1654 |
|
| 1655 |
probe nd_syscall.utimensat ?, nd_syscall.compat_utimensat ? |
| 1656 |
{ |
| 1657 |
printf("%s, %s\n", name, argstr) |
| 1658 |
printf("%d(%s), %p(%s), %p, %d(%s), %s\n", dfd, dfd_str, filename_uaddr, |
| 1659 |
filename, tsp_uaddr, flags, flags_str, tsp_str) |
| 1660 |
} |
| 1661 |
probe nd_syscall.utimensat.return ?, nd_syscall.compat_utimensat.return ? |
| 1662 |
{ |
| 1663 |
printf("%s, %s\n", name, retstr) |
| 1664 |
} |
| 1665 |
|
| 1666 |
probe nd_syscall.utimes ? |
| 1667 |
{ |
| 1668 |
printf("%s, %s\n", name, argstr) |
| 1669 |
printf("%s, %s", filename, tvp_uaddr_str) |
| 1670 |
} |
| 1671 |
probe nd_syscall.utimes.return? |
| 1672 |
{ |
| 1673 |
printf("%s, %s\n", name, retstr) |
| 1674 |
} |
| 1675 |
|
| 1676 |
probe nd_syscall.vfork ? |
| 1677 |
{ |
| 1678 |
printf("%s, %s\n", name, argstr) |
| 1679 |
} |
| 1680 |
probe nd_syscall.vfork.return ? |
| 1681 |
{ |
| 1682 |
printf("%s, %s\n", name, retstr) |
| 1683 |
} |
| 1684 |
|
| 1685 |
probe nd_syscall.vhangup |
| 1686 |
{ |
| 1687 |
printf("%s, %s\n", name, argstr) |
| 1688 |
} |
| 1689 |
probe nd_syscall.vhangup.return |
| 1690 |
{ |
| 1691 |
printf("%s, %s\n", name, retstr) |
| 1692 |
} |
| 1693 |
|
| 1694 |
probe nd_syscall.vmsplice ?, nd_syscall.compat_vmsplice ? |
| 1695 |
{ |
| 1696 |
printf("%s, %s\n", name, argstr) |
| 1697 |
argstr = sprintf("%d, %p, %u, %u, %s", fd, iov, nr_segs, |
| 1698 |
flags, flags_str) |
| 1699 |
} |
| 1700 |
probe nd_syscall.vmsplice.return ?, nd_syscall.compat_vmsplice.return ? |
| 1701 |
{ |
| 1702 |
printf("%s, %s\n", name, retstr) |
| 1703 |
} |
| 1704 |
|
| 1705 |
probe nd_syscall.wait4 |
| 1706 |
{ |
| 1707 |
printf("%s, %s\n", name, argstr) |
| 1708 |
printf("%d, %p, %d(%s), %p\n", pid, status_uaddr, options, |
| 1709 |
options_str, rusage_uaddr) |
| 1710 |
} |
| 1711 |
probe nd_syscall.wait4.return |
| 1712 |
{ |
| 1713 |
printf("%s, %s, %s\n", name, retstr, status_str) |
| 1714 |
} |
| 1715 |
|
| 1716 |
probe nd_syscall.waitid |
| 1717 |
{ |
| 1718 |
printf("%s, %s\n", name, argstr) |
| 1719 |
printf("%d, %d(%s), %p, %d(%s), %p\n", pid, which, which_str, |
| 1720 |
infop_uaddr, options, options_str, rusage_uaddr) |
| 1721 |
} |
| 1722 |
probe nd_syscall.waitid.return |
| 1723 |
{ |
| 1724 |
printf("%s, %s\n", name, retstr) |
| 1725 |
} |
| 1726 |
|
| 1727 |
probe nd_syscall.waitpid ? |
| 1728 |
{ |
| 1729 |
printf("%s, %s\n", name, argstr) |
| 1730 |
printf("%d, %p, %d(%s)\n", pid, status_uaddr, options, options_str) |
| 1731 |
} |
| 1732 |
probe nd_syscall.waitpid.return ? |
| 1733 |
{ |
| 1734 |
printf("%s, %s\n", name, retstr) |
| 1735 |
} |
| 1736 |
|
| 1737 |
probe nd_syscall.write |
| 1738 |
{ |
| 1739 |
printf("%s, %s\n", name, argstr) |
| 1740 |
printf("%d, %p, %s, %d\n", fd, buf_uaddr, buf_str, count) |
| 1741 |
} |
| 1742 |
probe nd_syscall.write.return |
| 1743 |
{ |
| 1744 |
printf("%s, %s\n", name, retstr) |
| 1745 |
} |
| 1746 |
|
| 1747 |
probe nd_syscall.writev |
| 1748 |
{ |
| 1749 |
printf("%s, %s\n", name, argstr) |
| 1750 |
printf("%p, %d, %d\n", vector_uaddr, count, fd) |
| 1751 |
} |
| 1752 |
probe nd_syscall.writev.return |
| 1753 |
{ |
| 1754 |
printf("%s, %s\n", name, retstr) |
| 1755 |
} |