On 2013年12月03日 20:35, 乃宏周 wrote: > For debugging purpose, I want something like 'getchar()' that can pause execution in the module code. Do any candidates I can choose? > Create a /proc/knob to turn on or off your code path flow on fly, instead of using user space getchar. Otherwise, you should looking into other more promising debug method. > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- 浮沉随浪只记今朝笑 --fan fan _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies