[collectd] cpu stats on SMP machines

Doug MacEachern Doug.MacEachern at springsource.com
Thu Oct 1 02:32:18 CEST 2009


Hi Bill,

Same here: http://hudson.hyperic.com/job/collectd-master-amd64-freebsd-7.2/75/console
Compiles with the attached patch, the tarball will be updated when the  
fix makes it into octo's master branch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-include-netinet-in.h-for-sockaddr_in-on-FreeBSD.patch
Type: application/octet-stream
Size: 788 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090930/95e5fbf1/attachment.obj 
-------------- next part --------------


On Sep 30, 2009, at 4:33 PM, Bill Harris wrote:

> Doug,
>
> Well, I pulled that master tar down, but got dereference error..
>
> mv -f .deps/collectd-collectd.Tpo .deps/collectd-collectd.Po
> gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/usr/local"'
> -DCONFIGFILE='"/usr/local/etc/collectd.conf"'
> -DLOCALSTATEDIR='"/usr/local/var"'
> -DPKGLOCALSTATEDIR='"/usr/local/var/lib/collectd"'
> -DPIDFILE='"/usr/local/var/run/collectd.pid"'
> -DPLUGINDIR='"/usr/local/lib/collectd"'
> -DPKGDATADIR='"/usr/local/share/collectd"' -I../libltdl  -Wall - 
> Werror  -g
> -O2 -MT collectd-common.o -MD -MP -MF .deps/collectd-common.Tpo -c -o
> collectd-common.o `test -f 'common.c' || echo './'`common.c
> common.c: In function 'service_name_to_port_number':
> common.c:1112: error: dereferencing pointer to incomplete type
> common.c:1119: error: dereferencing pointer to incomplete type
> *** Error code 1
>
> Stop in /usr/local/work/collectd-4.8.0.115.gbde5a2c/src.
> *** Error code 1
>
>
> Bill
>
>
>
>
> On 9/30/09 12:16 PM, "Doug MacEachern" <Doug.MacEachern at springsource.com 
> >
> wrote:
>
>> Hi Bill,
>>
>> Looks like Florian has merged the branch, so you can test using the
>> git master branch: http://collectd.org/dev-info.shtml
>> You need to run ./build.sh to generate the configure script.
>>
>> Or, you can use the .tar.gz created from that branch generated from
>> "make dist":
>> http://hudson.hyperic.com/job/collectd-master-dist/lastSuccessfulBuild/artifac
>> t/collectd-master-current.tar.gz
>>
>> On Sep 28, 2009, at 4:43 PM, Bill Harris wrote:
>>
>>> Doug,
>>>
>>> I'm looking at the branch, but a little confused, not having used
>>> subversion or these development tools.. ( not difficult with me)..
>>> Do I
>>> overlay this branch on top of a master?  It extracted, but it's
>>> it looks incomplete with missing Configure etc..
>>>
>>> Do I need to overlay this branch onto a development branch (not the
>>> released 4.8 code)?
>>>
>>> Bill
>>>
>>>
>>> On 9/25/09 3:43 PM, "Doug MacEachern" <Doug.MacEachern at springsource.com
>>>> w
>>>> Hi Florian,
>>>>
>>>> I pushed a branch with the changes here:
>>>> http://github.com/dougm/collectd/tree/kern_cp_times
>>>> And tested on the systems below.  Bill, let us know if you have a
>>>> chance to test.
>>>>
>>>> -Doug
>>>
>>>
>>
>
>



More information about the collectd mailing list