Re: [PATCH 4/6] ftrace syscalls: Allow arch specific syscallsymbol matching
From: Steven Rostedt
Date: Tue Dec 07 2010 - 00:18:14 EST
On Tue, 2010-12-07 at 16:06 +1100, Ian Munsie wrote:
> Excerpts from Mike Frysinger's message of Tue Dec 07 15:56:49 +1100 2010:
> > useless set of parenthesis, and this overhead sucks. weak +
> > additional function call just for a strcmp for most people ? why not
> > make it into a define in the header:
> > #ifndef arch_syscall_match_sym_name
> > #define arch_syscall_match_sym_name(sym, name) !strcmp(sym + 3, name + 3)
Make it a static inline function please.
-- Steve
> > #endif
> > -mike
>
> No problem, will change it.
>
> Cheers,
> -Ian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/