Re: [RFC][PATCH 2/2] tracing/x86: basic implementation of syscalltracing for x86-64

From: Ingo Molnar
Date: Fri Mar 13 2009 - 12:37:35 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> * Frederic Weisbecker (fweisbec@xxxxxxxxx) wrote:
>
> > Provide the ptrace hooks and arch specific syscall numbers
> > to ftrace arch indepedant syscall numbers. For now it only
> > supports 4 syscalls to provide an example.
> >
>
> Hi Frederic,
>
> I already have the equivalent TIF_KERNEL_TRACE flag in my
> LTTng tree added to every Linux architecture. You might want
> to re-use this work rather than re-doing this. I don't mind
> changing the flag name.

Yeah. Note that the TIF bits are just one part - there are other
bits needed for HAVE_FTRACE_SYSCALLS arch support.

Also, i'd eventually expect the TIF bits to be converted to a
tracehook callback, not spread it to other architectures.

Ingo
--
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/