Home | History | Annotate | Download | only in strace
      1 /* Generated by Makefile from block.c.mpers.i btrfs.c.mpers.i dirent.c.mpers.i evdev.c.mpers.i fetch_bpf_fprog.c.mpers.i fetch_struct_flock.c.mpers.i fetch_struct_keyctl_kdf_params.c.mpers.i fetch_struct_mmsghdr.c.mpers.i fetch_struct_msghdr.c.mpers.i fetch_struct_stat.c.mpers.i fetch_struct_stat64.c.mpers.i fetch_struct_statfs.c.mpers.i hdio.c.mpers.i ipc_msgctl.c.mpers.i ipc_shmctl.c.mpers.i loop.c.mpers.i mtd.c.mpers.i print_group_req.c.mpers.i print_mq_attr.c.mpers.i print_msgbuf.c.mpers.i print_sg_req_info.c.mpers.i print_sigevent.c.mpers.i print_time.c.mpers.i print_timespec.c.mpers.i print_timeval.c.mpers.i print_timex.c.mpers.i printrusage.c.mpers.i printsiginfo.c.mpers.i rt_sigreturn.c.mpers.i rtc.c.mpers.i sg_io_v3.c.mpers.i sigaltstack.c.mpers.i sock.c.mpers.i sysinfo.c.mpers.i times.c.mpers.i ustat.c.mpers.i utime.c.mpers.i v4l2.c.mpers.i; do not edit. */
      2 typedef struct {
      3  int (*block_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg);
      4 #define block_ioctl MPERS_PRINTER_NAME(block_ioctl)
      5 
      6  int (*btrfs_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg);
      7 #define btrfs_ioctl MPERS_PRINTER_NAME(btrfs_ioctl)
      8 
      9  int (*evdev_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg);
     10 #define evdev_ioctl MPERS_PRINTER_NAME(evdev_ioctl)
     11 
     12  unsigned int (*get_sock_fprog_size)(void);
     13 #define get_sock_fprog_size MPERS_PRINTER_NAME(get_sock_fprog_size)
     14 
     15  _Bool (*fetch_bpf_fprog)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
     16 #define fetch_bpf_fprog MPERS_PRINTER_NAME(fetch_bpf_fprog)
     17 
     18  _Bool (*fetch_struct_flock)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
     19 #define fetch_struct_flock MPERS_PRINTER_NAME(fetch_struct_flock)
     20 
     21  _Bool (*fetch_struct_flock64)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
     22 #define fetch_struct_flock64 MPERS_PRINTER_NAME(fetch_struct_flock64)
     23 
     24  int (*fetch_keyctl_kdf_params)(struct tcb *const tcp, kernel_ulong_t addr, struct strace_keyctl_kdf_params *p);
     25 #define fetch_keyctl_kdf_params MPERS_PRINTER_NAME(fetch_keyctl_kdf_params)
     26 
     27  int (*fetch_struct_mmsghdr)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
     28 #define fetch_struct_mmsghdr MPERS_PRINTER_NAME(fetch_struct_mmsghdr)
     29 
     30  unsigned int (*sizeof_struct_mmsghdr)(void);
     31 #define sizeof_struct_mmsghdr MPERS_PRINTER_NAME(sizeof_struct_mmsghdr)
     32 
     33  int (*fetch_struct_msghdr)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p);
     34 #define fetch_struct_msghdr MPERS_PRINTER_NAME(fetch_struct_msghdr)
     35 
     36  _Bool (*fetch_struct_stat)(struct tcb *const tcp, const kernel_ulong_t addr, struct strace_stat *const dst);
     37 #define fetch_struct_stat MPERS_PRINTER_NAME(fetch_struct_stat)
     38 
     39  _Bool (*fetch_struct_stat64)(struct tcb *const tcp, const kernel_ulong_t addr, struct strace_stat *const dst);
     40 #define fetch_struct_stat64 MPERS_PRINTER_NAME(fetch_struct_stat64)
     41 
     42  _Bool (*fetch_struct_statfs)(struct tcb *const tcp, const kernel_ulong_t addr, struct strace_statfs *const p);
     43 #define fetch_struct_statfs MPERS_PRINTER_NAME(fetch_struct_statfs)
     44 
     45  _Bool (*fetch_struct_statfs64)(struct tcb *const tcp, const kernel_ulong_t addr, const kernel_ulong_t size, struct strace_statfs *const p);
     46 #define fetch_struct_statfs64 MPERS_PRINTER_NAME(fetch_struct_statfs64)
     47 
     48  int (*hdio_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg);
     49 #define hdio_ioctl MPERS_PRINTER_NAME(hdio_ioctl)
     50 
     51  int (*loop_ioctl)(struct tcb *tcp, const unsigned int code, const kernel_ulong_t arg);
     52 #define loop_ioctl MPERS_PRINTER_NAME(loop_ioctl)
     53 
     54  int (*mtd_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg);
     55 #define mtd_ioctl MPERS_PRINTER_NAME(mtd_ioctl)
     56 
     57  void (*print_group_req)(struct tcb *const tcp, const kernel_ulong_t addr, const int len);
     58 #define print_group_req MPERS_PRINTER_NAME(print_group_req)
     59 
     60  void (*printmqattr)(struct tcb *const tcp, const kernel_ulong_t addr, const _Bool decode_flags);
     61 #define printmqattr MPERS_PRINTER_NAME(printmqattr)
     62 
     63  void (*tprint_msgbuf)(struct tcb *const tcp, const kernel_ulong_t addr, const kernel_ulong_t count);
     64 #define tprint_msgbuf MPERS_PRINTER_NAME(tprint_msgbuf)
     65 
     66  int (*decode_sg_req_info)(struct tcb *const tcp, const kernel_ulong_t arg);
     67 #define decode_sg_req_info MPERS_PRINTER_NAME(decode_sg_req_info)
     68 
     69  void (*print_sigevent)(struct tcb *const tcp, const kernel_ulong_t addr);
     70 #define print_sigevent MPERS_PRINTER_NAME(print_sigevent)
     71 
     72  _Bool (*print_struct_timespec_data_size)(const void *arg, const size_t size);
     73 #define print_struct_timespec_data_size MPERS_PRINTER_NAME(print_struct_timespec_data_size)
     74 
     75  _Bool (*print_struct_timespec_array_data_size)(const void *arg, const unsigned int nmemb, const size_t size);
     76 #define print_struct_timespec_array_data_size MPERS_PRINTER_NAME(print_struct_timespec_array_data_size)
     77 
     78  void (*print_timespec)(struct tcb *const tcp, const kernel_ulong_t addr);
     79 #define print_timespec MPERS_PRINTER_NAME(print_timespec)
     80 
     81  const char * (*sprint_timespec)(struct tcb *const tcp, const kernel_ulong_t addr);
     82 #define sprint_timespec MPERS_PRINTER_NAME(sprint_timespec)
     83 
     84  void (*print_timespec_utime_pair)(struct tcb *const tcp, const kernel_ulong_t addr);
     85 #define print_timespec_utime_pair MPERS_PRINTER_NAME(print_timespec_utime_pair)
     86 
     87  void (*print_itimerspec)(struct tcb *const tcp, const kernel_ulong_t addr);
     88 #define print_itimerspec MPERS_PRINTER_NAME(print_itimerspec)
     89 
     90  void (*print_struct_timeval)(const void *arg);
     91 #define print_struct_timeval MPERS_PRINTER_NAME(print_struct_timeval)
     92 
     93  _Bool (*print_struct_timeval_data_size)(const void *arg, const size_t size);
     94 #define print_struct_timeval_data_size MPERS_PRINTER_NAME(print_struct_timeval_data_size)
     95 
     96  void (*print_timeval)(struct tcb *const tcp, const kernel_ulong_t addr);
     97 #define print_timeval MPERS_PRINTER_NAME(print_timeval)
     98 
     99  void (*print_timeval_utimes)(struct tcb *const tcp, const kernel_ulong_t addr);
    100 #define print_timeval_utimes MPERS_PRINTER_NAME(print_timeval_utimes)
    101 
    102  const char * (*sprint_timeval)(struct tcb *const tcp, const kernel_ulong_t addr);
    103 #define sprint_timeval MPERS_PRINTER_NAME(sprint_timeval)
    104 
    105  void (*print_itimerval)(struct tcb *const tcp, const kernel_ulong_t addr);
    106 #define print_itimerval MPERS_PRINTER_NAME(print_itimerval)
    107 
    108  int (*print_timex)(struct tcb *const tcp, const kernel_ulong_t addr);
    109 #define print_timex MPERS_PRINTER_NAME(print_timex)
    110 
    111  void (*printrusage)(struct tcb *const tcp, const kernel_ulong_t addr);
    112 #define printrusage MPERS_PRINTER_NAME(printrusage)
    113 
    114  void (*printsiginfo_at)(struct tcb *const tcp, const kernel_ulong_t addr);
    115 #define printsiginfo_at MPERS_PRINTER_NAME(printsiginfo_at)
    116 
    117  void (*print_siginfo_array)(struct tcb *const tcp, const kernel_ulong_t addr, const kernel_ulong_t len);
    118 #define print_siginfo_array MPERS_PRINTER_NAME(print_siginfo_array)
    119 
    120  int (*rtc_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg);
    121 #define rtc_ioctl MPERS_PRINTER_NAME(rtc_ioctl)
    122 
    123  int (*decode_sg_io_v3)(struct tcb *const tcp, const kernel_ulong_t arg);
    124 #define decode_sg_io_v3 MPERS_PRINTER_NAME(decode_sg_io_v3)
    125 
    126  int (*sock_ioctl)(struct tcb *tcp, const unsigned int code, const kernel_ulong_t arg);
    127 #define sock_ioctl MPERS_PRINTER_NAME(sock_ioctl)
    128 
    129  int (*v4l2_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg);
    130 #define v4l2_ioctl MPERS_PRINTER_NAME(v4l2_ioctl)
    131 
    132 } struct_printers;
    133 extern const struct_printers *printers;
    134 #define MPERS_PRINTER_NAME(printer_name) printers->printer_name
    135