On Mon, Mar 14, 2016 at 11:48:41AM +0800, jayakrishnan mm wrote:
> Hi
> 
> I want to profile  some part of the  source  code  in glsuterfs. Can
> anybody  suggest some  tool ?

For source code, you probably want to look into "strace -c" or its
"ltrace" equivalent. Perf would also be an option.

If the code tends to be network related, I suggest capturing the traffic
with tcpdump and inspecting with Wireshark. The "tshark" commandline
tool also has great features like "-z rpc,srt,..." for showing the
Servise Response Time.

There is also "gluster volume top" and "gluster volume profile" you may
want to check.

HTH,
Niels

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gluster-devel mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to