![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| kernel call problem | sasa | UNIX for Advanced & Expert Users | 1 | 04-13-2008 07:00 PM |
| how implement a kernel call? | pedrosacosta | UNIX for Advanced & Expert Users | 1 | 02-11-2008 01:30 AM |
| max number of slabs per kernel module (kernel 2.6.17, suse) | Brendan Kennedy | Linux | 4 | 01-23-2008 05:40 AM |
| Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU | dave043 | Linux | 2 | 05-09-2007 10:57 PM |
| Making Socket System Call From Linux Kernel Module? | mian_m_hamayun | Linux | 0 | 04-06-2005 06:34 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
kernel-kernel call communication
hi all!
i have developed a mechanism in system.c to count how many times each kernel call is called. The results are held in an array in system.c . What i want to do is to create a new kernel call which will print this array. I need help in passing the array from system.c to the new kernel call. how can this be done? |
| Forum Sponsor | ||
|
|
|
|||
|
Is the array held within the kernel? Why not provide an API that returns a copy of the array to a user program which can then print it out? If so ioctl/read etc should provide examples of how to transfer data from the kernel to user memory space using a syscall.
|