From owner-freebsd-ports@FreeBSD.ORG Sun Feb 14 11:20:18 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB90F106566B for ; Sun, 14 Feb 2010 11:20:18 +0000 (UTC) (envelope-from m.seaman@black-earth.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3B95C8FC12 for ; Sun, 14 Feb 2010 11:20:17 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o1EBKCQE004593 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 14 Feb 2010 11:20:12 GMT (envelope-from m.seaman@black-earth.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o1EBKCQE004593 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=black-earth.co.uk; s=201001-black-earth; t=1266146412; bh=maZf5ha7Muz+sgWHGj/7gUEJDvF1uJ6K6PkWisr1RZY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B77DC66.5070709@black-earth.co.uk>|Date:=20Sun,=2 014=20Feb=202010=2011:20:06=20+0000|From:=20Matthew=20Seaman=20|User-Agent:=20Mozilla/5.0=20(Macintosh=3 B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.1.7) =20Gecko/20100111=20Thunderbird/3.0.1|MIME-Version:=201.0|To:=20ba rbara=20|CC:=20freebsd-ports=20|Subject:=20Re:=20smbclient=20from=20net/smbcli ent=20generates=20smbclient.gmon=20files|References:=20|In-Reply-To:=20|X-Enigmail-Version:=201. 0|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A =20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"- -----------enig92EC385982B5DC2AF2FD69E4"; b=oTMcJvbVEk2Qk4aMDvbBZViEzLaYkk2wlRXVni7NryfaRNFlw8EQB3RjFF8KzqTm5 KLN32greHPDR0Xn5oGQod5tVdbPIPB+osYWGmOiKqU+ZNbq4a1L2D53lJ454Pn3s90 vcvc/YJiP2W4xd0doQ/SZhBzzK2doOdfQo6MHJCc= Message-ID: <4B77DC66.5070709@black-earth.co.uk> Date: Sun, 14 Feb 2010 11:20:06 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: barbara References: In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig92EC385982B5DC2AF2FD69E4" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-ports Subject: Re: smbclient from net/smbclient generates smbclient.gmon files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2010 11:20:18 -0000 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--