Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tres Melton <tres@mindspring.com>
To: gdb-patches@sources.redhat.com
Cc: John Mylchreest <johnm@gentoo.org>
Subject: gprof & Linux interaction oddity
Date: Sun, 24 Jul 2005 20:57:00 -0000	[thread overview]
Message-ID: <1122238617.10644.44.camel@thor.tres.org> (raw)

Gentlemen,

	There is an issue with gprof and getting the current OS' Hz from the
elf header in Linux via sysconf().  That value is always set to 100 Hz
and it is playing games with profiling code. I have been in contact with
a number of the kernel developers and we are preparing to take this
issue to the LKML.  There is a bug on RedHat's bugzilla regarding this
issue and a more detailed report in Gentoo's bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=90090
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151763

	Most of the developers that I have spoken with, including Andrew Morton
and John Mylchreest, are in favor of correcting this issue but Linus has
previously ruled against it.  We are hoping that he will reconsider
since the merging of the configurable user hz patch in 2.6.13-rc3.

	One of the developers, Robert Love, has responded:  "Explain why gprof
needs to know the _actual_ timing tick."  I was hoping that you could
help me with that.

Thanks for your help,
-- 
Tres


             reply	other threads:[~2005-07-24 20:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-24 20:57 Tres Melton [this message]
2005-07-24 20:58 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1122238617.10644.44.camel@thor.tres.org \
    --to=tres@mindspring.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=johnm@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox