Hi,

The complete definition of structure cfs_rq is in a .c file
(kernel/sched.c). In the head linux/sched.h it has been declared as
"struct cfs_rq;"
What is the purpose of doing so ?

Because of this I am facing a problem while compiling a jprobes-module
that instruments the __enqueue_entity function. When I am using the
expression "cfs_rq->load.weight", gcc complaints that "dereferencing
pointer to an incomplete type". But you will find that the cfs_rq
pointer has been dereferenced in the function i am instrumenting ...



-- 
Regards,
Sukanto Ghosh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to