Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2010 11:20:06 +0000
From:      Matthew Seaman <m.seaman@black-earth.co.uk>
To:        barbara <barbara.xxx1975@libero.it>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: smbclient from net/smbclient generates smbclient.gmon files
Message-ID:  <4B77DC66.5070709@black-earth.co.uk>
In-Reply-To: <KXTRM4$82340EDC005E1E088597DC01E455AEBA@libero.it>
References:  <KXTRM4$82340EDC005E1E088597DC01E455AEBA@libero.it>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig92EC385982B5DC2AF2FD69E4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 14/02/2010 09:27, barbara wrote:
> During the recent massive port upgrades, I decided to uninstall=20
> net/samba3 and install net/smb-smbclient as I need just the client=20
> component. Now I've noticed that, every times I start smbclient, a
> file named "smbclient.gmon" (about 2 mb), reported as "data" by
> file(1), is generated in the CWD. I've no idea about what is that
> file and a search on google reported 0 results. This is pretty
> annoying because I'll get a copy of this file in every directory
> where I start smbclient. This wasn't happening with smbclient built
> from net/samba3 and just before the upgrade smb-smbclient has been
> updated from 3.0 to 3.4, so I'm wondering if this behavior depends on
> the version or on the port (samba3* vs samba-smbclient). But what
> really matters is how can it stop it creating this file?

You've somehow got profiling turned on.  See gprof(1) for the full
details, but in short, what you are seeing is a record of what
functions are called in your application, how long is spent within each
function and the linkage between called and calling functions.  It is
of no conceivable use to you unless you are working on the development
of smbclient.

Profiling is turned on by adding -pg to the compiler flags when the
application is built. Check your /etc/make.conf for suspicious entries.
Eliminate wherever -pg comes from and rebuild smbclient to get rid of
the problem.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.              7 Priory Courtyard, Flat 3
Black Earth Consulting                       Ramsgate
                                             Kent, CT11 9PW
Free and Open Source Solutions               Tel: +44 (0)1843 580647


--------------enig92EC385982B5DC2AF2FD69E4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt33GwACgkQ8Mjk52CukIwcfgCeOTyKlin4MlRm37ytX9szrM9z
x94An2MrHYTNZvYdUz/ccAmzqa7CjAxt
=IcRd
-----END PGP SIGNATURE-----

--------------enig92EC385982B5DC2AF2FD69E4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B77DC66.5070709>