diff options
author | Mart Raudsepp <leio@gentoo.org> | 2009-01-26 03:21:37 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2009-01-26 03:21:37 +0000 |
commit | 43ca7ab4d7a9a2bafe40b7d380bc99e1b59d8f19 (patch) | |
tree | 207f58f0d6a5ab424cae9e85ce530356cb8dae35 /dev-util | |
parent | QA fixes as per bug #255837 thanks kevin.pyle (diff) | |
download | gentoo-2-43ca7ab4d7a9a2bafe40b7d380bc99e1b59d8f19.tar.gz gentoo-2-43ca7ab4d7a9a2bafe40b7d380bc99e1b59d8f19.tar.bz2 gentoo-2-43ca7ab4d7a9a2bafe40b7d380bc99e1b59d8f19.zip |
Add einfo about frame pointers and the lack of them affecting sysprof usefulness.
(Portage version: 2.2_rc22/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/sysprof/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/sysprof/sysprof-1.0.12.ebuild | 16 |
2 files changed, 20 insertions, 4 deletions
diff --git a/dev-util/sysprof/ChangeLog b/dev-util/sysprof/ChangeLog index e2c5bd15782f..0fe102241620 100644 --- a/dev-util/sysprof/ChangeLog +++ b/dev-util/sysprof/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/sysprof -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.13 2008/12/26 03:25:32 leio Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.14 2009/01/26 03:21:37 leio Exp $ + + 26 Jan 2009; Mart Raudsepp <leio@gentoo.org> sysprof-1.0.12.ebuild: + Add einfo about frame pointers and the lack of them affecting sysprof + usefulness. 26 Dec 2008; Mart Raudsepp <leio@gentoo.org> -sysprof-1.0.8.ebuild, -sysprof-1.0.9.ebuild, -sysprof-1.0.10.ebuild: diff --git a/dev-util/sysprof/sysprof-1.0.12.ebuild b/dev-util/sysprof/sysprof-1.0.12.ebuild index 34f067fdfdc3..11411251ecd7 100644 --- a/dev-util/sysprof/sysprof-1.0.12.ebuild +++ b/dev-util/sysprof/sysprof-1.0.12.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.0.12.ebuild,v 1.1 2008/12/10 23:52:19 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.0.12.ebuild,v 1.2 2009/01/26 03:21:37 leio Exp $ inherit eutils linux-mod @@ -41,3 +41,15 @@ src_install() { dodoc AUTHORS ChangeLog NEWS README TODO make_desktop_entry sysprof Sysprof sysprof-icon } + +pkg_postinst() { + einfo "On many systems, especially amd64, it is typical that with a modern" + einfo "toolchain -fomit-frame-pointer for gcc is the default, because" + einfo "debugging is still possible thanks to gcc4/gdb location list feature." + einfo "However sysprof is not able to construct call trees if frame pointers" + einfo "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested" + einfo "for the libraries and applications involved in the profiling. That" + einfo "means a CPU register is used for the frame pointer instead of other" + einfo "purposes, which means a very minimal performance loss when there is" + einfo "register pressure." +} |