Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2008 11:58:05 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Stefan Lambrev <stefan.lambrev@moneybookers.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: gettimeofday() in hping
Message-ID:  <47986F3D.4050905@FreeBSD.org>
In-Reply-To: <47986BEB.4040201@moneybookers.com>
References:  <4795CC13.7080601@moneybookers.com>	<868x2i3v8d.fsf@ds4.des.no>	<864pd63v2h.fsf@ds4.des.no>	<4795FE54.9090606@moneybookers.com>	<86lk6i0vzk.fsf@ds4.des.no>	<479605E2.6070709@moneybookers.com>	<479621BE.2060907@FreeBSD.org>	<4796357B.9020508@moneybookers.com>	<47963911.4000002@FreeBSD.org>	<47965072.7030700@moneybookers.com>	<47965112.5020009@FreeBSD.org> <4797265A.3020409@moneybookers.com> <47979264.2020808@FreeBSD.org> <47986BEB.4040201@moneybookers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Lambrev wrote:

>> You also need changes to the userland libpmc and pmcstat.  They should 
>> also be in that (or related) p4 changeset though.
> Those are the files that I fetched from p4
> 
> /usr/src/lib/libpmc/libpmc.c - rev2
> /usr/src/sys/amd64/include/pmc_mdep.h rev2
> /usr/src/sys/dev/hwpmc/hwpmc_x86.c rev2
> /usr/src/sys/modules/hwpmc/Makefile rev3
> 
> but I rebuild only kernel - I'll try to rebuild everything :)
> do you think this will help getting hwpmc working?

I can only say that it mostly works for me :)

> Btw I have hwpmc working on other machine (it's with FreeBSD 
> 6.3-prerelease).
> Can you tell me what stats exactly you need from running hping?

A gprof trace with the -S instructions counter should be enough to get 
oriented.

Kris





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47986F3D.4050905>