Re: [PATCH] tracer for sys_open() - sreadahead
From: Frédéric Weisbecker
Date: Thu Jan 29 2009 - 09:41:16 EST
2009/1/29 Ingo Molnar <mingo@xxxxxxx>:
>>
>> Several people talked me about utrace and gave some examples about it in
>> this discussion. The Api is very convenient to fetch syscall numbers,
>> arguments and return values. And the hooks are done in the generic core
>> code, so it is arch independent.
>>
>> The only drawback I can see is that it is not yet merged upstream, in
>> need of in-kernel users. If it only depends on this condition, we could
>> be these users...
>>
>> What do you think?
>
> sure - how do the minimal bits/callbacks look like which enable syscall
> tracing?
>
> Ingo
There is a very straightforward example provided by Ananth in there:
http://lkml.org/lkml/2009/1/28/59
--
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/