Performance Counter Tools?

Sepherosa Ziehau sepherosa at gmail.com
Sun Apr 26 19:06:19 PDT 2015


On Fri, Apr 24, 2015 at 10:28 AM, Alex Merritt <merritt.alex at gmail.com> wrote:
> 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?


I think it could be cherry-picked to 4.0.x branch.

Best Regards,
sephe


>
> 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
>
>



-- 
Tomorrow Will Never Die



More information about the Users mailing list