[issue1714] hwpmc

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Sat Apr 3 05:02:45 PDT 2010


New submission from Alex Hornung <ahornung at gmail.com>:

I've put together Aggelos' original patches to import hwpmc from FreeBSD into 
one place. Each file is prefixed with a number indicating the order of the 
original submissions,
http://leaf.dragonflybsd.org/~alexh/hwpmc/

FWIW I think this is a nice thing to have and it would be nice if someone would 
step up to firstly make the patches apply cleanly to master, then import them as 
commits into git and if possible, make all the features work ;)

Cheers,
Alex

The original mail to submit@ was:
Hello,

this port of hwpmc ( start here: http://wiki.freebsd.org/PmcTools ) has
been stagnating on my hard disk for some months now. I'm finally
submitting it for inclusion because

a) the parts that work might be useful to someone and, more importantly,
b) complaints and bug reports might help get me off my butt and fix the
   remaining issues.

I've taken the time to split the patches so that people can review them
easily (the original freebsd code is submitted as .tgz since I'm not
interested in your review of that).

Please apply patches / extract tarballs in numerical order. I'll be a
bit surprised if there are no omissions/duplicate patches, but at least
my build test for world/kernel worked.

You will need these lines in your kernel config. See the manual pages
for usage examples.

options HWPMC_HOOKS
#device         hwpmc

Testing status:

feature                                    test status

global counting pmc                        tested, works
process counting pmc                       tested, works [0]
descendent tracking for
process counting pmc                       tested, works [0]
global sampling pmc                        possibly broken
process sampling pmc                       broken
logfile output                             untested
mapfilename                                untested
gprof execution profiles                   untested
SMP                                        untested [1]
threaded (lwp) programs                    untested

[0] May still have bugs of course, test it out!
[1] Not even compile-tested

----------
messages: 8356
nosy: alexh
priority: feature
status: unread
title: hwpmc

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1714>
_____________________________________________________






More information about the Bugs mailing list