Re: How can I 'getchar()' in module code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux