[prev in list] [next in list] [prev in thread] [next in thread]
List: samba-technical
Subject: Re: Running GPROF on Samba
From: Ralph =?utf-8?B?QsO2aG1l?= <rb () sernet ! de>
Date: 2015-03-01 18:38:33
Message-ID: E1YS8vj-0093uT-BG () intern ! SerNet ! DE
[Download RAW message or body]
On Sun, Mar 01, 2015 at 04:21:51PM +0000, Richard Schmitt wrote:
> I've seen some old discussion on profiling but nothing recent. Is
> there a procedure for running gprof on Samba? I've added the
> appropriate flags to the Makefiles and do get a gmon.out file but I
> suspect my issue is that I am not cleanly shutting down Samba when I
> wish to collect the profile data. Is there a way to cleanly shut
> down Samba? Or are there some other suggestions on how to collect
> gprof data on smbd.
>
> What I really want to get is a call graph when running various
> benchmarks.
Can't help with gprof, but there's Flamegraph which can use output
from perf:
<https://github.com/brendangregg/FlameGraph>
<http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html>
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic