Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

getcpu.c 221B

12345678910111213
  1. #include "defs.h"
  2. SYS_FUNC(getcpu)
  3. {
  4. if (exiting(tcp)) {
  5. printnum_int(tcp, tcp->u_arg[0], "%u");
  6. tprints(", ");
  7. printnum_int(tcp, tcp->u_arg[1], "%u");
  8. tprints(", ");
  9. printaddr(tcp->u_arg[2]);
  10. }
  11. return 0;
  12. }