From: Manuel Selva <selva.manuel@gmail.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Link between Intel documentation events and perf list events
Date: Wed, 03 Jul 2013 16:02:50 +0200 [thread overview]
Message-ID: <51D42F0A.70806@gmail.com> (raw)
In-Reply-To: <20130703132844.GJ6123@two.firstfloor.org>
Thanks, the correct program is reporting all events as available.
Manu
On 07/03/2013 03:28 PM, Andi Kleen wrote:
> #include <cpuid.h>
> #include <stdio.h>
> int main()
> {
> unsigned a, b, c, d;
> /* check __get_cpuid_max here */
> __cpuid(10, a, b, c, d);
> printf("eax: %x ebx %x ecx %x edx %x\n", a, b, c, d);
> int i;
> for (i = 0; i < 10; i++)
> if (b & (1 << i))
> printf("event %d not supported\n", i);
> return 0;
> }
next prev parent reply other threads:[~2013-07-03 14:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 16:10 Link between Intel documentation events and perf list events Manuel Selva
2013-07-02 3:55 ` Andi Kleen
2013-07-02 7:53 ` Manuel Selva
2013-07-02 12:39 ` Andreas Hollmann
2013-07-02 13:33 ` Manuel Selva
2013-07-02 14:49 ` Andi Kleen
2013-07-03 9:06 ` Manuel Selva
2013-07-03 13:28 ` Andi Kleen
2013-07-03 14:02 ` Manuel Selva [this message]
[not found] ` <51D28568.8070904@insa-lyon.fr>
2013-07-02 14:41 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51D42F0A.70806@gmail.com \
--to=selva.manuel@gmail.com \
--cc=andi@firstfloor.org \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.