Performance Counter Tools?

Alex Merritt merritt.alex at gmail.com
Thu Apr 23 19:28:07 PDT 2015


Sephe,

Thanks, I searched for quite a bit before discovering this module is not in
the 4.0.* release or the 4-branch. It only exists in the master branch.

Would it be safe to cherry-pick those specific commits to the 4.0 RELEASE
head?

Thanks,
Alex

On Thu, Apr 23, 2015 at 9:28 PM, Sepherosa Ziehau <sepherosa at gmail.com>
wrote:

> On Fri, Apr 24, 2015 at 2:32 AM, Alex Merritt <merritt.alex at gmail.com>
> wrote:
> > Hello,
> >
> > Can anyone point me to tools that run on DragonFly which access CPU
> > performance counters? Tools like likwid run only on Linux, requiring the
> > "msr" kernel module (arch/x86/kernel/msr.c), or others use some
> > Linux-specific APIs, such as perf_events (the Perf tool).
> >
> > If there are none, what would be required to support one of the common
> > tools? Could we port the MSR API from Linux (even as a hack, initially)?
>
> We have cpuctl module, which could used by userland to access MSRs.
>
> Best Regards,
> sephe
>
> --
> Tomorrow Will Never Die
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20150423/d1ebd2fb/attachment-0007.html>


More information about the Users mailing list