Hi Bobby,
You can use systemtap script to get this, use Statistical Aggregates.
my systemtap github: https://github.com/gmayyyha/stap-tools
e.g.
func-latency.stp
-
@define BIN_MDS %( "/tiger/source/ceph/build/bin/ceph-mds" %)
global ms
global count
global latency
probe pr
And to put it more precisely, I would like to figure out how many times
this particular function is called during the execution of the program?
BR
Bobby !
On Tue, Jul 21, 2020 at 1:24 PM Bobby wrote:
>
> Hi,
>
> I am trying to profile the number of invocations to a particular function
> in Cep