On Tue, Mar 03, 2015 at 11:07:21AM +0530, sahil aggarwal wrote:
Hi all
Do anybody have experience using Perf API and Ftrace.? I am writing an
application to profile a process and using Ftrace. But came to know
that Perf provide API too so looking for some facts to benchmark
efficiency.
On Sat, Feb 28, 2015 at 10:12:23PM +0200, Cihangir Akturk wrote:
Reading the lib/llist.c file in the kernel sources, I came across
the llist_add_bach function defined like this;
bool llist_add_batch(struct llist_node *new_first, struct llist_node
*new_last,
struct
Hi all
Do anybody have experience using Perf API and Ftrace.? I am writing an
application to profile a process and using Ftrace. But came to know
that Perf provide API too so looking for some facts to benchmark
efficiency.
Thanks
Sahil
Regards
___
On Tue, Mar 3, 2015 at 11:51 AM, John de la Garza j...@jjdev.com wrote:
On Sat, Feb 28, 2015 at 10:12:23PM +0200, Cihangir Akturk wrote:
Reading the lib/llist.c file in the kernel sources, I came across
the llist_add_bach function defined like this;
bool llist_add_batch(struct llist_node
Hello,
Ring buffer you can implement using kfifo
Regards
Sanjeev Sharma
On Mon, Mar 2, 2015 at 3:54 PM, manty kuma mantyk...@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
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@kernelnewbies.org
Hi Manty
On Mon, Mar 2, 2015 at 3:24 AM, manty kuma mantyk...@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)?
Have you seen circ_buff? Documentation/circular-buffers.txt
Best