Are there any API's to create ring buffers easily in kernel?

sanjeev sharma sanjeevsharmaengg at gmail.com
Mon Mar 2 05:33:55 EST 2015


Hello,

Ring buffer you can implement using kfifo

Regards
Sanjeev Sharma

On Mon, Mar 2, 2015 at 3:54 PM, manty kuma <mantykuma at gmail.com> wrote:

> Hi,
>
> Are there any ready-to-use API's in kernel to allocate a ring buffer and
> give some prints into it (I don't want to corrupt kernel log)?
>
> Best Regards,
> Manty
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150302/b3fd740c/attachment.html 


More information about the Kernelnewbies mailing list