Messages in this thread | | | Date | Wed, 27 Apr 2011 08:43:42 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 1/1] perf tools: Add missing user space support for config1/config2 |
| |
* Vince Weaver <vweaver1@eecs.utk.edu> wrote:
> On Tue, 26 Apr 2011, Peter Zijlstra wrote: > > > > That's why people use libpfm4. or PAPI. And they do. > > > > And how is typing in hex numbers different from typing in model specific > > event names? > > Reall... quick, tell me what event 0x53cf28 corresponds to on a core2. > > Now if I said L2_IFETCH:BOTH_CORES you know several things about what it is.
Erm, that assumes you already know that magic incantation. Most of the users who want to do measurements and profiling do not know that. So there's little difference between:
- someone shows them the 0x53cf28 magic code - someone shows them the L2_IFETCH:BOTH_CORES magic symbol
So you while hexa values have like 10% utility, the stupid, vendor-specific event names you are pushing here have like 15% utility.
In perf we are aiming for 100% utility, where if someone knows something about CPUs and can type 'cycles', 'instructions' or 'branches', will get the obvious result.
This is not a difficult usability concept really.
Thanks,
Ingo
| |