Re: [ovs-dev] [PATCH V5] Function tracer to trace all function calls

2016-06-15 Thread Daniele Di Proietto
2016-06-15 6:37 GMT-07:00 Ryan Moats : > "dev" wrote on 06/14/2016 08:58:33 PM: > > > From: Daniele Di Proietto > > To: Nirapada Ghosh/San Jose/IBM@IBMUS > > Cc: "dev@openvswitch.org" > > Date: 06/14/2016 08:59 PM > > Subject: Re: [o

Re: [ovs-dev] [PATCH V5] Function tracer to trace all function calls

2016-06-15 Thread Daniele Di Proietto
not aligh with the ovn-northd implementation. Did I > miss anything > when compiling openvswitch source code (I used default ./configure; make > to generate > the ovn-northd execuable)? Thanks. > > - Hui > > > From: Daniele Di Proietto > > To: Nirapada Ghosh/San J

Re: [ovs-dev] [PATCH V5] Function tracer to trace all function calls

2016-06-15 Thread Ryan Moats
"dev" wrote on 06/14/2016 08:58:33 PM: > From: Daniele Di Proietto > To: Nirapada Ghosh/San Jose/IBM@IBMUS > Cc: "dev@openvswitch.org" > Date: 06/14/2016 08:59 PM > Subject: Re: [ovs-dev] [PATCH V5] Function tracer to trace all function calls > Sen

Re: [ovs-dev] [PATCH V5] Function tracer to trace all function calls

2016-06-14 Thread Hui Kang
./configure; make to generate the ovn-northd execuable)? Thanks. - Hui > From: Daniele Di Proietto > To: Nirapada Ghosh/San Jose/IBM@IBMUS > Cc: "dev@openvswitch.org" > Date: 06/14/2016 09:58 PM > Subject: Re: [ovs-dev] [PATCH V5] Function tracer to trace all function calls

Re: [ovs-dev] [PATCH V5] Function tracer to trace all function calls

2016-06-14 Thread Daniele Di Proietto
Hi Nirapada, When optimizing for the DPDK datapath we have a very similar problem and, usually, running a simple profiler like perf ( https://perf.wiki.kernel.org/index.php/Main_Page) is enough to highlight the bottlenecks in terms of CPU usage. Have you tried perf? Does this infrastructure provi

[ovs-dev] [PATCH V5] Function tracer to trace all function calls

2016-06-14 Thread nghosh
In some circumstances, we might need to figure out where in code, the CPU time is being spent most, so as to pinpoint the bottleneck and thereby resolve it with proper changes. Using '-finstrument-functions' flag, that can be achieved, and this patch exactly does that. There is a python file [gene