Re: [PATCH] LTT for SH4
"Giuseppe Cavallaro" <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <[email protected]> |
The patch in attachment adds (in the lttng 0.9.10) the ltt_trace_generic and ltt_register_generic syscalls for SH4. _______________________________________________ Ltt-dev mailing list [email protected] http://listserv.shafik.org/mailman/listinfo/ltt-dev
lttng-userspace-tracing-sh.patch
(application/octet-stream, 714 B)
--- linux/include/asm-sh/unistd.h.orig 2007-07-09 15:10:03.000000000 +0200 +++ linux/include/asm-sh/unistd.h 2007-07-09 15:11:27.000000000 +0200 @@ -332,8 +332,10 @@ #define __NR_signalfd 321 #define __NR_timerfd 322 #define __NR_eventfd 323 +#define __NR_ltt_trace_generic 324 +#define __NR_ltt_register_generic 325 -#define NR_syscalls 324 +#define NR_syscalls 326 #ifdef __KERNEL__ --- linux/arch/sh/kernel/syscalls.S.orig 2007-07-09 15:12:01.000000000 +0200 +++ linux/arch/sh/kernel/syscalls.S 2007-07-09 15:13:36.000000000 +0200 @@ -358,3 +358,5 @@ ENTRY(sys_call_table) .long sys_signalfd .long sys_timerfd .long sys_eventfd + .long sys_ltt_trace_generic + .long sys_ltt_register_generic