Messages in this thread | | | Date | Tue, 14 Oct 2003 02:00:07 -0700 (PDT) | From | wessly x <> | Subject | how to detect the state change for all the processes? |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |