[PATCH] Implement uhook(call kernel func from userspace) driver

Peiyong Feng peiyong.feng.kernel at gmail.com
Sat Jun 23 13:58:27 UTC 2012


2012/6/23 Cong Wang <xiyou.wangcong at gmail.com>:
> On Sat, Jun 23, 2012 at 2:01 PM, Peiyong Feng
> <peiyong.feng.kernel at gmail.com> wrote:
>>
>> I mean that although the main line kernel cannot accept this patch, and
>> uhook is very useful to play a rule as a debug tool.
>
> It depends, we already have kprobe, tracepoint, kgdb, kdump...

May be I am not make myself understood. The uhook is not like kgdb, kprobe or
some other debug tools. As I mentioned in previous mail that we can
run the kernel
ksymbal while kernel is running, not like the kgdb that need some
hardware driver support
(lots of problems occurred when I try kgdb),

uhook is more "soft", it just provide a way that can call kernel
routine or ksymbals Asynchronously.

Easy but efficent. I have used it to develop device drivers, very
nice, and not every platform or board support
kgdb.
>
>> Is there some where else
>> that can hold this tool, and let more people use the uhook?
>
> You have github, don't you?



More information about the devel mailing list