Re: tutorials

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, Mar 30, 2010 at 1:05 PM, Onkar Mahajan <kern.devel@xxxxxxxxx> wrote:
Hi Kernelnewbies,
        Please suggest me a good tutorial for learning basic kernel
programming stuff. Basics such as :
(1) Sending data from kernel => user land
(2) How to trace function calls in kernel ?

This should help:
http://en.tldp.org/LDP/khg/HyperNews/get/khg.html

there are apis like copy_to_user and copy_from_user, refer ldd or google it.

then strace can give u trace of all calls.
there are some more ways: please read Robert love or inside kernel/Documentation directory few methods are listed

-Anuz
--
People ask the question... what's a RocknRolla? And I tell 'em - it's not about drums, drugs, and hospital drips, oh no. There's more there than that, my friend. We all like a bit of the good life - some the money, some the drugs, other the sex game, the glamour, or the fame. But a RocknRolla, oh, he's different. Why? Because a real RocknRolla wants the fucking lot.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux