[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100701195439.GJ4078@ghostprotocols.net>
Date: Thu, 1 Jul 2010 16:54:40 -0300
From: Arnaldo Carvalho de Melo <acme@...hat.com>
To: Vince Weaver <vweaver1@...s.utk.edu>
Cc: Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>
Subject: Re: [PATCH] perf wrong branches event on AMD
Em Thu, Jul 01, 2010 at 03:30:16PM -0400, Vince Weaver escreveu:
> Hello
>
> while doing some performance counter validation tests on some assembly
> language programs I noticed that the "branches:u" count was very wrong on
> AMD machines.
>
> It looks like the wrong event was selected.
>
> This is why event selection needs to be in user-space... it could be fixed
> instantly there, but the way things are done now it will take months to
> years for this fix to filter down to those trying to use perf counters...
Well, you can use:
rNNN (see 'perf list --help' on how to encode it) [Raw hardware event descriptor]
In the meantime.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists