]> granicus.if.org Git - strace/blobdiff - fetch_bpf_fprog.c
travis: add build environment information to the travis log
[strace] / fetch_bpf_fprog.c
index d4bf69de323f591c44079f15cf74c7dc59513a15..e46ddf9ee8e29359865d47701447085e94a4663f 100644 (file)
@@ -35,6 +35,11 @@ typedef struct sock_fprog struct_sock_fprog;
 #include MPERS_DEFS
 #include "bpf_fprog.h"
 
+MPERS_PRINTER_DECL(unsigned int, get_sock_fprog_size, void)
+{
+       return sizeof(struct_sock_fprog);
+}
+
 MPERS_PRINTER_DECL(bool, fetch_bpf_fprog, struct tcb *const tcp,
                   const kernel_ulong_t addr, void *const p)
 {