Since create_module syscall is present only in kernels before Linux 2.6 and strace does not support those kernels, there is no use to keep this parser any longer.
* bjm.c (SYS_FUNC(create_module)): Remove. * linux/dummy.h (sys_create_module): Add stub alias. --- bjm.c | 8 -------- linux/dummy.h | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/bjm.c b/bjm.c index 7a72809..d7e241e 100644 --- a/bjm.c +++ b/bjm.c @@ -33,14 +33,6 @@ #include "xlat/delete_module_flags.h" -SYS_FUNC(create_module) -{ - printpath(tcp, tcp->u_arg[0]); - tprintf(", %lu", tcp->u_arg[1]); - - return RVAL_DECODED | RVAL_HEX; -} - SYS_FUNC(delete_module) { printstr(tcp, tcp->u_arg[0], -1); diff --git a/linux/dummy.h b/linux/dummy.h index 87d2127..49dcf16 100644 --- a/linux/dummy.h +++ b/linux/dummy.h @@ -134,6 +134,7 @@ /* unimplemented */ #define sys_afs_syscall printargs #define sys_break printargs +#define sys_create_module printargs #define sys_ftime printargs #define sys_get_kernel_syms printargs #define sys_getpmsg printargs -- 1.7.10.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel