how to detect the state change for all the processes?

From: wessly x
Date: Tue Oct 14 2003 - 04:00:59 EST


How to write a module to detect the state change (from
sleeping to running state) for all the processes in my
Linux system. Anyone know how to do that? A process
state will change from sleeping to running state
after a system call (wake_up_process()), is there a
way so that my module can catch this system call , so
that i can get the pid of the process which
experienced a state changed?

Due to the remove of sys_call__table[], so i need
other way to doit...... pls comment


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/