* gprof & Linux interaction oddity
@ 2005-07-24 20:57 Tres Melton
2005-07-24 20:58 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Tres Melton @ 2005-07-24 20:57 UTC (permalink / raw)
To: gdb-patches; +Cc: John Mylchreest
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gprof & Linux interaction oddity
2005-07-24 20:57 gprof & Linux interaction oddity Tres Melton
@ 2005-07-24 20:58 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-07-24 20:58 UTC (permalink / raw)
To: Tres Melton; +Cc: gdb-patches, John Mylchreest
Gprof has nothing to do with GDB, sorry.
On Sun, Jul 24, 2005 at 02:56:57PM -0600, Tres Melton wrote:
> 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.
I am inclined to agree with Robert, but I haven't investigated in
depth, and don't care to.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-24 20:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-24 20:57 gprof & Linux interaction oddity Tres Melton
2005-07-24 20:58 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox