Re: how to collect information regarding function calls in run time?

2019-05-17 Thread Pedro Terra Delboni
On Fri, May 17, 2019 at 11:09 AM Valdis Klētnieks wrote: > > On Tue, 14 May 2019 16:11:51 -0300, Pedro Terra Delboni said: > > > I agree that the question alone seems like a weird one, I just assumed > > when I wrote my first email that the explaining the motivation would >

Re: how to collect information regarding function calls in run time?

2019-05-14 Thread Pedro Terra Delboni
On Tue, May 14, 2019 at 2:46 PM Valdis Klētnieks wrote: > > On Tue, 14 May 2019 10:55:40 -0300, Pedro Terra Delboni said: > > > Regarding bpftrace: This seemed like the best option since I could use it > > to count frames of the stack with depth 2, allowing me to know precis

Re: how to collect information regarding function calls in run time?

2019-05-14 Thread Pedro Terra Delboni
). On Tue, May 14, 2019 at 11:05 AM Greg KH wrote: > On Tue, May 14, 2019 at 10:55:40AM -0300, Pedro Terra Delboni wrote: > > Sorry to revive this old thread, and thank you for the suggestions given, > > but I've been trying to make these work for my case with little succ

Re: how to collect information regarding function calls in run time?

2019-05-14 Thread Pedro Terra Delboni
> wrote: > Hi, > > On Wed, Apr 3, 2019 at 9:26 PM Pedro Terra Delboni > wrote: > > > > Hello! > > > > I have a question about profiling, please, let me know if this is not > > the right mailing list to post these kind of questions. > > > >

how to collect information regarding function calls in run time?

2019-04-03 Thread Pedro Terra Delboni
Hello! I have a question about profiling, please, let me know if this is not the right mailing list to post these kind of questions. Is there a way for me to record how many times each specific direct call to a function happened? I've seen ways of profiling the kernel that calculate how much time