Re: Accessing CPU performance counters from user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 25, 2009 at 4:28 PM, sandeep lahane<sandeep.lahane@xxxxxxxxx> wrote:
> Hi All,
>
> Is it possible to access cpu performance counters from user space?
> AFAIK, it is not possible.
> I am aware of various attempts like perfmon and perfctr patch set.
> Looks like a kernel module is
> mandatory to access these registers. My objective is to measure
> various parameters like number
> instructions retired, number of cache misses, number of brach mis
> predictions etc.
>
> I know of an alternative way to count the number of instructions by
> using ptrace but I think this approach
> is very slow.
>
> Regards,
> Sandeep.
>

I meant Perfsuite and perfctr, not perfmon.
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux