[rrd-users] Re: differing disk i/o behavior for rrd update

Tobias Oetiker oetiker at ee.ethz.ch
Tue Feb 28 17:07:26 MET 2006


Hi Christian,

I do unfortunately not have much gprof experiance myself ...
one thing you will have todo in all likelyhood is to recompile
rrdtool with -g (for debug)

cheers
tobi

Today Christian Smyth wrote:

> > this could be a difference with glibc versions ...
> >
> > use gprof on the code to get more acurate information
>
> Tobi,
>
> For what its worth, on oldbox I am using glibc 2.3.4.20040808-r1.  On
> newbox I am using glibc 2.3.4-2.13.
>
> I don't know anything about gprof...I have looked over the manpage and
> tried the following command on newbox:
>
> $ gprof /usr/local/rrdtool-1.2.12/bin/rrdtool
> BFD: /usr/local/rrdtool-1.2.12/bin/rrdtool(.rel.plt): relocation 0 has
> invalid symbol index 4
> BFD: /usr/local/rrdtool-1.2.12/bin/rrdtool(.rel.plt): relocation 1 has
> invalid symbol index 5
> gmon.out: No such file or directory
>
> I don't figure this is how it is supposed to work :-)
>
> What grpof command line would you like me to use?  And I guess I have to
> re-compile rrdtool, with the "-pg" option to gcc?
>
> Sorry to be helpless, but...please help?!
>
> -cls
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list