lkml.org 
[lkml]   [2011]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2011-04-27 08:47    [W:2.536 / U:0.332 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site