![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| kernel call problem | sasa | UNIX for Advanced & Expert Users | 1 | 04-13-2008 10:00 PM |
| how implement a kernel call? | pedrosacosta | UNIX for Advanced & Expert Users | 1 | 02-11-2008 05:30 AM |
| max number of slabs per kernel module (kernel 2.6.17, suse) | Brendan Kennedy | SuSE | 4 | 01-23-2008 09:40 AM |
| Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU | dave043 | Linux | 2 | 05-10-2007 01:57 AM |
| Making Socket System Call From Linux Kernel Module? | mian_m_hamayun | Linux | 0 | 04-06-2005 09:34 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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? |
|
||||
|
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.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|